[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Squeezing more performance from the Lua interpreter
- From: v <v19930312@...>
- Date: Thu, 20 Aug 2020 16:23:15 +0300
On Thu, 2020-08-20 at 08:50 -0300, Eduardo Bart wrote:
> 1. Setting a baseline.
> My baseline is the Lua 5.4 interpreter using just "-O2" optimization
> in CFLAGS,
> Other things I've tried and made almost no difference:
> * Adding -march=native CFLAGS.
I suspect that -march=native might have bigger impact at -O3, where
automatic vectorization is allowed, so machine-specific boost from
-march becomes more noticable. Can't say this reliably.
Either way, -O3 alone may raise performance.