÷

 Step 1 : Are the CAL programs faster? At a glance.

This chart shows 3 comparisons - Time-used, Memory-used and Code-used.

Each chart bar shows, for one unidentified benchmark, how much the fastest CAL program used compared to the fastest Java 6 -server program.


 Step 2 : Are the CAL programs faster? Approximately.

This table shows 3 comparisons - Time-used, Memory-used and Code-used.

Each table row shows, for one named benchmark, how much the fastest CAL program used compared to the fastest Java 6 -server program.

 CAL used what fraction? used how many times more? 
Benchmark Time Memory Code Reduced N
 recursive±±
 partial-sums±±
 binary-trees±±±
 mandelbrot±±±
 k-nucleotide±±
 nsieve±±
 regex-dna±±±
 nsieve-bits±±
 fannkuch±
 spectral-norm±±
 fasta±±
 n-body±±
 reverse-complement±
 sum-file±±
 pidigits±

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

 Step 3 : Are the CAL programs faster? Measurements.

This table shows 5 measurements - CPU Time, Elapsed Time, Memory, Code and ~ CPU Load.

For each named benchmark, measurements of the fastest CAL program are shown for comparison against measurements of the fastest Java 6 -server program.

Program Source Code CPU secs Elapsed secs Memory KB Code B ~ CPU Load
 recursive 
CAL5.8014,320665  
Java 6 -server6.7612,044427  
 partial-sums 
CAL9.4113,672699  
Java 6 -server9.158,488474  
 binary-trees 
CAL7.5827,308736  
Java 6 -server6.8926,808603  
 mandelbrot 
CAL3.6312,564931  
Java 6 -server3.2411,092623  
 k-nucleotide 
CAL17.8451,0441688  
Java 6 -server15.8970,9641052  
 nsieve 
CAL2.5617,784751  
Java 6 -server2.2520,592296  
 regex-dna 
CAL10.3398,3121334  
Java 6 -server7.8175,892921  
 nsieve-bits 
CAL6.7815,176991  
Java 6 -server5.0413,364523  
 fannkuch 
CAL14.9113,6161065  
Java 6 -server11.058,884555  
 spectral-norm 
CAL33.0313,728907  
Java 6 -server24.0110,008514  
 fasta 
CAL29.6513,2161983  
Java 6 -server21.469,1841240  
 n-body 
CAL20.9314,3642356  
Java 6 -server14.7511,5241424  
 reverse-complement 
CAL2.4041,2281643  
Java 6 -server1.3058,932592  
 sum-file 
CAL7.6413,592301  
Java 6 -server4.109,972226  
 pidigits 
CAL12.4820,172751  
Java 6 -server1.928,992938  
 chameneos-redux
   No program

 Measurements for all the accepted programs

 CAL : lazy functional programming for jvm 

1.7.0

Home Page: The Open Quark Framework for Java and the CAL Language

Download: Download Summary

Revised BSD license