How big is the measured performance difference?

Each chart bar shows how many times more Time or how many times more Memory one unidentified ↓ regex-dna program used, compared to the benchmark program that used least Time or the program that used least Memory.

 regex-dna benchmark ≈50MB N=5,000,000

This table shows 5 measurements - CPU Time, Elapsed Time, Memory, Code and ≈ CPU Load.

Compare how much Memory the regex-dna programs used - sort Memory KB. Compare how much Code the benchmark programs used - sort Code B

Column × shows how many times more each program used compared to the benchmark program that used least.

    sort sort sort sort
  ×   Program Source Code CPU secs Elapsed secs Memory KB Code B ≈ CPU Load
1.0GNU gcc 5.232.68325,2562579  20% 63% 67% 51%
1.6C++ GNU g++ #4 13.764.37111,9641759  87% 63% 88% 76%
2.3C++ GNU g++ 16.506.2697,4721588  100% 0% 76% 87%
2.6GNU gcc #4 20.946.8594,8761525  55% 95% 80% 76%
3.6Scala #4 26.499.54698,448732  57% 63% 85% 71%
4.3Java 6 -server #5 26.3411.51686,076929  58% 43% 77% 48%
4.3OCaml 19.2411.56389,5161261  22% 25% 39% 78%
4.4OCaml #3 19.4311.73389,524892  24% 23% 100% 19%
5.1Scala #3 31.7713.71979,544659  43% 49% 55% 82%
5.7Java 6 -server #2 38.5215.28846,0441534  47% 51% 77% 74%
5.7Ada 2005 GNAT 33.1815.38183,0643334  52% 19% 83% 59%
7.1OCaml #2 18.9118.91389,548615  0% 0% 100% 0%
9.7Java 6 -server #4 26.2725.87931,136921  1% 0% 2% 98%
9.7GNU gcc #2 26.0426.04124,9201099  0% 0% 100% 0%
10ATS 26.6626.67166,9962495  0% 0% 100% 0%
10Scala #2 53.8127.641,039,0641520  30% 44% 35% 83%
12C++ GNU g++ #3 30.9330.93127,2681599  0% 0% 0% 100%
12Scheme PLT 32.5432.54621,560835  0% 100% 0% 0%
12Scheme PLT #2 33.1933.19633,192669  0% 0% 0% 100%
13C# Mono #6 92.2735.78584,876638  56% 56% 66% 78%
15Scala 40.2739.31824,044663  2% 2% 97% 1%
20C# Mono #5 133.6954.87551,6641647  76% 17% 66% 83%
31C# Mono #3 84.3784.372,823,520607  0% 18% 81% 0%
32C# Mono 84.4284.442,787,076624  0% 100% 0% 0%
54Java 6 -Xint #5 5 min145.60705,112929  49% 47% 39% 98%
58C# Mono #2 156.68156.692,726,612645  0% 0% 0% 100%
89Java 6 -Xint #2 9 min238.11777,2441534  1% 71% 97% 77%
132Java 6 -Xint #4 5 min5 min642,844921  0% 0% 0% 100%
150Go 6g 8g 6 min6 min635,920624  0% 0% 0% 100%
Ada 2005 GNAT #4 Failed1352
Ada 2005 GNAT #3 Failed1233
Haskell GHC #4 Make Error1672
"interesting alternative" programs
 Haskell GHC Make Error  519
 Pascal Free Pascal #3 Make Error  2932
 Pascal Free Pascal Make Error  1199
8.2F# Mono 30.4521.86770,496796
26C# Mono #4 70.1570.15480,424657
missing benchmark programs
F# Mono No program
Java 6 steady state No program
Pascal Free Pascal No program

 regex-dna benchmark : Match DNA 8-mers and substitute nucleotides for IUB codes

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 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

Revised BSD license

  Home   Flawed   Fastest   License   Help