APL and J Comparative Benchmarks

The following table shows comparative benchmarks (based on those described in APL Quote Quad Vol 21 No 1 page 20) of a number of APL and J interpreters. All tests were run on a Pentium 166 with 64Mb RAM, with the benchmark the sole active task.
All Windows tests were run using NT Workstation 4.0 ; APL2/2 was tested on the same hardware running OS/2 Warp Release 3.

  J3 Freeware J3.02 Pro J3.03 Dyalog 7.1 APL2/2 APL2/NT(beta)
int add 44 11 7 19 12.5 13
fp add 55 24.1 14 27.5 25 24
int mult 137 20 11 36 28.5 41
fp mult 33 24 13 27.5 25 24
index 0 2 1 2 6 7
char compress 6 0 1 0 5 6
int compress 0 2 0 3 6 6
int plus red 0 0 1 0 0 0
int max red 0 0 0 0 0 0
matrix rotate 11 6 3 0 0 1
char transpose 0 2 4 6 0 1
int transpose 0 2 4 11 0 2
vector of vectors 5 2 1 11 n/a n/a
partition 22 34 10 11 9 9
shape each 49 16 14 13.5 0 0
vector compare 0 1 0 0 0 0
integer sort 6 4 3 13.5 14 16
boolean compare 0 1 0 0 2 0
iota 22 13.1 12 27.5 17 17

More benchmarks

Notes

  1. All results are subject to variability .
  2. You should not use these tests as your sole criterion for selection of an APL or J interpreter .
  3. Not all interpreters offer full implementations of all features included in these benchmarks.
  4. In order to improve the usability of these figures, the data volumes in the tests are larger than in previous publication. You should not compare this table with any previous publication.
  5. These CPU-bound benchmarks frequently return results too low to be statistically safe; further application-oriented benchmarks are presently under construction.
  6. Dyalog APL 7.1 is a Windows 3.1 application running under Windows NT.
  7. APL2/NT figures were obtained using a beta-test version of the software and may not represent performance of the final product.
  8. Translations of the benchmark code to J was performed directly and may not represent an optimal J approach to the underlying algorithm.

This page updated on 12 March 2013 (repaired links)

Back to the J\APL Contents Page

Copyright Dick Bowman 1995-2013