From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/49827 Path: news.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: Why searching fonts in xetex is so slow? Date: Sat, 25 Apr 2009 18:15:24 +0200 Message-ID: <49F3371C.7040108@wxs.nl> References: <68bfdc900903032124u3f6df674lc36e82bb81be2795@mail.gmail.com> <68bfdc900903081914n7897e6d0l5eedb5416a38ca5f@mail.gmail.com> <49B4D328.6050503@wxs.nl> <68bfdc900904240433p3e47c85dj271b7452ceb0b94d@mail.gmail.com> <6faad9f00904241327i5d915157ue6e5b02805e01c3c@mail.gmail.com> <68bfdc900904241844h6d20e72bif1e9767b991612e1@mail.gmail.com> <6faad9f00904250239t3f3d5752qace5fdec7e9ef390@mail.gmail.com> <68bfdc900904250418v3882ca94u22b34fe167104f5b@mail.gmail.com> <49F3057C.3040600@wxs.nl> <68bfdc900904250633seadf672wf2e15deb8bd9e09@mail.gmail.com> <6faad9f00904250708w638a930bs41d0084e030da387@mail.gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1240676178 6445 80.91.229.12 (25 Apr 2009 16:16:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 25 Apr 2009 16:16:18 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sat Apr 25 18:17:38 2009 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1LxkZK-0007eO-FP for gctc-ntg-context-518@m.gmane.org; Sat, 25 Apr 2009 18:17:34 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id E0AE21FB38; Sat, 25 Apr 2009 18:16:05 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 09608-01-7; Sat, 25 Apr 2009 18:15:33 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 7134B1FADB; Sat, 25 Apr 2009 18:15:33 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id DB2751FADB for ; Sat, 25 Apr 2009 18:15:31 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 25007-04-3 for ; Sat, 25 Apr 2009 18:15:24 +0200 (CEST) Original-Received: from filter1-til.mf.surf.net (filter1-til.mf.surf.net [194.171.167.217]) by ronja.ntg.nl (Postfix) with ESMTP id 5A47E1FAD7 for ; Sat, 25 Apr 2009 18:15:24 +0200 (CEST) Original-Received: from mail.pragma-ade.net (dsl-083-247-100-017.solcon.nl [83.247.100.17]) by filter1-til.mf.surf.net (8.13.8/8.13.8/Debian-3) with ESMTP id n3PGFNiP004427 for ; Sat, 25 Apr 2009 18:15:23 +0200 Original-Received: from [10.100.1.100] (unverified [10.100.1.100]) by controller-1 (SurgeMail 3.9e) with ESMTP id 4512-1840426 for ; Sat, 25 Apr 2009 18:15:23 +0200 User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) In-Reply-To: <6faad9f00904250708w638a930bs41d0084e030da387@mail.gmail.com> X-Originating-IP: 10.100.1.100 X-Authenticated-User: hagen@controller-1 X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=83.247.100.17; country=NL; region=15; city=Almelo; latitude=52.3500; longitude=6.6667; http://maps.google.com/maps?q=52.3500,6.6667&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 214683546 - ef5418551bd5 - 20090425 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.217 X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.11 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:49827 Archived-At: Mojca Miklavec wrote: > On Sat, Apr 25, 2009 at 15:33, Yue Wang wrote: >> I see, no font is defined when dumping the formats... pretty unlike plain TeX... >> then why so much time is used for iwona, while only 1.2 sec is used to >> load lm roman? > > I have a bit of a problem to test all that since running fc-cache only > takes two seconds. here fc-cache takes minutes > A run with iwona takes 2.1 seconds (2.4 when some math equations are > added) and a run with LM takes 1.1 seconds. The timings refer to > subsequent runs, not to the first run. lm is faster because the definitions are preloaded (not the fonts themselves but the typescript defs) > Maybe I should try to experiment on Windows. I have no idea when XeTeX > forces reload of fc-cache, but I suspect that any other application > does the same if font database becomes outdated. I didn't notice > subsequent runs of fc-cache though. Once fc-cache is through, it > doesn't run for a while. here it runs *each* xetex run ----------------------------------------------------------------- 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 ___________________________________________________________________________________