Compare the performance of Forth GNU GForth programs against some other language implementation.

For more information about the Forth implementation we measured see ↓ about Forth GNU GForth.

Compare to:

 Forth GNU GForth comparison summary


1/2 1/3 1/4 … Forth GNU GForth is better
Programs Time Memory Use Source Size Reduced N
chameneos-reduxNo program
regex-dnaNo program
recursive1/251/11±
binary-trees1/171/8±
spectral-norm1/10±2
nsieve1/101/21± 9
mandelbrot1/6±2
fannkuch1/61/42
n-body1/51/2±
fasta1/5±±
nsieve-bits1/3±2
partial-sums1/31/42
sum-file2±3
k-nucleotide21/33
reverse-complement41/3±
pidigits14±4

± look at the measurements

 Forth GNU GForth comparison measurements

Program & Logs CPU secs Memory KB Size B Elapsed secs ~ CPU Load
 recursive 
Forth GNU GForth38.66960493  
Perl #2956.3110,812380  
 binary-trees 
Forth GNU GForth13.264,884562  
Perl224.0637,588481  
 spectral-norm 
Forth GNU GForth379.8018,492524  
Perl #23,943.6318,536334  
 nsieve N = 9 reduced workload 
Forth GNU GForth3.075,828371  
Perl #229.34121,924290  
 mandelbrot 
Forth GNU GForth67.663,312471  
Perl #2382.653,388311  
 fannkuch 
Forth GNU GForth132.16796554  
Perl728.503,144348  
 n-body 
Forth GNU GForth292.208881304  
Perl1,567.731,9041140  
 fasta 
Forth GNU GForth161.183,112882  
Perl #4850.673,156934  
 nsieve-bits 
Forth GNU GForth33.593,316412  
Perl93.554,024253  
 partial-sums 
Forth GNU GForth5.52860732  
Perl #314.233,156389  
 sum-file 
Forth GNU GForth28.2814,852210  
Perl15.5514,91684  
 k-nucleotide 
Forth GNU GForth #251.9712,880988  
Perl #227.5442,836359  
 reverse-complement 
Forth GNU GForth8.5013,008330  
Perl #21.9938,356298  
 pidigits 
Forth GNU GForth #286.323,1201477  
Perl #26.213,144385  

 about Forth GNU GForth

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