lua-users home
lua-l archive

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


FWIW, the results of my lots-o-memory GC benchmark with 5.2.2-rc3.

5.2.2-rc3 seems a bit better (faster, less memory usage) than 5.2.1
with every GC setting I tried _except_ the defaults... TT

5.2.x. does seem a lot better than 5.1 (and LuaJIT) at avoiding
slowdown with more aggressive GC settings.

Thanks,

-miles



Lua variant             Scene def CPU           Total CPU     Elapsed   MaxRSS
------------------------------------------------------------------------------
* stepmul = 200, pause = 100
lua5.1.5           155.8~0.1s (+2.4s)  159.8~0.2s (+2.6s)  165.6~3.3s  1,302MB
lua5.2.1           127.8~1.1s (+2.8s)  131.9~1.1s (+2.9s)  137.6~2.3s  1,901MB
lua5.2.2-rc3  -->  126.6~0.4s (+2.5s)  130.7~0.5s (+2.6s)  133.8~1.1s  1,623MB
luajit-2.0.0       143.9~1.0s (+4.1s)  147.7~1.1s (+4.2s)  152.1~1.0s  1,309MB
* stepmul = 200, pause = 200 (*default*)
lua5.1.5           138.6~0.4s (+2.7s)  142.6~0.3s (+2.8s)  148.6~1.7s  1,652MB
lua5.2.1           128.3~1.2s (+2.7s)  132.4~1.2s (+2.8s)  137.4~1.7s  1,904MB
lua5.2.2-rc3  -->  127.8~0.4s (+2.8s)  132.2~0.4s (+3.1s)  139.8~1.0s  2,157MB
luajit-2.0.0       134.3~1.0s (+4.2s)  138.2~0.9s (+4.4s)  142.7~0.9s  1,626MB
* stepmul = 300, pause = 100
lua5.1.5           160.1~0.4s (+2.3s)  164.0~0.3s (+2.5s)  167.0~0.3s  1,312MB
lua5.2.1           127.5~0.4s (+2.8s)  131.6~0.4s (+2.9s)  136.1~1.0s  1,831MB
lua5.2.2-rc3  -->  127.2~0.9s (+2.5s)  131.2~0.8s (+2.7s)  134.4~1.0s  1,512MB
luajit-2.0.0       147.6~0.3s (+4.2s)  151.4~0.3s (+4.4s)  156.0~0.3s  1,309MB
* stepmul = 300, pause = 200
lua5.1.5           138.3~0.4s (+2.7s)  142.4~0.4s (+2.8s)  147.7~0.9s  1,756MB
lua5.2.1           128.0~1.7s (+2.9s)  132.1~1.7s (+3.1s)  137.9~2.6s  2,000MB
lua5.2.2-rc3  -->  126.4~1.1s (+2.3s)  130.4~1.1s (+2.5s)  133.6~2.1s  1,771MB
luajit-2.0.0       134.5~0.9s (+4.2s)  138.3~0.8s (+4.4s)  143.7~1.9s  1,664MB
* stepmul = 500, pause = 100
lua5.1.5           174.0~1.2s (+2.4s)  178.0~1.1s (+2.5s)  180.7~1.1s  1,312MB
lua5.2.1           127.3~1.1s (+2.5s)  131.4~1.2s (+2.7s)  134.2~1.1s  1,650MB
lua5.2.2-rc3  -->  126.1~0.8s (+2.5s)  130.2~0.8s (+2.7s)  133.1~0.8s  1,372MB
luajit-2.0.0       159.2~1.4s (+4.1s)  163.0~1.4s (+4.3s)  167.5~1.5s  1,309MB
* stepmul = 500, pause = 200
lua5.1.5           137.4~0.3s (+2.6s)  141.5~0.3s (+2.8s)  147.1~0.5s  1,748MB
lua5.2.1           127.3~0.5s (+2.8s)  131.4~0.5s (+3.0s)  135.9~1.1s  1,888MB
lua5.2.2-rc3  -->  126.9~0.7s (+2.4s)  130.9~0.8s (+2.5s)  133.8~1.3s  1,704MB
luajit-2.0.0       134.3~0.7s (+4.2s)  138.1~0.7s (+4.4s)  142.7~0.7s  1,626MB

* Samples: 5
* CPU times are in the form "user (+sys)"; standard deviation follows "~"


-- 
"... The revolution will be no re-run brothers; The revolution will be live."