[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: The Lua interpreter and large scripts
- From: Norbert Kiesel <nkiesel@...>
- Date: Fri, 13 Nov 2009 10:46:46 -0800
results for all variants:
lua <<< 'dofile("show.lua"); dofile("default.lua"); os.exit()' 4.28s user 0.42s system 99% cpu 4.703 total
lua <<< 'dofile("default.lua"); dofile("show.lua"); os.exit()' 4.31s user 0.34s system 98% cpu 4.730 total
Lua 5.1.4 Copyright (C) 1994-2008 Lua.org, PUC-Rio
> dofile("show.lua"); os.exit()
lua -i default.lua <<< 'dofile("show.lua"); os.exit()' 4.36s user 0.37s system 99% cpu 4.772 total
Lua 5.1.4 Copyright (C) 1994-2008 Lua.org, PUC-Rio
> dofile("default.lua"); os.exit()
lua -i show.lua <<< 'dofile("default.lua"); os.exit()' 4.28s user 0.37s system 99% cpu 4.655 total
So running show.lua before default.lua is a bit faster for me than the
other way around, but all are in the same ballpark (+- 3% or so)
</nk>
- References:
- Re: The Lua interpreter and large scripts, Luiz Henrique de Figueiredo
- Re: The Lua interpreter and large scripts, Mike Pall
- Re: The Lua interpreter and large scripts, Sean Conner
- Re: The Lua interpreter and large scripts, Mike Pall
- Re: The Lua interpreter and large scripts, Sean Conner
- Re: The Lua interpreter and large scripts, Mike Pall
- Re: The Lua interpreter and large scripts, Sean Conner
- Re: The Lua interpreter and large scripts, KHMan
- Re: The Lua interpreter and large scripts, Sean Conner
- Re: The Lua interpreter and large scripts, Luiz Henrique de Figueiredo
- Re: The Lua interpreter and large scripts, Sean Conner
- Re: The Lua interpreter and large scripts, Norbert Kiesel