4 ms·
That benchmark measures only the computation of the whole diagram -- which is the sole purpose of the library. The rendering, if any, is left to the caller afte
by gorhill 13y ago
That benchmark measures only the computation of the whole diagram -- which is the sole purpose of the library. The rendering, if any, is left to the caller after the diagram has been wholly computed, so there was no point for me to measure that part.
- bzbarsky 13y agoGotcha. I filed https://bugzilla.mozilla.org/show_bug.cgi?id=985262 https://bugzilla.mozilla.org/show_bug.cgi?id=985262 on this; if there happens to be a standalone version of this benchmark that skips all the canvas stuff that would be pretty helpful.