lua-users home
lua-l archive

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

Hi everybody,
I'm making a little of benchmark with lua and I'm comparing it with Java.
I tried to implement Whetstone and dhrystone algorithms and I get the following results:
Java: Execution time: 0.125 seconds
Lua:  Execution time: 1.453 seconds.

Java: Execution time: 0.938 seconds

Lua: Execution time: 13.609 seconds

These kinds of results are strange. Is java fastest than lua?
Or I did something wrong implementing these algorithms?

Thank you

Inviato da Yahoo! Mail.
La web mail più usata al mondo.