Each chart bar shows how many times slower, one ↓ regex-dna program was, compared to the fastest program.
These are not the only programs that could be written. These are not the only compilers and interpreters. These are not the only programming languages.
Column × shows how many times more each program used compared to the benchmark program that used least.
sort | sort | sort | ||||
× | Program Source Code | CPU secs | Elapsed secs | Memory KB | Code B | ≈ CPU Load |
---|---|---|---|---|---|---|
1.0 | Python 2 #5 | 0.03 | 0.03 | ? | 501 | 100% 0% 0% 0% 0% 0% 0% 33% |
1.3 | Python development version #5 | 0.03 | 0.03 | ? | 524 | 0% 0% 100% 0% 25% 0% 0% 0% |
1.5 | Cython #5 | 0.04 | 0.04 | ? | 524 | 20% 0% 0% 0% 100% 0% 0% 0% |
1.5 | Python 3 #5 | 0.04 | 0.04 | ? | 524 | 0% 100% 0% 0% 25% 0% 0% 20% |
1.7 | Nuitka #5 | 0.04 | 0.05 | ? | 524 | 17% 0% 0% 0% 0% 100% 0% 0% |
1.7 | Pyston | 0.08 | 0.05 | ? | 612 | 40% 50% 20% 0% 0% 40% 0% 25% |
1.9 | Python development version | 0.08 | 0.05 | ? | 573 | 40% 20% 80% 0% 0% 20% 20% 0% |
2.1 | Python 3 | 0.09 | 0.06 | ? | 573 | 71% 17% 17% 17% 20% 0% 20% 0% |
2.2 | Nuitka | 0.09 | 0.06 | ? | 573 | 75% 17% 0% 0% 0% 0% 29% 17% |
3.9 | PyPy 2 #5 | 0.10 | 0.11 | ? | 501 | 100% 0% 0% 0% 0% 0% 0% 0% |
4.8 | Python 2 | 0.06 | 0.13 | ? | 612 | 0% 25% 0% 0% 0% 0% 0% 0% |
6.0 | PyPy 3 #5 | 0.16 | 0.16 | ? | 524 | 100% 6% 0% 0% 12% 0% 6% 0% |
10 | PyPy 2 | 0.27 | 0.28 | 450,056 | 612 | 4% 64% 4% 10% 7% 7% 7% 4% |
14 | PyPy 3 | 0.54 | 0.37 | 1,020 | 573 | 8% 8% 92% 13% 11% 5% 5% 13% |
92 | Jython #5 | 5.59 | 2.47 | 3,484 | 501 | 36% 22% 30% 40% 31% 31% 24% 14% |
missing benchmark programs | ||||||
IronPython | No program | |||||
Shedskin | No program | |||||
Numba | No program | |||||
MicroPython | No program | |||||
Grumpy | No program | |||||
Graal | No program | |||||
RustPython | No program |
diff program output for this 100KB input file (generated with the fasta program N = 10000) with this output file to check your program is correct before contributing.
We are trying to show the performance of various programming language implementations - so we ask that contributed programs not only give the correct result, but also use the same algorithm to calculate that result.
We use FASTA files generated by the fasta benchmark as input for this benchmark. Note: the file may include both lowercase and uppercase codes.
Each program should