ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen via ntg-context <ntg-context@ntg.nl>
To: Rik Kabel via ntg-context <ntg-context@ntg.nl>
Cc: Hans Hagen <j.hagen@freedom.nl>
Subject: Re: bottlenecks
Date: Sat, 17 Dec 2022 10:48:48 +0100	[thread overview]
Message-ID: <384a66cc-77fd-6463-0f8c-a8cd7742f15c@freedom.nl> (raw)
In-Reply-To: <b92f0347-75dd-ed72-7403-74ed725b3f8b@rik.users.panix.com>

On 12/17/2022 1:05 AM, Rik Kabel via ntg-context wrote:

> The laptop was hot stuff in 2017 with 16GB RAM, 1TB SSD, and a 4K touch 
> screen -- today, not so hot. Due to be replaced next year.

so a bit like the surface i have as spare (which was slower than the 
2013 precission that i recently replaced by a 2018 one)

> Here are the numbers without compact fonts enabled. Not much difference.

>     mkiv lua stats  > font engine: otf 3.131, afm 1.513, tfm 1.000, 84
>     instances, 67 shared in backend, 3 common vectors, 64 common hashes,
>     load time 1.076 seconds

which means that you don't run in compact mode

> I do have some macros that are likely to make you (and others who are 
> more adept at such things) cringe. Happy to share more of the source if 
> it is helpful.

sure

> I have also run with --profile and have attached that log as well as the 
> complete execution log (zipped together as logs.zip).
here are a few:

0.613002300 s    0.138 %     0.609968531 s    0.160 %      3674 # 
prerollreference

  0.420704300 s    0.095 %     0.420702649 s    0.110 %         2 # 
analyzeregister

0.425307400 s    0.096 %     0.425299968 s    0.111 %         9 # 
action                                   1358 
...MTX/tex/texmf-context/tex/context/base/mkxl/math-act.lmt

0.681407500 s    0.154 %     0.681338138 s    0.178 %        84 # 
otftotfm                                  611 
...MTX/tex/texmf-context/tex/context/base/mkxl/font-otl.lmt

few calls, much runtime

Hans

-----------------------------------------------------------------
                                           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
___________________________________________________________________________________

  reply	other threads:[~2022-12-17  9:48 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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           ` Hans Hagen via ntg-context [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=384a66cc-77fd-6463-0f8c-a8cd7742f15c@freedom.nl \
    --to=ntg-context@ntg.nl \
    --cc=j.hagen@freedom.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).