lua-users home
lua-l archive

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


On 30/05/2013 20:31, Alon Zakai wrote:
Hopefully this project will be interesting to people. It would be great to get feedback
and help from Lua users and developers to improve it and make it something that's useful
for people.

Interesting, for sure!

Feedback:

Firefox 21:				Second run
binarytrees 	41.69 seconds		40.948
scimark 	2.13 MFLOPS		2.46
startup 	0.134 seconds		0.134
-> Score	190			210

Chrome 27: 				Second run
binarytrees	49.518 seconds 		49.861
scimark		1.44 MFLOPS 		1.43
startup		0.319 seconds 		0.146
-> Score	118 			154

Firefox beats Chrome? Unexpected here... Both are official releases, up to date.
I had to refresh the page to do a second run.

Command line with Lua 5.2.0:

> lua52 scimark.lua
FFT        10.56  [1024]
SOR        24.72  [100]
MC          7.44
SPARSE     16.28  [1000, 5000]
LU         19.84  [100]

SciMark    15.77  [small problem sizes]

> lua52 binarytrees.lua 14.72
stretch tree of depth 15         check: -1
32768    trees of depth 4        check: -32768
8192     trees of depth 6        check: -8192
2048     trees of depth 8        check: -2048
512      trees of depth 10       check: -512
128      trees of depth 12       check: -128
32       trees of depth 14       check: -32
long lived tree of depth 14      check: -1

Mmm, binarytrees doesn't give a time?
No time.exe in UnxUtils nor in Git?
Quick approximation:

> time < nul & lua52 binarytrees.lua 14.72 & time < nul
L’heure actuelle est : 13:01:37,45
stretch tree of depth 15      check: -1
32768    trees of depth 4        check: -32768
8192     trees of depth 6        check: -8192
2048     trees of depth 8        check: -2048
512      trees of depth 10       check: -512
128      trees of depth 12       check: -128
32       trees of depth 14       check: -32
long lived tree of depth 14      check: -1
L’heure actuelle est : 13:01:40,77

Around 3.32 s.
Windows 7 computer.

Hey, let's try with Internet Explorer 10!
binarytrees 	65.633 seconds		64.285
scimark 	1.63 MFLOPS		1.56
startup 	0.075 seconds		0.070
-> Score	210			223

Not bad!

--
Philippe Lhoste
--  (near) Paris -- France
--  http://Phi.Lho.free.fr
--  --  --  --  --  --  --  --  --  --  --  --  --  --