[luatex] slow io.popen

Taco Hoekwater taco at elvenkind.com
Sun Jan 27 11:37:40 CET 2013


On 01/26/2013 06:08 PM, Stephan Hennig wrote:
> Am 26.01.2013 17:38, schrieb Herbert Voss:
>> On 26.01.2013 16:20, Stephan Hennig wrote:
>>
>> voss at 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 at 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
>
> Thanks for cross-checking!  While texlua is somewhat slower on Linux,
> too, the big slowness seems to be Windows related.

The extra slowness on linux is as expected: texlua has some extra
code in io that is needed for 'luatex' mode, making it run a tad
slower than the standard version. The windows issue is something
that a windows person (probably Akira) should look at.

Best wishes,
Taco



More information about the luatex mailing list