Skip to content

Instantly share code, notes, and snippets.

@laughinghan
Created May 27, 2013 03:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save laughinghan/5655044 to your computer and use it in GitHub Desktop.
Save laughinghan/5655044 to your computer and use it in GitHub Desktop.
before
72: [72µs] about to do this.each (jQuery.fn.each)
87: [15µs] entered this.each, about to do .attr and MathElement[] lookup
117: [30µs] done, there is a block!
120: [3µs] got cursor, about to do cursor.clearSelection()
124: [4µs] did cursor.clearSelection(), about to do block.renderLatex(latex)
128: [4µs] got jQ, about to empty except for textarea
307: [179µs] emptied jQ, about to delete children from edit tree
311: [4µs] appending cursor
616: [305µs] appended cursor, this.cursor.writeLatex()
621: [5µs] cleared upDown cache
749: [128µs] shown cursor and deleted selection
888: [139µs] parsed latex
897: [9µs] adopted into edit tree
965: [68µs] generated html
1418: [453µs] jQize-d
1499: [81µs] inserted before cursor jQ
1637: [138µs] block.finalizeInsert()
1645: [8µs] bubbled redraw
1649: [4µs] wrote the latex
1654: [5µs] did block.renderLatex(latex), about to maybe blur
1698: [44µs] blurred block, about to triggerSpecialEvent('render')
1712: [14µs] done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment