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/7 ±
 fannkuch-redux± 1/2
 fasta † ±
 thread-ring † ±
 meteor-contest † ±
 iobench † ±
 richards † ±
 pystone † ±
 spectral-norm †16×?
 k-nucleotide †26×?±
 reverse-complement †34×?
 fibonacci49× 1/2
 Graal used what fraction? used how many times more? 
Time-used  |-  |---  25% median  75%  ---|  -|
(Elapsed secs)1/71/721×49×49×

† 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 
Graal7.727.46398,8241315  78% 7% 26% 2% †
Python 253.1753.336,6921337  30% 28% 64% 20% †
 fannkuch-redux 
Graal3.763.23412,392552  13% 93% 14% 2%
Python 217.084.6543,6201009  97% 96% 98% 97%
 fasta 
Graal17.1611.94477,712889  51% 20% 30% 49% †
Python 26.646.6513,444900  3% 100% 4% 4% †
 thread-ring 
Graal1.941.37405,888407  42% 53% 43% 12% †
Python 20.550.557,060407  100% 4% 0% 0% †
 meteor-contest 
Graal19.249.15672,2121443  61% 69% 58% 49% †
Python 22.642.657,1561485  3% 100% 1% 2% †
 iobench 
Graal151.15136.75566,424367  67% 30% 13% 14% †
Python 236.6736.696,844370  3% 100% 3% 2% †
 richards 
Graal12.776.14501,3482434  61% 76% 69% 46% †
Python 21.111.127,1002423  100% 0% 0% 3% †
 pystone 
Graal2.561.68406,2962303  50% 51% 38% 69% †
Python 20.230.248522301  0% 96% 4% 0% †
 spectral-norm 
Graal1.661.29394,260594  17% 50% 38% 32% †
Python 20.080.08?394  0% 13% 0% 89% †
 k-nucleotide 
Graal3.952.09432,112594  64% 4% 42% 87% †
Python 20.080.08?593  100% 0% 0% 11% †
 reverse-complement 
Graal0.410.38908878  3% 8% 100% 14% †
Python 20.010.01?431  0% 100% 0% 0% †
 fibonacci 
Graal32.7732.72400,740110  5% 56% 5% 47%
Python 20.670.677,240181  1% 100% 3% 0%
 jsonbench 
No program
Python 24.474.4816,652322  3% 2% 100% 3%
 pidigits 
No program
Python 20.020.02?380  50% 0% 100% 0%
 regex-dna 
No program
Python 20.030.04?501  0% 0% 25% 100%
 fib50 
Graal16.4812.40468,912136  13% 93% 14% 23%
No program
 chameneos-redux 
No program
Python 2152.7883.777,1001192  44% 45% 42% 39%
 binary-trees 
No program
Python 23.851.2060,452743  79% 87% 86% 80%
 templates 
No program
Python 21.071.0915,884307  1% 99% 1% 0%
 mandelbrot 
No program
Python 275.6320.23176,5243832  95% 100% 97% 96%
 fasta-redux
   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