lua-users home
lua-l archive

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


> I don't know how representative my workload is, as it uses a lot of
> userdata objects (many of which are GCed by Lua) and calls to external
> code (e.g. LPEG :); I imagine you guys have your own set of GC
> benchmarks that might do a better job of showing performance for pure
> Lua programs.
> 
> However, based on my results, it looks like the 5.2 GC settings could
> be made more aggressive without incurring any slowdown.
> [...]
> 
> The best results are at "pause = 100, stepmul = 500", which gives both
> better performance and lower memory usage than Lua 5.1.5.
> 
> However, just using "pause = 100" by itself yields a good improvement
> in memory usage over the default settings (and memory usage on par
> with 5.1.5 at its default settings).

For now (that is, 5.2.2) I will keep as it is, because it is already
practically closed. But I will try to change that for the next release.

-- Roberto