# Re: [NTG-context] XeConTeXt bug report I: strange benchmark

Yue Wang wrote:

On Tue, May 12, 2009 at 11:02 PM, Hans Hagen <pra...@wxs.nl> wrote:

Yue Wang wrote:

Hi, Hans:

here is the solution to your great feature:

huh? what great features? what's wrong with the features anyway? you want a
special version that instead prints hundreds of error messages each and
every run because some font is missing which in practice is harmless?


change
\def\defaultfontfile{lmmono10-regular}
in font-ini.mkii to
\def\defaultfontfile{"[lmmono10-regular]"}
to disable that feature.

it should be \defaultfontfile{file:lmmono10-regular} (when i  played with
that this morning it made not much difference on the test runs here but the
file: prefix does not hurt)



There is great difference here (8 sec compare to 1.2 seconds per run)


makes no difference here for the big test


\setupbodyfont[myzhfont] \dorecurse{10000}{{hello {\switchtobodyfont[myzhfont] 你好}}\par}


so it's probably also an operating system issue (caching files in mem, disk access etc)

-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
| 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 / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________