Skip to content

Instantly share code, notes, and snippets.

@laughinghan
Last active December 19, 2015 10:09
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/5938498 to your computer and use it in GitHub Desktop.
Save laughinghan/5938498 to your computer and use it in GitHub Desktop.
Typical profiling logs as of mathquill/mathquill@e07bd0e
3: [3µs] about to do this.each (jQuery.fn.each)
14: [11µs] entered this.each, about to do .attr and MathElement[] lookup
40: [26µs] done, there is a block!
41: [1µs] got jQ, about to empty except for textarea
233: [192µs] emptied jQ, aboout to postOrder dispose
442: [209µs] postOrder-ed dispose, about to delete children from edit tree
445: [3µs] inserting cursor at right end
732: [287µs] inserted crsor, this.cursor.writeLatex()
874: [142µs] notified 'edit'
1531: [657µs] parsed latex
1613: [82µs] adopted into edit tree
2804: [1191µs] jQize-d
2907: [103µs] inserted before cursor jQ
3554: [647µs] block.finalizeInsert()
3561: [7µs] bubbled redraw
3588: [27µs] wrote the latex
3588: [0µs] did block.renderLatex(latex), about to maybe blur
3589: [1µs] done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment