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-body1/4 ±
 fannkuch-redux 1/2
 fasta † ±
 iobench † ±
 meteor-contest † ±
 richards †12× ±
 reverse-complement †20×?
 k-nucleotide †34×?±
 pystone †39× ±
 fibonacci †101× 1/2
 spectral-norm †135×?
 Graal used what fraction? used how many times more? 
Time-used  |-  |---  25% median  75%  ---|  -|
(Elapsed secs)1/41/412×36×85×135×

† 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 
Graal23.5115.12534,6681315  46% 38% 39% 40%
Python 253.1753.336,6921337  30% 28% 64% 20%
 fannkuch-redux 
Graal22.2512.70529,844552  46% 45% 59% 40%
Python 217.084.6543,6201009  97% 96% 98% 97%
 fasta 
Graal38.0524.36534,920904  27% 44% 81% 15% †
Python 26.646.6513,444900  3% 100% 4% 4% †
 iobench 
Graal211.49166.45643,496367  32% 24% 61% 21% †
Python 236.6736.696,844370  3% 100% 3% 2% †
 meteor-contest 
Graal33.0317.70595,9721443  26% 64% 69% 37% †
Python 22.642.657,1561485  3% 100% 1% 2% †
 richards 
Graal26.2613.04541,1162434  58% 55% 86% 11% †
Python 21.111.127,1002423  100% 0% 0% 3% †
 reverse-complement 
Graal0.610.23664878  91% 43% 91% 82% †
Python 20.010.01?431  0% 100% 0% 0% †
 k-nucleotide 
Graal5.552.73490,696594  83% 62% 2% 64% †
Python 20.080.08?593  100% 0% 0% 11% †
 pystone 
Graal19.179.24533,2922303  14% 66% 74% 63% †
Python 20.230.248522301  0% 96% 4% 0% †
 fibonacci 
Graal75.1867.11527,916110  45% 22% 38% 18% †
Python 20.670.677,240181  1% 100% 3% 0% †
 spectral-norm 
Graal20.4310.93524,288594  48% 72% 54% 31% †
Python 20.080.08?394  0% 13% 0% 89% †
 fib50 
Graal35.7124.39540,764136  30% 39% 82% 5%
No program
 mandelbrot 
No program
Python 275.6320.23176,5243832  95% 100% 97% 96%
 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%
 templates 
No program
Python 21.071.0915,884307  1% 99% 1% 0%
 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%
 thread-ring 
No program
Python 20.550.567,068407  98% 5% 0% 2%
 binary-trees 
No program
Python 23.851.2060,452743  79% 87% 86% 80%
 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