Re: [NTG-context] Can we make font loading much faster?

2008-09-26 Thread Hans Hagen
Yue Wang wrote: > MtxRun | total runtime: 67.548 first run? or when the windows cache is nicely filled? how much memory? (vista needs some 2 gig at least) Hans - Hans Hagen | PRAGMA ADE

Re: [NTG-context] Can we make font loading much faster?

2008-09-26 Thread Yue Wang
Hi: > lua garbage collection on xp is somehow quite slow, when i switched to > vista, the luatex test files (mk) that took forever on xp, ran smoothly > on vista OK. Today I got a copy of windows vista, so I installed it on the same machine, and test the same tex file. \usetypescript[myfont] \set

Re: [NTG-context] Can we make font loading much faster?

2008-09-14 Thread Yue Wang
I usually compose short documents (paper, homework, report etc.) which usually runs 8-10 pages. There will be considerable difference between traditional TeX (CJK for LaTeX, or pdftex MKII using subfonts) and MKIV. That means, every MKIV Chinese document I compile will spend 10 seconds loading the

Re: [NTG-context] Can we make font loading much faster?

2008-09-13 Thread Hans Hagen
Yue Wang wrote: > (Of course, 15.854s runtime is still a bit too long, but that's tolerable) you should not take a one page document as benchmark, since then there's always the dominant overhead of loading fonts and writing resources to the pdf file -

Re: [NTG-context] Can we make font loading much faster?

2008-09-12 Thread Yue Wang
Hi: > > @@ buying a copy of vista is not on my budget too expansive. > I will test this on GNU/Linux later. The result on the same machine running 32bit GNU/Linux. \usetypescriptfile[zhfonts] \usetypescript[myfont] \setupbodyfont[myfont,rm,11pt] \starttext 你好 {\it 你好} {\bf 你好} \stoptext MtxR

Re: [NTG-context] Can we make font loading much faster?

2008-09-12 Thread Yue Wang
Hi: > > for the moment, a way out of your problem is (please wikify this) > > \synchronizemathfontsfalse > Woo... It is much faster! Thanks for your magic. 你好 {\it 你好} {\bf 你好} use 24.750s, 你好 use 11.766s, Hello World use 6.438s. I will wikify this together with a short introduction for chi

Re: [NTG-context] Can we make font loading much faster?

2008-09-12 Thread Thomas A. Schmitz
On Sep 12, 2008, at 10:15 PM, Hans Hagen wrote: > (4) at some point (and there are already a few areas where this si > true) > luatex/mkiv will be faster than a traditional tex engine where all > happens in macros (or is hadcodes) Just a very short remark: I'm testing my presentation stuff

Re: [NTG-context] Can we make font loading much faster?

2008-09-12 Thread Hans Hagen
Mohamed Bana wrote: > I've also been wondering why LuaTeX is considerably slower than XeTeX. Has > anyone been doing any research into LuaJIT? (1) luajit is non portable (not on all architectures) so for the moment it's no option (2) luatex will always be slower, because we do many things in l

Re: [NTG-context] Can we make font loading much faster?

2008-09-12 Thread Mohamed Bana
I've also been wondering why LuaTeX is considerably slower than XeTeX. Has anyone been doing any research into LuaJIT? ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist

Re: [NTG-context] Can we make font loading much faster?

2008-09-12 Thread Hans Hagen
Yue Wang wrote: > Oh, My God. What's wrong on my system? Umm... > Can you give me a hint to find what's wrong here? > I use the minimals GUI installer, and after installation, > I copy the fonts to texmf-fonts/fonts/opentype. when you set fonts.trace=true you will see that many fonts are defin

Re: [NTG-context] Can we make font loading much faster?

2008-09-12 Thread Hans Hagen
Yue Wang wrote: > Oh, My God. What's wrong on my system? Umm... > Can you give me a hint to find what's wrong here? > I use the minimals GUI installer, and after installation, > I copy the fonts to texmf-fonts/fonts/opentype. > > Is there a profile program in ConTeXt available? (I know there i

Re: [NTG-context] Can we make font loading much faster?

2008-09-12 Thread Yue Wang
Oh, My God. What's wrong on my system? Umm... Can you give me a hint to find what's wrong here? I use the minimals GUI installer, and after installation, I copy the fonts to texmf-fonts/fonts/opentype. Is there a profile program in ConTeXt available? (I know there is a Memory Performance chart

Re: [NTG-context] Can we make font loading much faster?

2008-09-12 Thread Hans Hagen
Yue Wang wrote: > \usetypescriptfile[zhfonts] > \usetypescript[myfont] > \setupbodyfont[myfont,rm,11pt] > \starttext > 你好 {\it 你好} {\bf 你好} > \stoptext > MtxRun | total runtime: 194.156 > If no Chinese fonts are used, three cases are tested: > \usetypescriptfile[zhfonts] > \usetypescript[myfont

Re: [NTG-context] Can we make font loading much faster?

2008-09-12 Thread Hans Hagen
Yue Wang wrote: > Hi: > > The following cases all use second run of context. So there is no font > cache time. I use a new installed Windows XP SP3 on a Core 2 Duo > 1.68GHz with 1GB mem machine. Only TeXWorks and ConTeXt are installed > and running on the machine. I close all pre-installed softwa

Re: [NTG-context] Can we make font loading much faster?

2008-09-12 Thread Wolfgang Schuster
Am 12.09.2008 um 16:30 schrieb Yue Wang: > Hi: > > The following cases all use second run of context. So there is no font > cache time. I use a new installed Windows XP SP3 on a Core 2 Duo > 1.68GHz with 1GB mem machine. Only TeXWorks and ConTeXt are installed > and running on the machine. I clos

[NTG-context] Can we make font loading much faster?

2008-09-12 Thread Yue Wang
Hi: The following cases all use second run of context. So there is no font cache time. I use a new installed Windows XP SP3 on a Core 2 Duo 1.68GHz with 1GB mem machine. Only TeXWorks and ConTeXt are installed and running on the machine. I close all pre-installed software (like MSN, IE, etc.) and