DraganSr
web-links (blinks) web-log (blog) by Dragan Sretenovic
Tuesday, March 17, 2020
Performance: JavaScript vs Python vs Rust vs WASM
NodeJS vs. Python 3 Performance - DEV Community
Problem 7 - Project Euler
What is the 10 001st prime number?
Language
Version
Time
JS
10.7.3
1.64s
Python
3.7.1
26.24s
Rust
1.35.0
0.78s
On another machine
JS: getPrime(10001)=104743 elelapsedTime=5633 ms
RS WASM: get_prime(10001)=104743 elelapsedTime=5176 ms
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment