mirror of https://github.com/odrling/Aegisub
52 lines
2.3 KiB
Plaintext
52 lines
2.3 KiB
Plaintext
|
Luabins 0.2 benchmark (see etc/benchmark.lua) results on
|
||
|
|
||
|
MacBook Pro 2.4 GHz Intel Core Duo 2.66 MB DDR2 SDRAM
|
||
|
OS X 10.6.2
|
||
|
GCC 4.2.1 (Apple Inc. build 5646) (dot 1)
|
||
|
Lua 5.1.4 from MacPorts
|
||
|
Luabins built with default Makefile configuration
|
||
|
|
||
|
Note that the data used in benchmark is quite trivial. You're advised
|
||
|
to find out if Luabins is "fast enough" for you by yourself.
|
||
|
|
||
|
Lua
|
||
|
-------------------------------------------------------------------
|
||
|
name | rel | abs s / iter = us (1e-6 s) / iter
|
||
|
-------------------------------------------------------------------
|
||
|
luabins_save | 1.0000 | 4.21 / 1000000 = 4.210000 us
|
||
|
luabins_load | 1.2043 | 5.07 / 1000000 = 5.070000 us
|
||
|
loadstring | 4.7435 | 19.97 / 1000000 = 19.970000 us
|
||
|
concat | 10.6413 | 44.80 / 1000000 = 44.800000 us
|
||
|
|
||
|
===================================================================
|
||
|
|
||
|
Luabins 0.1 benchmark (see etc/benchmark.lua) results on
|
||
|
|
||
|
MacBook Pro 2.4 GHz Intel Core Duo 2.66 MB DDR2 SDRAM
|
||
|
OS X 10.5.6
|
||
|
GCC 4.0.1 (Apple Inc. build 5490)
|
||
|
Lua 5.1.4 from MacPorts
|
||
|
LuaJIT 1.1.3 built from sources with default configuration
|
||
|
Luabins built with default configuration
|
||
|
|
||
|
Note that the data used in benchmark is quite trivial. You're advised
|
||
|
to find out if Luabins is "fast enough" for you by yourself.
|
||
|
|
||
|
Lua
|
||
|
-------------------------------------------------------------------
|
||
|
name | rel | abs s / iter = us (1e-6 s) / iter
|
||
|
-------------------------------------------------------------------
|
||
|
luabins_load | 1.0000 | 6.34 / 1000000 = 6.340000 us
|
||
|
luabins_save | 1.7256 | 10.94 / 1000000 = 10.940000 us
|
||
|
loadstring | 3.6530 | 23.16 / 1000000 = 23.160000 us
|
||
|
concat | 10.0741 | 63.87 / 1000000 = 63.870000 us
|
||
|
|
||
|
LuaJIT -O
|
||
|
-------------------------------------------------------------------
|
||
|
name | rel | abs s / iter = us (1e-6 s) / iter
|
||
|
-------------------------------------------------------------------
|
||
|
luabins_load | 1.0000 | 5.40 / 1000000 = 5.400000 us
|
||
|
luabins_save | 1.6111 | 8.70 / 1000000 = 8.700000 us
|
||
|
concat | 6.6630 | 35.98 / 1000000 = 35.980000 us
|
||
|
loadstring | 23.6370 | 127.64 / 1000000 = 127.640000 us
|