«previous next»

SwiftForth Benchmarks

We have run a standard suite of benchmarks on SwiftForth, polyFORTH, ProForth for Windows, and Win32Forth. Results are given below; values are in microseconds.

You can download the source code for these benchmarks by FTP (7 Kb zip archive).

 

pF32-386

ProForth

Win32Forth

SwiftForth

DO LOOP

1.768

1.903

1.602

0.138

*

0.149

0.169

0.349

0.076

/

0.514

0.381

1.070

0.286

+

0.279

0.119

0.183

0.010

M*

0.427

0.305

0.636

0.096

UM/MOD

1.531

1.035

0.952

0.279

M+

1.041

1.962

1.213

0.101

/MOD

0.935

0.412

0.819

0.304

*/

0.569

1.381

1.328

0.351

PAUSE

0.827

6.444

 

4.812

LOAD

13,185.732

13,560.597

15,712.683

9,499.862

Eratosthenes sieve

(1899 primes)

2.951

3.127

2.529

0.109

Fibonacci recursion

( 24 -> 46368 )

3.164

2.714

2.246

0.014

EDN's string comparison

3.172

3.442

4.799

2.412

Hoare's quick sort

(reverse order)

16.091

14.654

16.943

1.231

Date access

129.607

(14 Sep 1999)

230.097

(Tue 14/9/1999)

212.398

(9/14/1999)

217.862

(09/14/1999)

Time access

1.386

(15:41)

232.097

(3:37:36 pm)

212.198

(15:38:48)

216.862

(15:39:58)


Systems tested:

pF32-386

polyFORTH pF32-386/pMSD (29 Jun 1999 system)

Win32Forth

Version: 4.1 Build: 0031 Release Build

ProForth

MPE ProForth for Windows Version 2.000

SwiftForth

SwiftForth Version 2.00.0


Test platform:
200 MHz Pentium-MMX running Windows 98 (Version: 4.10 Build: 16384).

«previous next»