/es-performance-tests

Performance tests of ecma features

Primary LanguageJavaScriptGNU General Public License v3.0GPL-3.0

ES Performance Tests

License: GPL v3

Use

npm run test

Example output

$ npm run test

> es-performance-tests@0.1.0 test /mnt/work/es-performance-tests
> node --harmony-async-await index.js

Testing difference between sync and async function calls: (100 000 iterations)
Async: 803ms
Sync: 52ms
Async is ~15 times slower
Testing difference between nested sync and async function calls: (100 000 iterations)
Async: 1288ms
Sync: 58ms
Async is ~22 times slower