Haxe, Dart or Typescript performances comparaison.
An updated comparaison from http://www.infognition.com/blog/2014/comparing_flash_haxe_dart_asmjs_and_cpp.html
- haxe : 3.4.7
- typescript : 2.8
- dart : 1.24.3
- dart2 : 2.0.0-dev.58.0
npm install
npm run build
To run the benchmark open one of this urls in your browser :
- haxe : http://localhost/spihaxejs.html
- typescript : http://localhost/spitsjs.html
- dart : http://localhost/spidart.html
on Chrome 66, i5-5300U CPU @ 2.30GHz
lang | compilation time | run time | size | minified size |
---|---|---|---|---|
haxe | 0.281s | 7.97s | 27ko | 13ko |
typescript | 1.97s | 8.94s | 12ko | 7ko |
dart | 5.56s | 11.418s | 344ko | 136ko |
dart2 | 4.06s | 11.411s | 264ko | 106ko |