Skip to content

Instantly share code, notes, and snippets.

@lukechilds

lukechilds/readme.md

Last active Jun 23, 2017
Embed
What would you like to do?
base64-js Node.js v8.1.2 vs v8.2.0-rc.1

Running base64-js benchmarks on Node.js v8.1.2 vs v8.2.0-rc.1

$ node --version
v8.1.2

$ node bench/basic.js
decode ms, decode ops/ms, encode ms, encode ops/ms
8 166667 37 36036.10810810811

$ nvm use rc
Now using node v8.2.0-rc.1 (npm v5.0.3)

$ node bench/basic.js
decode ms, decode ops/ms, encode ms, encode ops/ms
22 60606.181818181816 44 30303.090909090908

I'm consistently getting around 8ms to decode in v8.1.2 and 22ms in v8.2.0-rc.1 with bench/basic.js

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.