4 ms·
Same there (try 10000 sites, click "Benchmark"): http://www.raymondhill.net/voronoi/rhill-voronoi-demo1.html http://www.raymondhill.net/voronoi/rhill-voronoi-d
by gorhill 13y ago
Same there (try 10000 sites, click "Benchmark"):
http://www.raymondhill.net/voronoi/rhill-voronoi-demo1.html http://www.raymondhill.net/voronoi/rhill-voronoi-demo1.html
The difference has narrowed though, FF used to be much, much slower than chromium.
- bzbarsky 13y agoI can definitely see a difference on this one, yes, about 30%. A question. Does "rendering not included" mean not including painting times, or not including the canvas API call times either? My profiler is showing a bunch of fill(), rect(), stroke(), moveTo() calls dominating the wall-clock time, but I'm not sure whether those are what's being measured here or not.
- gorhill 13y agoThat 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.