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± ±
 fannkuch-redux± 1/2
 fasta † ±
 richards † ±
 pystone † ±
 fibonacci49× 1/2
 spectral-norm †101×?±
 Graal used what fraction? used how many times more? 
Time-used  |-  |---  25% median  75%  ---|  -|
(Elapsed secs)±±27×64×101×

† 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 
Graal71.6570.57486,7601315  11% 88% 11% 22%
Python 253.1753.336,6921337  30% 28% 64% 20%
 fannkuch-redux 
Graal8.236.51461,284552  14% 91% 42% 20%
Python 217.084.6543,6201009  97% 96% 98% 97%
 fasta 
Graal16.8814.79494,224889  17% 13% 85% 6% †
Python 26.646.6513,444900  3% 100% 4% 4% †
 richards 
Graal6.192.96440,9842434  44% 82% 69% 79% †
Python 21.111.127,1002423  100% 0% 0% 3% †
 pystone 
Graal1.570.98345,5522303  59% 34% 69% 23% †
Python 20.230.248522301  0% 96% 4% 0% †
 fibonacci 
Graal32.8232.74392,508110  8% 4% 96% 6%
Python 20.670.677,240181  1% 100% 3% 0%
 spectral-norm 
Graal10.468.15447,428498  84% 33% 32% 14% †
Python 20.080.08?394  0% 13% 0% 89% †
 binary-trees 
No program
Python 23.851.2060,452743  79% 87% 86% 80%
 chameneos-redux 
No program
Python 2152.7883.777,1001192  44% 45% 42% 39%
 fib50 
No program
Python 22.802.8138,440136  4% 65% 3% 38%
 meteor-contest 
No program
Python 22.642.657,0921485  77% 2% 25% 1%
 regex-dna 
No program
Python 20.030.04?501  0% 0% 25% 100%
 pidigits 
No program
Python 20.020.02?380  50% 0% 100% 0%
 iobench 
No program
Python 236.6736.696,844370  3% 100% 3% 2%
 jsonbench 
No program
Python 24.474.4816,652322  3% 2% 100% 3%
 reverse-complement 
No program
Python 20.01?431  
 templates 
No program
Python 21.071.0915,884307  1% 99% 1% 0%
 k-nucleotide 
No program
Python 20.080.08?593  0% 0% 0% 100%
 mandelbrot 
No program
Python 275.6320.23176,5243832  95% 100% 97% 96%
 thread-ring 
No program
Python 20.550.567,068407  98% 5% 0% 2%
 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