[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: [ANN] Lua 5.4.0 (work2) now available
- From: dyngeccetor8 <dyngeccetor8@...>
- Date: Tue, 26 Jun 2018 12:39:40 +0300
On 06/26/2018 08:53 AM, Russell Haley wrote:
> The results on FreeBSD are more in line with your original results.
>
> https://pastebin.com/NCW35L2B
>
> I reported the final memory usage, but it doesn't really tell much of a
> story. When watching the memory climb in 'top' the 5.4 interpreter memory
> usage seemed to rise more slowly in more measured increments. I noticed in
> 5.3 that it will allocate big chunks (300 or more MB) of memory at a time,
> but also de-allocate big chunks at a time (I saw the system free over 1 GB
> of memory once, but often ~400 MB).
>
> Russ
Thank you for testing!
I used this benchmark on 16GB memory machine, where it ate around 8GB.
For another memory sizes you can change <num_iterations> or <table_width>.
Yesterday I ran this test on Lua 5.2.4 and 5.1.5. From younger to older,
run times and memory consumption increased. 5.3.4 has outstanding run time.
This looks like a curse of local minimum.
-- Martin