lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


I compared Roberto's benchmarks and Mike Paul's scimark for 32/64
versus 64/64 on a CuBox (32bit SoC, 16bit fpu)  The results were not
what I expected.
The mandelbrot is marginally quicker on 64/64. The other tests did not
show any major performance differential.

Attached is the comparison output of 32 int vs 64 int

I also ran the same tests on Lua 5.2
Both versions of 5.3 are faster than Lua 5.2, except for the
mandelbrot. The mandelbrot was 5 secs faster on Lua 5.2 (55 versus 60)
32/64                                                                           64/64

ack.lua                                                                         ack.lua
Ack(3, 8) = 2045                                                                Ack(3, 8) = 2045


real    0m2.093s                                                                real    0m2.093s
user    0m2.090s                                                                user    0m2.070s
sys     0m0.000s                                                                sys     0m0.020s
heapsort.lua                                                                    heapsort.lua

real    0m1.110s                                                                real    0m1.111s
user    0m1.090s                                                                user    0m1.100s
sys     0m0.020s                                                                sys     0m0.000s
mandel.lua                                                                      mandel.lua
P2                                                                              P2
# mandelbrot set        -2      2       -2      2       256                     # mandelbrot set        -2      2       -2      2       256
256     256     255                                                             256     256     255
1694719                                                                         1694719

real    1m0.720s                                                                real    1m0.591s
user    1m0.710s                                                                user    1m0.570s
sys     0m0.000s                                                                sys     0m0.010s
matrix.lua                                                                      matrix.lua
11.5549 10.4104 13.7478 9.33527                                                 11.5549 10.4104 13.7478 9.33527

real    0m0.145s                                                                real    0m0.144s
user    0m0.140s                                                                user    0m0.130s
sys     0m0.000s                                                                sys     0m0.010s


Lua SciMark 2010-12-10 based on SciMark 2.0a. Copyright (C) 2006-2010 Mike Pall.Lua SciMark 2010-12-10 based on SciMark 2.0a. Copyright (C) 2006-2010 Mike Pall.

FFT         1.18  [1024]                                                        FFT         1.18  [1024]
SOR         2.57  [100]                                                         SOR         2.58  [100]
MC          0.82                                                                MC          0.80
SPARSE      1.12  [1000, 5000]                                                  SPARSE      1.12  [1000, 5000]
LU          1.83  [100]                                                         LU          1.83  [100]

SciMark     1.50  [small problem sizes]                                         SciMark     1.50  [small problem sizes]