/mobile Handheld Friendly website

÷

 Step 1 : Are the Forth GNU GForth programs faster? At a glance.

This chart shows 3 comparisons - Time-used, Memory-used and Code-used ~ speed and size.

Each chart bar shows, for one unidentified benchmark, how much the fastest Forth GNU GForth program used compared to the fastest Zonnon Mono program.


Look at speed another way - look at a box plot of Time-used data.

 Step 2 : Are the Forth GNU GForth programs faster? Approximately.

This table shows 3 comparisons - Time-used, Memory-used and Code-used ~ speed and size.

Each table row shows, for one named benchmark, how much the fastest Forth GNU GForth program used compared to the fastest Zonnon Mono program.

 Forth GNU GForth used what fraction? used how many times more? 
Benchmark Time Memory Code
 nsieve±1/2±
 n-body12×1/6±
 Forth GNU GForth used what fraction? used how many times more? 
Time-used  |-  |---  25% median  75%  ---|  -|
(CPU secs)±±±12×12×12×

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

 Step 3 : Are the Forth GNU GForth programs faster? Measurements.

This table shows 5 measurements - CPU Time, Elapsed Time, Memory, Code and ≈ CPU Load ~ speed and size.

For each named benchmark, measurements of the fastest Forth GNU GForth program are shown for comparison against measurements of the fastest Zonnon Mono program.

Program Source Code CPU secs Elapsed secs Memory KB Code B ≈ CPU Load
 nsieve 
Forth GNU GForth2.935,804371  
Zonnon Mono2.329,744368  
 n-body 
Forth GNU GForth400.058881304  
Zonnon Mono34.615,1681524  
 pidigits 
Forth GNU GForth0.829681477  
No program
 mandelbrot 
Forth GNU GForth0.22836471  
No program
 fasta 
Forth GNU GForth2.34840882  
No program
 k-nucleotide 
Forth GNU GForth1.863,332988  
No program
 reverse-complement 
Forth GNU GForth0.16860330  
No program
 partial-sums 
Forth GNU GForth0.16852732  
Zonnon MonoFailed
 recursive 
Forth GNU GForth0.48832493  
Zonnon MonoFailed
 binary-trees 
Forth GNU GForth0.751,048564  
No program
 spectral-norm 
Forth GNU GForth4.08832524  
No program
 nsieve-bits 
Forth GNU GForth10.051,420412  
No program
 regex-dna
   No programs

 Step 4 : Are there other Forth GNU GForth programs for these benchmarks?

Remember - those are just the fastest Forth GNU GForth and Zonnon Mono programs measured on this OS/machine. Check if there are other implementations of these benchmark programs for Forth GNU GForth.

Maybe one of those other Forth GNU GForth programs is fastest on a different OS/machine.

 Step 5 : Are there other faster programs for these benchmarks?

Remember - those are just the fastest Forth GNU GForth and Zonnon Mono 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.

 Forth GNU GForth : extensible postfix stack programming 

online book "Programming Forth" (pdf) by Stephen Pelc

gforth 0.6.2

Home Page: http://www.jwdt.com/~paysan/gforth.html

Download: http://www.complang.tuwien.ac.at/forth/gforth/

Revised BSD license

  Home   Conclusions   License   Help