Created
May 26, 2015 15:47
Docker Windows Shared Folder Benchmark results
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[simple.js] | |
var i, a, b, c, max; | |
max = 1000000000; | |
var d = Date.now(); | |
for (i = 0; i < max; i++) { | |
a = 1234 + 5678 + i; | |
b = 1234 * 5678 + i; | |
c = 1234 / 2 + i; | |
} | |
console.log('NodeJS on docker :-) Beanchmark Result: '); | |
console.log((Date.now() - d) + ' ms to run.'); | |
[Benchmark Results] | |
On windows: | |
$ node simple.js | |
NodeJS on docker :-) Beanchmark Result: | |
1121 ms to run. | |
On Linux/Docker: | |
$ root@480ad96da98a:/home/docker/shared/shared# js simple.js | |
NodeJS on docker :-) Beanchmark Result: | |
2352 ms to run. | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment