Hello Hans,
keep in mind that the texgyre fonts got larger over time
I am using the same version to test, but....
it's also one of the places where luajittex has some benefits
some? This was the key. I have used luajittex before and my measurements were broken. Using luajittex 0.79.0 makes it fast again. Thanks for pointing me in the right direction! Patrick
On 4/4/2014 12:42 PM, Patrick Gundlach wrote:
Hello Hans,
keep in mind that the texgyre fonts got larger over time
I am using the same version to test, but....
it's also one of the places where luajittex has some benefits
some? This was the key. I have used luajittex before and my measurements were broken. Using luajittex 0.79.0 makes it fast again.
sure .. depends on the definition of some -) for me anything < 50% is some but with a local g = ... in case of accessing multiple keys even regular luatex should be ok (fyi: there are cases where luajittex was actually n times slower with n
1 but after much experimenting with managed to get rid of that)
Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
sure .. depends on the definition of some -) for me anything < 50% is some
it was way more. Approx. 1.7 seconds including "local g = ..." with regular LuaTeX and 0.5 seconds without "local g = ..." with luajittex total run time. This is pretty good, I think
but with a local g = ... in case of accessing multiple keys even regular luatex should be ok
I didn't manage to get the time down very much. The good news is that I can sill generate pages on the fly for almost live preview. 0.5 seconds is ok, but 2 would cause a delay that's too large. Patrick
On 4/4/2014 1:04 PM, Patrick Gundlach wrote:
sure .. depends on the definition of some -) for me anything < 50% is some
it was way more. Approx. 1.7 seconds including "local g = ..." with regular LuaTeX and 0.5 seconds without "local g = ..." with luajittex total run time. This is pretty good, I think
but with a local g = ... in case of accessing multiple keys even regular luatex should be ok
I didn't manage to get the time down very much.
The good news is that I can sill generate pages on the fly for almost live preview. 0.5 seconds is ok, but 2 would cause a delay that's too large.
5. sec is ok ... you can disable pdf compression for preview and maybe gain some more (but in the end it also depends on other processes being busy). Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
participants (2)
-
Hans Hagen
-
Patrick Gundlach