vs

 1 : Are the Graal programs faster? At a glance.

Each chart bar shows, for one unidentified benchmark, how much the fastest Graal program used compared to the fastest Python 2 program.

(Memory use is only compared for tasks that require memory to be allocated.)


These are not the only compilers and interpreters. These are not the only programs that could be written. These are not the only tasks that could be solved. These are just 10 tiny examples.

 2 : Are the Graal programs faster? Approximately.

Each table row shows, for one named benchmark, how much the fastest Graal program used compared to the fastest Python 2 program.

(Memory use is only compared for tasks that require memory to be allocated.)

 Graal used what fraction? used how many times more? 
Benchmark Time Memory Code
 n-body †1/8 ±
 fannkuch-redux± 1/2
 thread-ring † ±
 meteor-contest † ±
 richards † ±
 pystone † ±
 spectral-norm †12×?
 reverse-complement12×?
 k-nucleotide †14×?±
 fasta †22× ±
 fibonacci64× 1/2
 Graal used what fraction? used how many times more? 
Time-used  |-  |---  25% median  75%  ---|  -|
(Elapsed secs)1/81/813×28×64×

† possible mismatch - one-core program compared to multi-core program.

± read the measurements and then read the program source code.

 3 : Are the Graal programs faster? Measurements.

These are not the only tasks that could be solved. These are just 10 tiny examples. These are not the only compilers and interpreters. These are not the only programs that could be written.

For each named benchmark, measurements of the fastest Graal program are shown for comparison against measurements of the fastest Python 2 program.

Program Source Code CPU secs Elapsed secs Memory KB Code B ≈ CPU Load
 n-body 
Graal6.626.46451,1841315  6% 100% 3% 1% †
Python 253.1753.336,6921337  30% 28% 64% 20% †
 fannkuch-redux 
Graal3.633.18458,240552  18% 1% 14% 88%
Python 217.084.6543,6201009  97% 96% 98% 97%
 thread-ring 
Graal1.971.58454,284407  91% 30% 16% 4% †
Python 20.550.557,060407  100% 4% 0% 0% †
 meteor-contest 
Graal17.688.24548,2321443  59% 75% 80% 6% †
Python 22.642.657,1561485  3% 100% 1% 2% †
 richards 
Graal11.105.14502,1922434  69% 72% 60% 38% †
Python 21.111.127,1002423  100% 0% 0% 3% †
 pystone 
Graal1.971.15441,7362303  7% 60% 89% 25% †
Python 20.230.248522301  0% 96% 4% 0% †
 spectral-norm 
Graal1.120.93386,712594  100% 39% 40% 52% †
Python 20.080.08?394  0% 13% 0% 89% †
 reverse-complement 
Graal0.130.14?878  13% 0% 100% 0%
Python 20.010.01?431  0% 100% 0% 0%
 k-nucleotide 
Graal1.631.09450,964594  5% 14% 99% 35% †
Python 20.080.08?593  100% 0% 0% 11% †
 fasta 
Graal338.16154.29460,668889  61% 65% 36% 63% †
Python 26.866.8713,316900  15% 2% 88% 3% †
 fibonacci 
Graal42.6442.67443,572110  5% 1% 100% 0%
Python 20.670.677,240181  1% 100% 3% 0%
 templates 
No program
Python 21.071.0915,884307  1% 99% 1% 0%
 jsonbench 
No program
Python 24.474.4816,652322  3% 2% 100% 3%
 binary-trees 
No program
Python 23.851.2060,452743  79% 87% 86% 80%
 mandelbrot 
No program
Python 275.6320.23176,5243832  95% 100% 97% 96%
 regex-dna 
No program
Python 20.030.04?501  0% 0% 25% 100%
 iobench 
No program
Python 236.6736.696,844370  3% 100% 3% 2%
 pidigits 
No program
Python 20.020.02?380  50% 0% 100% 0%
 chameneos-redux 
No program
Python 2152.7883.777,1001192  44% 45% 42% 39%
 fasta-redux
   No programs
 fib50
   No programs
 binary-trees-redux
   No programs

† possible mismatch - one-core program compared to multi-core program.

 4 : Are there other Graal programs for these benchmarks?

Remember - those are just the fastest Graal and Python 2 programs measured on this OS/machine. Check if there are other implementations of these benchmark programs for Graal.

Maybe one of those other Graal programs is fastest on a different OS/machine.

 5 : Are there other faster programs for these benchmarks?

Remember - those are just the fastest Graal and Python 2 programs measured on this OS/machine. Check if there are faster implementations of these benchmark programs for other programming languages.

Maybe one of those other programs is fastest on a different OS/machine.

 Graal : Graal 

 

Revised BSD license

  Home   Conclusions   License   Play