Comparing performance of languages in over-simplified Backtesting scenario.
Languages:
Language | Version |
---|---|
C# | .NET 8 |
Go | 1.21.6 |
Node.js | v22.10.0 |
Python numba | 3.11.8 |
Rust | 1.82.0 |
Language | Elapsed Time | Peak Memory Usage |
---|---|---|
Rust | 47.52 s | 7830 MB |
Golang | 57.49 s | 7954 MB |
C# | 60.09 s | 7835 MB |
C# AOT | 60.25 s | 7831 MB |
Python Numba | 64.83 s | 7833 MB |
Node | Crashed | - |
Language | Elapsed Time | Peak Memory Usage |
---|---|---|
Rust | 4.45 s | 712 MB |
Golang | 5.44 s | 754 MB |
C# | 5.66 s | 755 MB |
C# AOT | 5.66 s | 751 MB |
Python Numba | 9.73 s | 753 MB |
Node.js | 18.40 s | 2639 MB |