[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: 'setobj' in lua-5.4.0-alpha-rc2 become more faster
- From: Andrew Gierth <andrew@...>
- Date: Sat, 15 Jun 2019 01:00:35 +0100
>>>>> ">" == 重归混沌 <findstrx@gmail.com> writes:
>> By the way, can you tell me what's the `performance monitors` you
>> used.
I don't know what tools are available on linux; what I used (on FreeBSD)
was the hwpmc driver and pmcstat, which gets information from the
hardware performance counters in the CPU. The precise set of events that
can be monitored depends a lot on the CPU you're using, but can be quite
extensive.
Another oddity I'm seeing is that the old setobj is giving me timings
that can vary by over 20% based on the length of the command line and
environment - literally adding a few blank spaces can affect it. I'm
guessing this is some caching effect - aliasing between somewhere in the
stack and something else, I suppose. Still looking into that one as time
permits.
--
Andrew.