C++
g++ 15.1.0
#1
Overall rank
1.64×
Score
17/17
Problems covered
4
Did not finish
Best result per problem
| Problem | Rank | Code | Time | Peak mem |
|---|---|---|---|---|
| binarytrees | #8 of 19 | 1.cpp | 649ms | 33.3MB |
| coro-prime-sieve | #1 of 19 | 1.cpp | 53ms | 1.9MB |
| edigits | #1 of 19 | 1.cpp | 24ms | 3.6MB |
| fannkuch-redux | #6 of 19 | 1.cpp | 1.76s | 1.2MB |
| fasta | #5 of 19 | 1.cpp | 242ms | 27.0MB |
| http-server | #5 of 19 | 1.cpp | 27ms | 2.2MB |
| json-serde | #4 of 19 | 1.cpp | 327ms | 175.8MB |
| knucleotide | #4 of 18 | 1.cpp | 275ms | 21.3MB |
| lru | #3 of 19 | 1.cpp | 96ms | 1.4MB |
| mandelbrot | #9 of 19 | 1.cpp | 758ms | 4.4MB |
| merkletrees | #6 of 19 | 1.cpp | 300ms | 33.4MB |
| nbody | #3 of 19 | 1.cpp | 118ms | 1.2MB |
| nsieve | #2 of 19 | 1.cpp | 276ms | 6.6MB |
| pidigits | #2 of 19 | 1.cpp | 180ms | 2.4MB |
| regex-redux | #5 of 18 | 1.cpp | 658ms | 149.5MB |
| secp256k1 | #2 of 19 | 1.cpp | 430ms | 1.7MB |
| spectral-norm | #3 of 19 | 1.cpp | 1.32s | 1.8MB |
Head to head
C++ is faster on 8 of 17 shared problems
| Problem | C++ | Rust | Faster by |
|---|---|---|---|
| binarytrees | 649ms | 686ms | C++ 1.06× |
| coro-prime-sieve | 53ms | 462ms | C++ 8.67× |
| edigits | 24ms | 80ms | C++ 3.34× |
| fannkuch-redux | 1.76s | 2.09s | C++ 1.19× |
| fasta | 242ms | 203ms | Rust 1.19× |
| http-server | 27ms | 89ms | C++ 3.26× |
| json-serde | 327ms | 91ms | Rust 3.59× |
| knucleotide | 275ms | 167ms | Rust 1.65× |
| lru | 96ms | 89ms | Rust 1.08× |
| mandelbrot | 758ms | 208ms | Rust 3.65× |
| merkletrees | 300ms | 371ms | C++ 1.23× |
| nbody | 118ms | 90ms | Rust 1.31× |
| nsieve | 276ms | 261ms | Rust 1.06× |
| pidigits | 180ms | 802ms | C++ 4.47× |
| regex-redux | 658ms | 221ms | Rust 2.98× |
| secp256k1 | 430ms | 774ms | C++ 1.80× |
| spectral-norm | 1.32s | 1.25s | Rust 1.06× |
Over time
Overall score after each run on Apple M5 laptop. Lower is faster.
| Run | C++ |
|---|---|
| Oct 19, 2026 | 1.16× |
| Oct 20, 2026 | 1.64× |
| Oct 20, 2026 | 1.64× |
| Run | Version | Rank | Score | Change |
|---|---|---|---|---|
| Oct 20, 2026 | g++ 15.1.0 | #1 | 1.64× | no change |
| Oct 20, 2026 | g++ 15.1.0 | #1 | 1.64× | 41.5% slower |
| Oct 19, 2026 | g++ 15.1.0 | unranked | 1.16× | – |