4 ms·
9007199254740992 running in "random" mode with 0ms delay is still way faster in Chromium 32 than in Firefox 28. http://www.csie.ntu.edu.tw/~b01902112/9007199254
by davidgerard 13y ago
9007199254740992 running in "random" mode with 0ms delay is still way faster in Chromium 32 than in Firefox 28. http://www.csie.ntu.edu.tw/~b01902112/9007199254740992/ http://www.csie.ntu.edu.tw/~b01902112/9007199254740992/
- gorhill 13y agoSame 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.
- bzbarsky 13y agoHmm. I see about the same thing with Chrome 35 dev and Firefox (28 or nightly) on Mac here, performance wise.
- gorhill 13y agoI am pretty sure he was joking. But there are cases though where the speed does matter. Cool d3 animations for example.
- davidgerard 13y agoThis was on Xubuntu 14.04 - Chromium was racking up score on random quite a bit faster than Firefox was. This is a squishy benchmark for all sorts of reasons ... but the difference was glaring.
- bzbarsky 13y agoIt's entirely possible that platform-specific drawing paths matter here. :(