lua-users home
lua-l archive

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




On Mon, Jun 25, 2018 at 12:35 PM, dyngeccetor8 <dyngeccetor8@disroot.org> wrote:
On 06/25/2018 09:00 AM, Russell Haley wrote:
> Raw numbers on Windows 10 - Third Gen i7 laptop
>
> Lua 5.3:
> https://pastebin.com/ti0MwpxN
>
> Lua 5.4:
> https://pastebin.com/ZVrUDZfv
>
> 5.4 seems a smidgen faster.
>
> Night,
> Russ

It's strange that on your machine there is no difference.

Idea was to exploit new garbage collector. More specifically,
it's performance in registering new objects. Which gives
two-fold performance drop on my machine. It looks like
on your machine new collector works just same (or disabled
in both cases). I have no ideas to explain this.

I have 16 GB ram on the computer.  Could that explain anything? I'll try it again on FreeBSD if my "Attention Deficit Disorder" doesn't distract me tonight (I get about 1.5 - 2 hours at night, it's hard to stay focused on anything).  I see there is possible DTrace support for Lua via this er.. add in.. https://github.com/chrisa/lua-usdt. That would be a fun little project as I've been looking for a reason to do some more DTrace scripting.

Russ


-- Martin