ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* bottlenecks
@ 2022-12-16 17:10 Hans Hagen via ntg-context
  2022-12-16 19:36 ` bottlenecks Henning Hraban Ramm via ntg-context
  2022-12-18 13:14 ` bottlenecks mf via ntg-context
  0 siblings, 2 replies; 19+ messages in thread
From: Hans Hagen via ntg-context @ 2022-12-16 17:10 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Hans Hagen

Hi,

I'm (occasionally) trying to 'minimize' bottlenecks in the context / 
luametatex code. This is kind of hard because both are rather efficient 
already. On regular runs performance is probably okay but there are 
cases when one has a large complex document (e.g. with many tables) or 
has many runs (e.g. thousands of documents in one go). In that case even 
minor speedups can accumulate and become measurable (esp on vms and runs 
over a network). It can safe time and also energy (which can matter 
todays KWh pricing).

So the challenge is how to determine bottlenecks. Are there users on 
this list that have document runs of more than 10 seconds (as reference: 
the luametatex manual takes < 9 seconds for 350 pages and loads plenty 
fonts and has many tables) or have many (small) runs and are annoyed by 
the runtime? And if so, what does one guess are the bottlenecks?

Hans

ps. Much runtime is spent in Lua and there is not that much we can do 
about making that faster.

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
        tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : https://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2022-12-18 21:35 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-16 17:10 bottlenecks Hans Hagen via ntg-context
2022-12-16 19:36 ` bottlenecks Henning Hraban Ramm via ntg-context
2022-12-16 20:02   ` bottlenecks Hans Hagen via ntg-context
2022-12-16 21:08     ` bottlenecks Rik Kabel via ntg-context
2022-12-16 22:07       ` bottlenecks Hans Hagen via ntg-context
2022-12-17  0:05         ` bottlenecks Rik Kabel via ntg-context
2022-12-17  9:48           ` bottlenecks Hans Hagen via ntg-context
2022-12-17 15:05             ` bottlenecks Rik Kabel via ntg-context
2022-12-17 17:21               ` bottlenecks Hans Hagen via ntg-context
2022-12-17 21:11                 ` bottlenecks Alan Braslau via ntg-context
2022-12-17 21:35                   ` bottlenecks Hans Hagen via ntg-context
2022-12-18 21:35                     ` bottlenecks Alan Braslau via ntg-context
2022-12-17 16:02     ` bottlenecks Henning Hraban Ramm via ntg-context
2022-12-17 17:43       ` bottlenecks Hans Hagen via ntg-context
2022-12-18 13:14 ` bottlenecks mf via ntg-context
2022-12-18 13:19   ` bottlenecks mf via ntg-context
2022-12-18 13:49   ` bottlenecks Hans Hagen via ntg-context
2022-12-18 15:21     ` bottlenecks mf via ntg-context
2022-12-18 15:27       ` bottlenecks Hans Hagen via ntg-context

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).