÷

 Step 1 : Are the Nice 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 Nice program used compared to the fastest Java 6 -server program.


 Step 2 : Are the Nice 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 Nice program used compared to the fastest Java 6 -server program.

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

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

 Step 3 : Are the Nice 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 Nice 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
 spectral-norm 
Nice24.0711,384384  
Java 6 -server24.0110,008514  
 partial-sums 
Nice9.2412,648440  
Java 6 -server9.158,488474  
 k-nucleotide 
Nice16.3972,012773  
Java 6 -server15.8970,9641052  
 nsieve 
Nice2.4015,680348  
Java 6 -server2.2520,592296  
 binary-trees 
Nice7.4523,984485  
Java 6 -server6.8926,808603  
 n-body 
Nice17.0712,0641313  
Java 6 -server14.7511,5241424  
 mandelbrot 
Nice4.0211,608470  
Java 6 -server3.2411,092623  
 fannkuch 
Nice13.8911,876490  
Java 6 -server11.058,884555  
 regex-dna 
Nice10.8794,196637  
Java 6 -server7.8175,892921  
 recursive 
Nice10.8624,328377  
Java 6 -server6.7612,044427  
 fasta 
Nice39.2912,5321025  
Java 6 -server21.469,1841240  
 sum-file 
Nice7.5712,040187  
Java 6 -server4.109,972226  
 nsieve-bits 
Nice10.0713,216363  
Java 6 -server5.0413,364523  
 reverse-complement 
Nice3.1130,588732  
Java 6 -server1.3058,932592  
 pidigits 
Nice13.3527,876667  
Java 6 -server1.928,992938  
 chameneos-redux 
Nice203.6111,6761117  
Java 6 -server17.5112,0921429  

 Measurements for all the accepted programs

 Nice : multi-method type-safe oo for jvm 

"Twice as Nice: Learn how this highly expressive language is a safe bet for the Java platform", 06 Oct 2004, IBM developerWorks

Nice compiler version 0.9.12 prerelease (build 2005.10.24, 05:01:51 UTC) Compiled using JDK 1.4.2

Home Page: http://nice.sourceforge.net/

Download: http://nice.sourceforge.net/install.html

Revised BSD license