Skip to content

Instantly share code, notes, and snippets.

@Aschen
Created August 22, 2019 06:40
Show Gist options
  • Save Aschen/70473d5fbb678782bbfdb73e86104440 to your computer and use it in GitHub Desktop.
Save Aschen/70473d5fbb678782bbfdb73e86104440 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 279 49.20
promises-native-async-await 280 53.22
promises-ecmascript6-native.js 318 65.82
Platform info:
Linux 4.10.0-38-generic x64
Node.JS 12.8.1
V8 7.5.288.22-node.16
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