Skip to content

Instantly share code, notes, and snippets.

@laughinghan
Created May 25, 2013 06:46
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/5648183 to your computer and use it in GitHub Desktop.
Save laughinghan/5648183 to your computer and use it in GitHub Desktop.
before
//timestamp: [time difference from previous] message
34: [34µs] about to do this.each (jQuery.fn.each)
62: [28µs] entered this.each, about to do .attr and MathElement[] lookup
118: [56µs] done, there is a block!
122: [4µs] got cursor, about to do cursor.clearSelection()
130: [8µs] did cursor.clearSelection(), about to do block.renderLatex(latex)
139: [9µs] got jQ, about to empty except for textarea
554: [415µs] emptied jQ, about to delete children from edit tree
566: [12µs] appending cursor
795: [229µs] appended cursor, this.cursor.writeLatex()
801: [6µs] cleared upDown cache
965: [164µs] shown cursor and deleted selection
1465: [500µs] parsed latex
1484: [19µs] adopted into edit tree
1607: [123µs] generated html
2242: [635µs] jQize-d
2356: [114µs] inserted before cursor jQ
2365: [9µs] entered finalizeInsert
2521: [156µs] postOrder-ed finalizeTree
2539: [18µs] postOrder-ed nonexistentMethod
2561: [22µs] postOrder-ed blur
2615: [54µs] postOrder-ed respace
2621: [6µs] maybe self.next.respaced
2625: [4µs] maybe self.prev.respaced
2636: [11µs] postOrder-ed redraw
2646: [10µs] bubble-d redraw
2651: [5µs] block.finalizeInsert()
2661: [10µs] bubbled redraw
2662: [1µs] wrote the latex
2664: [2µs] did block.renderLatex(latex), about to maybe blur
2741: [77µs] blurred block, about to triggerSpecialEvent('render')
2755: [14µs] done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment