[NTG-context] No performance improvement under OS X with new beta?

Matthias Weber matweber at indiana.edu
Fri Mar 4 19:43:56 CET 2005


On Mar 4, 2005, at 12:24 PM, Hans Hagen wrote:

> Matthias Weber wrote:
>> Hello,
>> after the recent discussion of ConTeXt processing (some) files 4 
>> times as often under OS X
>> than elsewhere, I decided to upgrade to the most recent beta and run 
>> a speed comparison
>> on notes I am writing. To my dismay, here are the results:
>> Old version:
>> ConTeXt  ver: 2004.11.23  fmt: 2004.12.16
>> TeXExec 5.2.3
>> total run time : 324 seconds
>> New version:
>> ConTeXt  ver: 2005.03.02  fmt: 2005.3.4
>>  total run time : 416 seconds
>> And I was hoping for a speed increase by a factor of 4 :(
>> (I renamed the TeX source for both runs)
>> Of course I am completely ignorant about the internals, but at least
>> I didn't expect that it would run slower.
>
> how many runs?
>
> normally context only becomes faster, so i wonder why it is so much 
> slower
>
> did you compare the logs?
>
> Hans
>



How do I count the number of runs? I mean, do I have to count, or does 
it tell me somewhere so that I can look it up?

The log files are lengthy, maybe the memory usage is of interest:

Run A:

12246 strings out of 64833
  221604 string characters out of 691267
  4755370 words of memory out of 6327867
  43583 multiletter control sequences out of 10000+50000
  21681 words of font info for 72 fonts, out of 2000000 for 2000
  104 hyphenation exceptions out of 1000
  58i,30n,104p,1295b,3134s stack positions out of 
1500i,500n,5000p,200000b,5000s
  6067 PDF objects out of 300000
  857 named destinations out of 131072
  956 words of extra memory for PDF output out of 65536


Run B:

Here is how much of TeX's memory you used:
  12374 strings out of 62208
  224135 string characters out of 638791
  4793260 words of memory out of 6324620
  46119 multiletter control sequences out of 10000+50000
  164026 words of font info for 78 fonts, out of 2000000 for 2000
  144 hyphenation exceptions out of 1000
  58i,30n,104p,1295b,3136s stack positions out of 
5000i,500n,6000p,200000b,40000s
PDF statistics:
  6073 PDF objects out of 300000
  857 named destinations out of 131072
  956 words of extra memory for PDF output out of 65536

The 'words of font info' (whatever it is) looks kind of strange to me.


Matthias



More information about the ntg-context mailing list