[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: why benchmarks need salt
- From: Scott Morgan <blumf@...>
- Date: Mon, 20 Jul 2015 17:15:06 +0100
On 20/07/15 17:00, Roberto Ierusalimschy wrote:
> I was doing some quick-and-dirty benchmarks about 'table.move'. The
> file 'temp' is here:
...
> Now, see how the times change with the name of the executable:
>
> roberto@arraial:~/prj/lua$ lua temp
> 0.91
> roberto@arraial:~/prj/lua$ lua temp
> 0.91
> roberto@arraial:~/prj/lua$ mv lua lua1
> roberto@arraial:~/prj/lua$ lua1 temp
> 0.57
> roberto@arraial:~/prj/lua$ lua1 temp
> 0.57
> roberto@arraial:~/prj/lua$ mv lua1 sol
> roberto@arraial:~/prj/lua$ sol temp
> 0.91
> roberto@arraial:~/prj/lua$ sol temp
> 0.91
> roberto@arraial:~/prj/lua$ mv sol sol1
> roberto@arraial:~/prj/lua$ sol1 temp
> 0.57
> roberto@arraial:~/prj/lua$ sol1 temp
> 0.58
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.
Scott