[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: why benchmarks need salt
- From: Roberto Ierusalimschy <roberto@...>
- Date: Mon, 20 Jul 2015 13:23:52 -0300
> What happens if you use full paths to the executable? That is, is it
> just the file name itself, or something to do with argv data.
Probably argv:
roberto@arraial:~/prj/lua$ lua temp
0.9
roberto@arraial:~/prj/lua$ ./lua temp
0.57
roberto@arraial:~/prj/lua$ lua temp a
0.58
(I already had that kind of behavior before, but it was clearly some
issue with the GC versus differences in the initial memory allocations
caused by the 'arg' table. But this test with 'table.move' does zero
allocations during the measured code.)
-- Roberto