* isn't it too slow?
@ 2011-12-06 12:22 Pablo Rodríguez
2011-12-06 13:30 ` Wolfgang Schuster
2011-12-06 17:15 ` Hans Hagen
0 siblings, 2 replies; 13+ messages in thread
From: Pablo Rodríguez @ 2011-12-06 12:22 UTC (permalink / raw)
To: mailing list for ConTeXt users
Hi there,
compiling this minimal file:
\definepapersize[aa][width=2cm,height=1cm]
\setuppapersize[aa]
\setuppagenumbering[location=]
\usemodule[simplefonts][size=12pt]
\definesimplefont[amsmile][TeX Gyre Pagella]
\starttext
\TeX\ \amsmile \TeX
\stoptext
using
This is LuaTeX, Version beta-0.70.1-2011061416 (rev 4277)
ConTeXt ver: 2011.05.18 18:04 MKIV fmt: 2011.8.1 int: english/english
took
system | total runtime: 144.057
Replacing the TeX Gyre Pagella font with small caps only takes
system | total runtime: 6.753
I guess something is wrong here, even if I'm doing something wrong.
Just in case it helps,
Pablo
--
http://www.ousia.tk
___________________________________________________________________________________
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 : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: isn't it too slow?
2011-12-06 12:22 isn't it too slow? Pablo Rodríguez
@ 2011-12-06 13:30 ` Wolfgang Schuster
2011-12-06 14:55 ` Pablo Rodríguez
2011-12-06 17:15 ` Hans Hagen
1 sibling, 1 reply; 13+ messages in thread
From: Wolfgang Schuster @ 2011-12-06 13:30 UTC (permalink / raw)
To: mailing list for ConTeXt users
Am 06.12.2011 um 13:22 schrieb Pablo Rodríguez:
> Hi there,
>
> compiling this minimal file:
>
> \definepapersize[aa][width=2cm,height=1cm]
> \setuppapersize[aa]
> \setuppagenumbering[location=]
> \usemodule[simplefonts][size=12pt]
> \definesimplefont[amsmile][TeX Gyre Pagella]
> \starttext
> \TeX\ \amsmile \TeX
> \stoptext
>
> using
>
> This is LuaTeX, Version beta-0.70.1-2011061416 (rev 4277)
> ConTeXt ver: 2011.05.18 18:04 MKIV fmt: 2011.8.1 int: english/english
>
> took
>
> system | total runtime: 144.057
>
> Replacing the TeX Gyre Pagella font with small caps only takes
>
> system | total runtime: 6.753
>
> I guess something is wrong here, even if I'm doing something wrong.
The example takes here less than a second.
Wolfgang
___________________________________________________________________________________
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 : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: isn't it too slow?
2011-12-06 13:30 ` Wolfgang Schuster
@ 2011-12-06 14:55 ` Pablo Rodríguez
2011-12-06 17:14 ` Hans Hagen
0 siblings, 1 reply; 13+ messages in thread
From: Pablo Rodríguez @ 2011-12-06 14:55 UTC (permalink / raw)
To: mailing list for ConTeXt users
On 12/06/2011 02:30 PM, Wolfgang Schuster wrote:
>>
>> Replacing the TeX Gyre Pagella font with small caps only takes
>>
>> system | total runtime: 6.753
>
> The example takes here less than a second.
My question would be then why in the normal case my system is ×7 slower?
Pablo
--
http://www.ousia.tk
___________________________________________________________________________________
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 : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: isn't it too slow?
2011-12-06 14:55 ` Pablo Rodríguez
@ 2011-12-06 17:14 ` Hans Hagen
2011-12-06 21:16 ` Pablo Rodríguez
0 siblings, 1 reply; 13+ messages in thread
From: Hans Hagen @ 2011-12-06 17:14 UTC (permalink / raw)
To: mailing list for ConTeXt users; +Cc: Pablo Rodríguez
On 6-12-2011 15:55, Pablo Rodríguez wrote:
> On 12/06/2011 02:30 PM, Wolfgang Schuster wrote:
>>>
>>> Replacing the TeX Gyre Pagella font with small caps only takes
>>>
>>> system | total runtime: 6.753
>>
>> The example takes here less than a second.
>
> My question would be then why in the normal case my system is ×7 slower?
you can see at the end of the log where the time is spent .. do you have
a cache (for fonts and such)?
Hans
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 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 : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: isn't it too slow?
2011-12-06 12:22 isn't it too slow? Pablo Rodríguez
2011-12-06 13:30 ` Wolfgang Schuster
@ 2011-12-06 17:15 ` Hans Hagen
2011-12-06 21:07 ` Pablo Rodríguez
1 sibling, 1 reply; 13+ messages in thread
From: Hans Hagen @ 2011-12-06 17:15 UTC (permalink / raw)
To: mailing list for ConTeXt users; +Cc: Pablo Rodríguez
On 6-12-2011 13:22, Pablo Rodríguez wrote:
> Hi there,
>
> compiling this minimal file:
>
> \definepapersize[aa][width=2cm,height=1cm]
> \setuppapersize[aa]
> \setuppagenumbering[location=]
> \usemodule[simplefonts][size=12pt]
> \definesimplefont[amsmile][TeX Gyre Pagella]
> \starttext
> \TeX\ \amsmile \TeX
> \stoptext
>
> using
>
> This is LuaTeX, Version beta-0.70.1-2011061416 (rev 4277)
> ConTeXt ver: 2011.05.18 18:04 MKIV fmt: 2011.8.1 int: english/english
>
> took
>
> system | total runtime: 144.057
that can be because you ask for a font by name in which case the font
name cache is regenerated ... so that happen seldom
> Replacing the TeX Gyre Pagella font with small caps only takes
>
> system | total runtime: 6.753
probably a first time caching of the font
> I guess something is wrong here, even if I'm doing something wrong.
successive runs should be fast
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 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 : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: isn't it too slow?
2011-12-06 17:15 ` Hans Hagen
@ 2011-12-06 21:07 ` Pablo Rodríguez
2011-12-06 21:58 ` Idris Samawi Hamid ادريس سماوي حامد
0 siblings, 1 reply; 13+ messages in thread
From: Pablo Rodríguez @ 2011-12-06 21:07 UTC (permalink / raw)
To: mailing list for ConTeXt users
On 12/06/2011 06:15 PM, Hans Hagen wrote:
> On 6-12-2011 13:22, Pablo Rodríguez wrote:
>> Hi there,
>>
>> compiling this minimal file:
>>
>> \definepapersize[aa][width=2cm,height=1cm]
>> \setuppapersize[aa]
>> \setuppagenumbering[location=]
>> \usemodule[simplefonts][size=12pt]
>> \definesimplefont[amsmile][TeX Gyre Pagella]
>> \starttext
>> \TeX\ \amsmile \TeX
>> \stoptext
>>
>> using
>>
>> This is LuaTeX, Version beta-0.70.1-2011061416 (rev 4277)
>> ConTeXt ver: 2011.05.18 18:04 MKIV fmt: 2011.8.1 int: english/english
>>
>> took
>>
>> system | total runtime: 144.057
>
> that can be because you ask for a font by name in which case the font
> name cache is regenerated ... so that happen seldom
>
>> Replacing the TeX Gyre Pagella font with small caps only takes
>>
>> system | total runtime: 6.753
>
> probably a first time caching of the font
When I update TeXLive 2011 invoking:
tlmgr update --self --all
after that I have to manually run:
mtxrun --script fonts --reload
if anything on the ConTeXt system has changed.
Otherwise, things like this happen every time I compile a ConTeXt document.
I guess there might be something wrong in tlmgr when updating ConTeXt,
but this is beyond my knowledge.
>> I guess something is wrong here, even if I'm doing something wrong.
>
> successive runs should be fast
If I don't regenerate the font cache as above, I get this mess every
time I compile a ConTeXt document invoking a system font by name.
Thanks for your help,
Pablo
--
http://www.ousia.tk
___________________________________________________________________________________
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 : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: isn't it too slow?
2011-12-06 17:14 ` Hans Hagen
@ 2011-12-06 21:16 ` Pablo Rodríguez
2011-12-06 21:29 ` Wolfgang Schuster
0 siblings, 1 reply; 13+ messages in thread
From: Pablo Rodríguez @ 2011-12-06 21:16 UTC (permalink / raw)
To: mailing list for ConTeXt users
On 12/06/2011 06:14 PM, Hans Hagen wrote:
> On 6-12-2011 15:55, Pablo Rodríguez wrote:
>> On 12/06/2011 02:30 PM, Wolfgang Schuster wrote:
>>>>
>>>> Replacing the TeX Gyre Pagella font with small caps only takes
>>>>
>>>> system | total runtime: 6.753
>>>
>>> The example takes here less than a second.
>>
>> My question would be then why in the normal case my system is ×7 slower?
>
> you can see at the end of the log where the time is spent .. do you have
> a cache (for fonts and such)?
I guess I have a font cache. I didn't configure anything, I use it as it
comes with TeXLive 2011.
I guess I have a font cache, because I use OS fonts with simplefonts.
But the same should happen to Wolfgang (and I don't think that his
computer is ×7 faster than my laptop).
But the example doesn't load system fonts, only Latin Modern.
Just in case you want to test my minimal sample:
\definepapersize[aa][width=2cm,height=1cm]
\setuppapersize[aa]
\setuppagenumbering[location=]
\starttext
\TeX\ \sc\word\ \TeX
\stoptext
But I think that less than a second total compiling time is too fast
only to load the ConTeXt macros.
Thanks for your help,
Pablo
--
http://www.ousia.tk
___________________________________________________________________________________
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 : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: isn't it too slow?
2011-12-06 21:16 ` Pablo Rodríguez
@ 2011-12-06 21:29 ` Wolfgang Schuster
2011-12-06 21:42 ` Hans Hagen
2011-12-07 18:18 ` Pablo Rodríguez
0 siblings, 2 replies; 13+ messages in thread
From: Wolfgang Schuster @ 2011-12-06 21:29 UTC (permalink / raw)
To: mailing list for ConTeXt users
Am 06.12.2011 um 22:16 schrieb Pablo Rodríguez:
> Just in case you want to test my minimal sample:
>
> \definepapersize[aa][width=2cm,height=1cm]
> \setuppapersize[aa]
> \setuppagenumbering[location=]
> \starttext
> \TeX\ \sc\word\ \TeX
> \stoptext
>
> But I think that less than a second total compiling time is too fast
> only to load the ConTeXt macros.
Why not, this is what I get from your example (time context test.tex):
real 0m0.922s
user 0m0.853s
sys 0m0.061s
Wolfgang
___________________________________________________________________________________
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 : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: isn't it too slow?
2011-12-06 21:29 ` Wolfgang Schuster
@ 2011-12-06 21:42 ` Hans Hagen
2011-12-07 18:18 ` Pablo Rodríguez
1 sibling, 0 replies; 13+ messages in thread
From: Hans Hagen @ 2011-12-06 21:42 UTC (permalink / raw)
To: mailing list for ConTeXt users
On 6-12-2011 22:29, Wolfgang Schuster wrote:
>
> Am 06.12.2011 um 22:16 schrieb Pablo Rodríguez:
>
>> Just in case you want to test my minimal sample:
>>
>> \definepapersize[aa][width=2cm,height=1cm]
>> \setuppapersize[aa]
>> \setuppagenumbering[location=]
>> \starttext
>> \TeX\ \sc\word\ \TeX
>> \stoptext
>>
>> But I think that less than a second total compiling time is too fast
>> only to load the ConTeXt macros.
>
> Why not, this is what I get from your example (time context test.tex):
>
> real 0m0.922s
> user 0m0.853s
> sys 0m0.061s
and when loading another font (before \starttext) than latin roman it's
even less
Hans
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 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 : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: isn't it too slow?
2011-12-06 21:07 ` Pablo Rodríguez
@ 2011-12-06 21:58 ` Idris Samawi Hamid ادريس سماوي حامد
2011-12-06 22:09 ` Hans Hagen
2011-12-07 18:35 ` Pablo Rodríguez
0 siblings, 2 replies; 13+ messages in thread
From: Idris Samawi Hamid ادريس سماوي حامد @ 2011-12-06 21:58 UTC (permalink / raw)
To: mailing list for ConTeXt users
Hi pablo,
On Tue, 06 Dec 2011 14:07:25 -0700, Pablo Rodríguez <oinos@web.de> wrote:
> Otherwise, things like this happen every time I compile a ConTeXt
> document.
Once I had a luatex.dll file out of sync with the latest version of luatex
-- don't ask me how it happened -- and it caused loading context macros to
take much longer, to reload the cache every run, and to run more times
than needed. Looking closely at the log I noticed an "engine mismatch".
Deleting that file fixed everything. This may have nothing to do with your
case in particular, but just to say say that sometimes strange things like
this do happen. See also
http://archive.contextgarden.net/message/20101118.171849.a179501b.en.html
Best wishes
Idris
--
Professor Idris Samawi Hamid, Editor-in-Chief
International Journal of Shīʿī Studies
Department of Philosophy
Colorado State University
Fort Collins, CO 80523
___________________________________________________________________________________
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 : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: isn't it too slow?
2011-12-06 21:58 ` Idris Samawi Hamid ادريس سماوي حامد
@ 2011-12-06 22:09 ` Hans Hagen
2011-12-07 18:35 ` Pablo Rodríguez
1 sibling, 0 replies; 13+ messages in thread
From: Hans Hagen @ 2011-12-06 22:09 UTC (permalink / raw)
To: mailing list for ConTeXt users
Cc: Idris Samawi Hamid ادريس
سماوي حامد
On 6-12-2011 22:58, Idris Samawi Hamid ادريس سماوي حامد wrote:
> Hi pablo,
>
> On Tue, 06 Dec 2011 14:07:25 -0700, Pablo Rodríguez <oinos@web.de> wrote:
>
>> Otherwise, things like this happen every time I compile a ConTeXt
>> document.
>
> Once I had a luatex.dll file out of sync with the latest version of
> luatex -- don't ask me how it happened -- and it caused loading context
> macros to take much longer, to reload the cache every run, and to run
> more times than needed. Looking closely at the log I noticed an "engine
> mismatch". Deleting that file fixed everything. This may have nothing to
> do with your case in particular, but just to say say that sometimes
> strange things like this do happen. See also
indeed, this happens because the mtxrun binary prefers the dll even if
the exe is newer .. removing the dll is the solution then
Hans
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 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 : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: isn't it too slow?
2011-12-06 21:29 ` Wolfgang Schuster
2011-12-06 21:42 ` Hans Hagen
@ 2011-12-07 18:18 ` Pablo Rodríguez
1 sibling, 0 replies; 13+ messages in thread
From: Pablo Rodríguez @ 2011-12-07 18:18 UTC (permalink / raw)
To: mailing list for ConTeXt users
On 12/06/2011 10:29 PM, Wolfgang Schuster wrote:
> [...]
> Why not, this is what I get from your example (time context test.tex):
>
> real 0m0.922s
> user 0m0.853s
> sys 0m0.061s
This is what I got:
real 0m8.744s
user 0m6.449s
sys 0m0.549s
Almost ×10 slower :-(.
I have realized that I always use the --purgeall option (to keep my
system clean), without it I get:
real 0m2.466s
user 0m2.273s
sys 0m0.182s
But still about ×2.5 slower.
Thanks for your help,
Pablo
--
http://www.ousia.tk
___________________________________________________________________________________
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 : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: isn't it too slow?
2011-12-06 21:58 ` Idris Samawi Hamid ادريس سماوي حامد
2011-12-06 22:09 ` Hans Hagen
@ 2011-12-07 18:35 ` Pablo Rodríguez
1 sibling, 0 replies; 13+ messages in thread
From: Pablo Rodríguez @ 2011-12-07 18:35 UTC (permalink / raw)
To: mailing list for ConTeXt users
On 12/06/2011 10:58 PM, Idris Samawi Hamid ادريس سماوي حامد wrote:
> Hi pablo,
>
> On Tue, 06 Dec 2011 14:07:25 -0700, Pablo Rodríguez <oinos@web.de> wrote:
>
>> Otherwise, things like this happen every time I compile a ConTeXt
>> document.
>
> Once I had a luatex.dll file out of sync with the latest version of luatex
> -- don't ask me how it happened -- and it caused loading context macros to
> take much longer, to reload the cache every run, and to run more times
> than needed. Looking closely at the log I noticed an "engine mismatch".
> Deleting that file fixed everything. This may have nothing to do with your
> case in particular, but just to say say that sometimes strange things like
> this do happen. See also
>
> http://archive.contextgarden.net/message/20101118.171849.a179501b.en.html
Many thanks, Idris, for your help.
No mismatch found in my log file.
Pablo
--
http://www.ousia.tk
___________________________________________________________________________________
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 : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 13+ messages in thread
end of thread, other threads:[~2011-12-07 18:35 UTC | newest]
Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-12-06 12:22 isn't it too slow? Pablo Rodríguez
2011-12-06 13:30 ` Wolfgang Schuster
2011-12-06 14:55 ` Pablo Rodríguez
2011-12-06 17:14 ` Hans Hagen
2011-12-06 21:16 ` Pablo Rodríguez
2011-12-06 21:29 ` Wolfgang Schuster
2011-12-06 21:42 ` Hans Hagen
2011-12-07 18:18 ` Pablo Rodríguez
2011-12-06 17:15 ` Hans Hagen
2011-12-06 21:07 ` Pablo Rodríguez
2011-12-06 21:58 ` Idris Samawi Hamid ادريس سماوي حامد
2011-12-06 22:09 ` Hans Hagen
2011-12-07 18:35 ` Pablo Rodríguez
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).