On 26.01.2013 16:20, Stephan Hennig wrote:
$ time lua.exe test-pipe.lua googlebooks-ger-all-1gram-20090715-0.csv.zip
real 0m21.437s
user 0m0.015s
sys 0m0.015s
$ time texlua.exe test-pipe.lua
googlebooks-ger-all-1gram-20090715-0.csv.zip
real 4m53.810s
user 0m0.015s
sys 0m0.015s
texlua is more than 13 times slower than lua. Is this a known issue?
voss@shania:~> time lua test-pipe.lua
Download/googlebooks-ger-all-1gram-20090715-0.csv.zip
unzip -p Download/googlebooks-ger-all-1gram-20090715-0.csv.zip
real 0m10.488s
user 0m14.325s
sys 0m0.907s
voss@shania:~> time texlua test-pipe.lua
Download/googlebooks-ger-all-1gram-20090715-0.csv.zip
unzip -p Download/googlebooks-ger-all-1gram-20090715-0.csv.zip
real 0m17.273s
user 0m22.695s
sys 0m0.899s
voss@shania:~> texlua -v
This is LuaTeX, Version beta-0.70.2-2012052410 (TeX Live 2012)
Herbert