Tracer was recently added to our Dart performance tracking page. A whopping 2x for the Dart VM over V8 JavaScript and that in spite of the fact that we improved the JavaScript code. Otherwise it would have been 3x...

[... Tracer is a ray tracer benchmark, originally written in JavaScript by Adam Burmister. Both Adam’s and the Octane version in JavaScript use the class emulation pattern from the prototype.js library. Because Dart has a native class system, it’s unfair to do a direct performance comparison with the Octane version. We therefore compare Dart performance with an improved JavaScript version called Tracer. The improved version uses only constructors and prototypes without any abstraction layers in between; it runs 50% faster than the original Raytrace JavaScript benchmark in Octane...]
Shared publiclyView activity