Skip to content
bench/lang

C++

g++ 15.1.0

#1
Overall rank
1.64×
Score
17/17
Problems covered
4
Did not finish

Best result per problem

ProblemRankCodeTimePeak mem
binarytrees#8 of 191.cpp649ms33.3MB
coro-prime-sieve#1 of 191.cpp53ms1.9MB
edigits#1 of 191.cpp24ms3.6MB
fannkuch-redux#6 of 191.cpp1.76s1.2MB
fasta#5 of 191.cpp242ms27.0MB
http-server#5 of 191.cpp27ms2.2MB
json-serde#4 of 191.cpp327ms175.8MB
knucleotide#4 of 181.cpp275ms21.3MB
lru#3 of 191.cpp96ms1.4MB
mandelbrot#9 of 191.cpp758ms4.4MB
merkletrees#6 of 191.cpp300ms33.4MB
nbody#3 of 191.cpp118ms1.2MB
nsieve#2 of 191.cpp276ms6.6MB
pidigits#2 of 191.cpp180ms2.4MB
regex-redux#5 of 181.cpp658ms149.5MB
secp256k1#2 of 191.cpp430ms1.7MB
spectral-norm#3 of 191.cpp1.32s1.8MB

Head to head

C++ is faster on 8 of 17 shared problems

ProblemC++RustFaster by
binarytrees649ms686msC++ 1.06×
coro-prime-sieve53ms462msC++ 8.67×
edigits24ms80msC++ 3.34×
fannkuch-redux1.76s2.09sC++ 1.19×
fasta242ms203msRust 1.19×
http-server27ms89msC++ 3.26×
json-serde327ms91msRust 3.59×
knucleotide275ms167msRust 1.65×
lru96ms89msRust 1.08×
mandelbrot758ms208msRust 3.65×
merkletrees300ms371msC++ 1.23×
nbody118ms90msRust 1.31×
nsieve276ms261msRust 1.06×
pidigits180ms802msC++ 4.47×
regex-redux658ms221msRust 2.98×
secp256k1430ms774msC++ 1.80×
spectral-norm1.32s1.25sRust 1.06×

Over time

Overall score after each run on Apple M5 laptop. Lower is faster.

C++ overall score per run
C++ overall score per run
RunC++
Oct 19, 20261.16×
Oct 20, 20261.64×
Oct 20, 20261.64×
Recent runs, newest first
RunVersionRankScoreChange
Oct 20, 2026g++ 15.1.0#11.64×no change
Oct 20, 2026g++ 15.1.0#11.64×41.5% slower
Oct 19, 2026g++ 15.1.0unranked1.16×–