/mobile Handheld Friendly website

÷

 1 : Are the ATS programs faster? At a glance.

Each chart bar shows, for one unidentified benchmark, how much the fastest ATS program used compared to the fastest C gcc program.


These are not the only compilers and interpreters. These are not the only programs that could be written. These are not the only tasks that could be solved. These are just 10 tiny examples.

 2 : Are the ATS programs faster? Approximately.

Each table row shows, for one named benchmark, how much the fastest ATS program used compared to the fastest C gcc program.

 ATS used what fraction? used how many times more? 
Benchmark Time Memory Code
 k-nucleotide±±±
 fasta±±
 mandelbrot±±
 pidigits±±
 fasta-redux±±
 reverse-complement±1/2
 spectral-norm±±
 binary-trees±
 n-body±±
 fannkuch-redux±±
 regex-dna1/2±
 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.

 3 : Are the ATS programs faster? Measurements.

These are not the only tasks that could be solved. These are just 10 tiny examples. These are not the only compilers and interpreters. These are not the only programs that could be written.

For each named benchmark, measurements of the fastest ATS program are shown for comparison against measurements of the fastest C gcc program.

Program Source Code CPU secs Elapsed secs Memory KB Code B ≈ CPU Load
 k-nucleotide 
ATS32.1532.17124,1323238  0% 0% 0% 100%
C gcc37.5237.56153,4242280  0% 0% 0% 100%
 fasta 
ATS5.205.202882104  0% 1% 0% 100%
C gcc4.924.932921221  0% 1% 1% 100%
 mandelbrot 
ATS24.6524.6630,1482148  0% 0% 0% 100%
C gcc23.2223.2330,432799  0% 0% 0% 100%
 pidigits 
ATS2.732.73860942  0% 1% 0% 100%
C gcc2.492.50860448  0% 0% 1% 100%
 fasta-redux 
ATS1.961.962882593  0% 1% 1% 100%
C gcc1.671.672921321  0% 1% 1% 100%
 reverse-complement 
ATS1.071.08122,5961895  0% 1% 0% 100%
C gcc0.820.83248,636741  0% 1% 2% 100%
 spectral-norm 
ATS10.6010.606082507  1% 0% 0% 100%
C gcc7.867.86644569  0% 0% 0% 100%
 binary-trees 
ATS17.7317.75197,2562143  0% 0% 0% 100%
C gcc12.8612.8799,448850  0% 0% 1% 100%
 n-body 
ATS20.6520.653201920  0% 1% 0% 100%
C gcc9.089.093361490  0% 0% 0% 100%
 fannkuch-redux 
ATS57.8057.822881571  0% 0% 0% 100%
C gcc24.6124.622921183  1% 0% 0% 100%
 regex-dna 
ATS27.6127.62165,2562482  0% 0% 0% 100%
C gcc5.465.48286,7482579  0% 0% 1% 100%

 4 : Are there other ATS programs for these benchmarks?

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

 5 : Are there other faster programs for these benchmarks?

Remember - those are just the fastest ATS and C gcc 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.8

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

Revised BSD license

  Home   Conclusions   License   Play