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/4 ±
 fannkuch-redux± 1/2
 fasta †± ±
 iobench † ±
 richards † ±
 pystone † ±
 spectral-norm †15×?
 meteor-contest †19× ±
 fibonacci †47× 1/2
 Graal used what fraction? used how many times more? 
Time-used  |-  |---  25% median  75%  ---|  -|
(Elapsed secs)1/41/4±15×35×47×

† 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 
Graal13.7313.47473,2241315  5% 5% 6% 100% †
Python 253.1753.336,6921337  30% 28% 64% 20% †
 fannkuch-redux 
Graal3.673.13483,772552  22% 23% 29% 72%
Python 217.084.6543,6201009  97% 96% 98% 97%
 fasta 
Graal10.869.07524,900889  7% 8% 94% 21% †
Python 26.646.6513,444900  3% 100% 4% 4% †
 iobench 
Graal135.77127.45565,480367  15% 15% 57% 37% †
Python 236.6736.696,844370  3% 100% 3% 2% †
 richards 
Graal12.765.87563,3882434  43% 61% 73% 71% †
Python 21.111.127,1002423  100% 0% 0% 3% †
 pystone 
Graal2.061.37472,0522303  64% 49% 10% 53% †
Python 20.230.248522301  0% 96% 4% 0% †
 spectral-norm 
Graal1.521.20469,748594  65% 49% 27% 10% †
Python 20.080.08?394  0% 13% 0% 89% †
 meteor-contest 
Graal112.8049.25815,9961443  63% 76% 74% 70% †
Python 22.642.657,1561485  3% 100% 1% 2% †
 fibonacci 
Graal31.4631.39473,984110  13% 25% 12% 87% †
Python 20.670.677,240181  1% 100% 3% 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%
 fib50 
Graal10.478.46518,324136  19% 94% 18% 17%
No program
 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%
 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