vs

 1 : Are the Grumpy programs faster? At a glance.

Each chart bar shows, for one unidentified benchmark, how much the fastest Grumpy 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 Grumpy programs faster? Approximately.

Each table row shows, for one named benchmark, how much the fastest Grumpy program used compared to the fastest Python 2 program.

(Memory use is only compared for tasks that require memory to be allocated.)

 Grumpy used what fraction? used how many times more? 
Benchmark Time Memory Code
 thread-ring ±
 richards † ±
 fibonacci †50× 1/2
 Grumpy used what fraction? used how many times more? 
Time-used  |-  |---  25% median  75%  ---|  -|
(Elapsed secs)27×50×50×

† possible mismatch - one-core program compared to multi-core program.

± read the measurements and then read the program source code.

 3 : Are the Grumpy 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 Grumpy 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
 thread-ring 
Grumpy3.072.898,516407  27% 27% 25% 32%
Python 20.770.776,432407  4% 0% 4% 100%
 richards 
Grumpy8.608.038,3682423  30% 31% 25% 29% †
Python 21.971.976,3242423  16% 43% 100% 34% †
 fibonacci 
Grumpy82.3539.00304,740110  57% 53% 54% 53% †
Python 20.780.796,716181  9% 100% 3% 4% †
 binary-trees 
No program
Python 25.981.6557,668743  96% 92% 91% 92%
 fannkuch-redux 
No program
Python 228.237.4644,9321009  97% 98% 99% 98%
 fib50 
No program
Python 23.933.9337,928136  6% 59% 8% 48%
 fasta 
No program
Python 210.0910.0912,768900  38% 4% 64% 3%
 n-body 
No program
Python 272.4272.436,7681337  3% 1% 2% 100%
 chameneos-redux 
No program
Python 2166.7992.188,4121192  35% 30% 48% 50%
 pystone 
No program
Python 20.350.351,6042301  100% 3% 0% 0%
 meteor-contest 
No program
Python 23.793.806,6001485  6% 100% 1% 3%
 iobench 
No program
Python 238.2638.266,428370  3% 100% 1% 1%
 pidigits 
No program
Python 20.020.03?378  0% 0% 100% 0%
 spectral-norm 
No program
Python 20.090.17?394  16% 59% 6% 35%
 regex-dna 
No program
Python 20.090.14?612  29% 14% 27% 7%
 jsonbench 
No program
Python 26.876.8816,172322  4% 2% 98% 1%
 k-nucleotide 
No program
Python 20.100.11?593  0% 100% 0% 0%
 templates 
No program
Python 21.551.5616,564307  30% 5% 71% 3%
 mandelbrot 
No program
Python 2101.2628.56166,3123832  99% 96% 97% 99%
 fasta-redux
   No programs
 reverse-complement
   No programs
 binary-trees-redux
   No programs

† possible mismatch - one-core program compared to multi-core program.

 4 : Are there other Grumpy programs for these benchmarks?

Remember - those are just the fastest Grumpy and Python 2 programs measured on this OS/machine. Check if there are other implementations of these benchmark programs for Grumpy.

Maybe one of those other Grumpy programs is fastest on a different OS/machine.

 5 : Are there other faster programs for these benchmarks?

Remember - those are just the fastest Grumpy 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.

 Grumpy : Grumpy 

 

Revised BSD license

  Home   Conclusions   License   Play