You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ time node src/main/javascript/java_faster_than_javascript.js
node count: 13537
checksum: 470936697371
real 1m6,196s
user 1m13,707s
sys 0m2,256s
$ time node src/main/javascript/java_faster_than_node.js
node count: 13537
checksum: 470936697371
real 0m26,172s
user 0m30,301s
sys 0m0,628s
What's the difference? Both are running on nodejs.
If it's just one is slower and one is faster, isn't keeping the faster one a better demonstration?
The text was updated successfully, but these errors were encountered:
JavaScript example given is:
What's the difference? Both are running on nodejs.
If it's just one is slower and one is faster, isn't keeping the faster one a better demonstration?
The text was updated successfully, but these errors were encountered: