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/211/11±
binary-trees1/151/10±
nsieve1/91/21±
spectral-norm1/81/32
fannkuch1/51/22
n-body1/41/2±
fasta1/41/2±
mandelbrot1/41/22
nsieve-bits1/2±2
partial-sums1/21/22
sum-file21/23
k-nucleotide21/33
reverse-complement61/3±
pidigits71/34

± look at the measurements

 Forth GNU GForth comparison measurements

Program & Logs CPU secs Memory KB Size B Elapsed secs ~ CPU Load
 recursive 
Forth GNU GForth43.30956493  
Perl #2898.7810,836380  
 binary-trees 
Forth GNU GForth15.664,888564  
Perl #2239.3647,936541  
 nsieve 
Forth GNU GForth2.935,804371  
Perl #225.45121,904290  
 spectral-norm 
Forth GNU GForth486.15948524  
Perl #24,089.082,468334  
 fannkuch 
Forth GNU GForth175.84804554  
Perl855.721,492348  
 n-body 
Forth GNU GForth400.058881304  
Perl1,697.591,9361140  
 fasta 
Forth GNU GForth227.34840882  
Perl #4950.041,872934  
 mandelbrot 
Forth GNU GForth100.57836471  
Perl #2403.201,724311  
 nsieve-bits 
Forth GNU GForth43.013,288412  
Perl100.184,004253  
 partial-sums 
Forth GNU GForth9.41872732  
Perl #317.411,476389  
 sum-file 
Forth GNU GForth36.35788210  
Perl18.171,46884  
 k-nucleotide 
Forth GNU GForth #272.5312,860988  
Perl #232.0742,816359  
 reverse-complement 
Forth GNU GForth11.2113,016330  
Perl #21.9938,360298  
 pidigits 
Forth GNU GForth #223.688721477  
Perl #23.612,532385  

 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