Skip to content

Instantly share code, notes, and snippets.

@Aschen
Created August 22, 2019 06:39
Show Gist options
  • Save Aschen/7953e41f65d9d0650eccde63d18c6d0a to your computer and use it in GitHub Desktop.
Save Aschen/7953e41f65d9d0650eccde63d18c6d0a to your computer and use it in GitHub Desktop.
echo "./doxbee-sequential/promises-native-async-await.js ./doxbee-sequential/promises-ecmascript6-native.js ./doxbee-sequential/promises-bluebird.js" | sed -e 's|\.js||' | xargs node ./performance.js --p 1 --t 1 --n 10000
file time(ms) memory(MB)
promises-bluebird.js 260 44.71
promises-native-async-await 322 68.64
promises-ecmascript6-native.js 332 73.80
Platform info:
Linux 4.10.0-38-generic x64
Node.JS 10.16.2
V8 6.8.275.32-node.54
Intel(R) Core(TM) i5-7300U CPU @ 2.60GHz × 4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment