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-redux1/2 1/2
 thread-ring † ±
 meteor-contest † ±
 pystone † ±
 richards † ±
 reverse-complement †?
 spectral-norm †12×?
 k-nucleotide †13×?±
 fasta †17× ±
 fibonacci51× 1/2
 Graal used what fraction? used how many times more? 
Time-used  |-  |---  25% median  75%  ---|  -|
(Elapsed secs)1/71/712×27×51×

† 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.317.13387,4961315  2% 4% 100% 2% †
Python 253.1753.336,6921337  30% 28% 64% 20% †
 fannkuch-redux 
Graal3.402.94393,284552  100% 20% 5% 1%
Python 217.084.6543,6201009  97% 96% 98% 97%
 thread-ring 
Graal1.711.11388,412407  88% 34% 21% 19% †
Python 20.550.557,060407  100% 4% 0% 0% †
 meteor-contest 
Graal18.408.74840,2201443  44% 66% 49% 61% †
Python 22.642.657,1561485  3% 100% 1% 2% †
 pystone 
Graal1.731.01310,8042303  19% 24% 57% 81% †
Python 20.230.248522301  0% 96% 4% 0% †
 richards 
Graal11.515.19486,2722434  44% 47% 68% 69% †
Python 21.111.127,1002423  100% 0% 0% 3% †
 reverse-complement 
Graal0.100.10?878  10% 91% 18% 9% †
Python 20.010.01?431  0% 100% 0% 0% †
 spectral-norm 
Graal1.270.99324,848594  98% 19% 3% 16% †
Python 20.080.08?394  0% 13% 0% 89% †
 k-nucleotide 
Graal1.541.01390,844594  13% 49% 89% 15% †
Python 20.080.08?593  100% 0% 0% 11% †
 fasta 
Graal287.84115.15399,556904  57% 72% 67% 70% †
Python 26.866.8713,316900  15% 2% 88% 3% †
 fibonacci 
Graal33.8233.85386,372110  2% 3% 3% 100%
Python 20.670.677,240181  1% 100% 3% 0%
 fib50 
Graal641.54257.32459,944136  54% 64% 73% 71%
No program
 iobench 
No program
Python 236.6736.696,844370  3% 100% 3% 2%
 jsonbench 
No program
Python 24.474.4816,652322  3% 2% 100% 3%
 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%
 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