/mobile Handheld Friendly website

÷

 Step 1 : Are the 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 program used compared to the fastest Zonnon Mono program.


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

 Step 2 : Are the 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 program used compared to the fastest Zonnon Mono program.

  used what fraction? used how many times more? 
Benchmark Time Memory Code
 nsieve10×±
 n-body17×1/6±
  used what fraction? used how many times more? 
Time-used  |-  |---  25% median  75%  ---|  -|
(CPU secs)11×17×17×17×

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

 Step 3 : Are the 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 program are shown for comparison against measurements of the fastest Zonnon Mono program.

Program Source Code CPU secs Elapsed secs Memory KB Code B ≈ CPU Load
 nsieve 
10.9399,276258  
Zonnon Mono2.329,744368  
 n-body 
586.858721265  
Zonnon Mono34.615,1681524  
 fasta 
2.07908993  
No program
 k-nucleotide 
0.708,284613  
No program
 pidigits 
0.595,324684  
No program
 mandelbrot 
0.13864367  
No program
 partial-sums 
0.09848437  
Zonnon MonoFailed
 reverse-complement 
0.171,464538  
No program
 recursive 
0.70860330  
Zonnon MonoFailed
 spectral-norm 
6.33828328  
No program
 nsieve-bits 
23.632,512426  
No program
 regex-dna
   No programs
 binary-trees
   No programs

 Step 4 : Are there other programs for these benchmarks?

Remember - those are just the fastest and Zonnon Mono programs measured on this OS/machine. Check if there are other implementations of these benchmark programs for .

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

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

Remember - those are just the fastest and Zonnon Mono 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.

  :  

online book "Programming in Lua" by Roberto Ierusalimschy

"Game Developers Conference 2010 Lua Tutorial" (slides)

Lua 5.1.3 Copyright (C) 1994-2008 Lua.org, PUC-Rio

Home Page: http://www.lua.org/

Download: http://www.lua.org/download.html

Revised BSD license

  Home   Conclusions   License   Help