is Rizla's point a fair one though Sakuya?
Announcement
Collapse
No announcement yet.
AutoPlay Media Studio 8.0 vs LuaJIT 2.0-beta4 (x86) vs Lua 5.2-work2
Collapse
X
-
it was IP's point, i actully agreed with him......now somebody shoot me for having an opinion!
-
agreed :yesI think having a support base is an integral part of these forums...
yes, because im always right!Do you really have to back up literally everything that RizlaUK says?
how else can it come across, it sounds like the rant of a spoilt 14yo that spat the dummy out because no-one agreed with him!I hope this doesn't come off as rude to you
Leave a comment:
-
Excuse me Sakuya, I was not backing him up in the first place, since I first wrote that it was not comparible because of the window etc
Secondly, I was simply agreeing
Is that illegal? And I agree with Centauri as well, if that's okay with you!
And yes, this comes of rude
Because frankly, it's not really your business who I agree with right?
Leave a comment:
-
at least we ended up laughing - is Rizla's point a fair one though Sakuya?
Leave a comment:
-
I think having a support base is an integral part of these forums...does someone want to back me up on that? :POriginally posted by Sakuya View PostDo you really have to back up literally everything that RizlaUK says? (i don't mean just this thread.)
Leave a comment:
-
Do you really have to back up literally everything that RizlaUK says? (i don't mean just this thread.)Originally posted by Imagine Programming View PostIndeed, there is so much more execution to be done in a GUI app.
(I hope this doesn't come off as rude to you, I'm just wondering.)Last edited by Sakuya; 06-20-2010, 11:06 AM.
Leave a comment:
-
Indeed, there is so much more execution to be done in a GUI app.Originally posted by RizlaUK View Postits true, i can get lua 5.1 to process a table containing over 1500 items in less than 1 second, add this to a PB UI and it takes over 8 seconds, add it to a AMS UI and it takes 15 seconds
console apps are notoriously faster than windowed apps, its not fair to compare them in a speed test
Leave a comment:
-
its true, i can get lua 5.1 to process a table containing over 1500 items in less than 1 second, add this to a PB UI and it takes over 8 seconds, add it to a AMS UI and it takes 15 seconds
console apps are notoriously faster than windowed apps, its not fair to compare them in a speed test
Leave a comment:
-
Yes, I know, but you can't compare this to AMS. If you use the Lua 5.2 works or LuaJIT for a large engine like AMS', you'll get some slower results too.Originally posted by Sakuya View PostI'm fully aware of that but there's still a massive margin in between the results.
Sure, it might be a little bit faster when using 5.2 or JIT, but the difference won't be huge.
Leave a comment:
-
I'm fully aware of that but there's still a massive margin in between the results.
Leave a comment:
-
Sakuya, don't forget that this is not really a valid test. The AMS test has a window, and tons of other stuff it has to do.
I'm sure that, when only the lua state and a console was used it'll be much faster.
Leave a comment:
-
AutoPlay Media Studio 8.0 vs LuaJIT 2.0-beta4 (x86) vs Lua 5.2-work2
What do you think about these statistics?
AutoPlay Media Studio 8.0

LuaJIT 2.0.0 (beta4)
(LuaJIT has proved to be tons faster than the default Lua VM.)

Lua 5.2 work2
(This is the binary downloaded from here.)

Now I might be doing it wrong but LuaJIT does this in no time at all, Lua 5.2-w2 takes 8 seconds. However, AutoPlay takes a good 40+ seconds.
The source code is here.
To get the output into a paragraph you must rewrite print, like this.Code:function sieve(n) x = {} iter = 0 repeat x[1] = 0 i = 2 repeat x[i] = 1 i = i + 1 until i > n p = 2 while(p * p <= n) do j = p while(j <= n) do x[j] = 0 j = j + p end repeat p = p + 1 until x[p] == 1 end iter = iter + 1 until iter == 101 end print("Sieve of Eratosthenes - Lua Benchmark test 0.00001") print("Start testing .....") start = os.time() sieve(100000); stop = os.time() print("Done!") print("Total Time = "..(stop - start))
Try this out, tell me what you get.Code:print = function(...) Paragraph.SetText("Paragraph1", Paragraph.GetText("Paragraph1").."\r\n"..Table.Concat(arg, " ", 1, -1)); end
I've attached the LuaJIT binary I compiled using Visual Studio 2008 on Windows Server 2003 and Lua 5.2 work2 found on the Lua.org website.
Extract them and run sieve.bat.
Leave a comment: