/mobile Handheld Friendly website

÷

 Step 1 : Are the ATS 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 ATS program used compared to the fastest C++ GNU g++ program.


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

 Step 2 : Are the ATS 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 ATS program used compared to the fastest C++ GNU g++ program.

 ATS used what fraction? used how many times more? 
Benchmark Time Memory Code
 fasta-redux±1/2
 fannkuch-redux±1/4±
 fasta±±
 mandelbrot±1/111±
 pidigits±1/2±
 reverse-complement±1/2±
 n-body±±±
 spectral-norm±±
 binary-trees±±
 k-nucleotide±±
 regex-dna±
 ATS used what fraction? used how many times more? 
Time-used  |-  |---  25% median  75%  ---|  -|
(Elapsed secs)±±±±±

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

 Step 3 : Are the ATS 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 ATS program are shown for comparison against measurements of the fastest C++ GNU g++ program.

Program Source Code CPU secs Elapsed secs Memory KB Code B ≈ CPU Load
 fasta-redux 
ATS2.122.122522593  0% 0% 0% 100%
C++ GNU g++2.932.936161474  0% 0% 0% 100%
 fannkuch-redux 
ATS49.0049.012561306  0% 0% 0% 100%
C++ GNU g++61.4261.441,0201439  0% 0% 0% 100%
 fasta 
ATS5.145.152562102  0% 0% 0% 100%
C++ GNU g++6.306.302881266  0% 0% 0% 100%
 mandelbrot 
ATS23.1523.162881455  0% 0% 0% 100%
C++ GNU g++23.7223.7332,0961017  0% 0% 0% 100%
 pidigits 
ATS2.742.74828942  0% 3% 0% 100%
C++ GNU g++2.752.761,448682  0% 1% 1% 100%
 reverse-complement 
ATS1.101.11122,5881895  0% 1% 0% 100%
C++ GNU g++1.071.09245,4242275  0% 0% 1% 100%
 n-body 
ATS20.6520.652841920  0% 0% 0% 100%
C++ GNU g++20.1520.163201659  0% 0% 0% 100%
 spectral-norm 
ATS10.5510.555722507  0% 0% 0% 100%
C++ GNU g++10.0010.006481044  0% 1% 0% 100%
 binary-trees 
ATS17.5517.55197,2242143  0% 0% 0% 100%
C++ GNU g++13.0313.05148,440892  0% 1% 0% 100%
 k-nucleotide 
ATS31.2631.27124,1003238  0% 0% 1% 100%
C++ GNU g++11.6711.68133,4563415  0% 0% 0% 100%
 regex-dna 
ATS33.2933.31165,7762482  0% 0% 0% 100%
C++ GNU g++5.965.97179,512695  0% 0% 0% 100%

 Step 4 : Are there other ATS programs for these benchmarks?

Remember - those are just the fastest ATS and C++ GNU g++ programs measured on this OS/machine. Check if there are other implementations of these benchmark programs for ATS.

Maybe one of those other ATS programs is fastest on a different OS/machine.

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

Remember - those are just the fastest ATS and C++ GNU g++ 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.

 ATS : dependent types & linear types plus theorem proving 

online book Programming in ATS

ATS/Anairiats version 0.2.6

Home Page: ATS -- unleashing the potential of types!

Revised BSD license

  Home   Conclusions   License   Help