[NTG-pdftex] processing speed

Hartmut Henkel hartmut_henkel at gmx.de
Sat May 30 13:43:34 CEST 2009


On Sat, 30 May 2009, Taco Hoekwater wrote:

> Hartmut Henkel wrote:
> > On Sat, 30 May 2009, The Thanh Han wrote:
> >
> > > so indeed pdftex seems to spend a lot of time allocating memory. The
> > > number of zgetnode() calls is the same (708325535 in both cases),
> > > however pdftex calls took more time...
> >
> > and it looks like 1.40.6 is ok, no slowdown. the main difference may be
> > that 1.40.6 has on synctex yet.
>
> I am running a luatex test, and it does not seem to slow down
> (it is not even at 20% yet though, this processor is fairly old)

looks like you are using another get_node() method. In pdftex it seems
that it rather often goes to

    @<Grow more variable-size memory and |goto restart|@>=

There is not much time-consuming code in this chunk, but the "got
restart" may give a lengthy rovering each time. At least when i increase
t:=lo_mem_max+100000 so to grow mem in larger chunks, speed slowdown is
much less tremendous. By then, why does it need so much more memory?

Regards, Hartmut


More information about the ntg-pdftex mailing list