From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/53080 Path: news.gmane.org!not-for-mail From: Vyatcheslav Yatskovsky Newsgroups: gmane.comp.tex.context Subject: Performance and fonts issues Date: Tue, 22 Sep 2009 00:28:22 +0300 Message-ID: <4AB7EFF6.3030801@gmail.com> References: 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 1253568533 11481 80.91.229.12 (21 Sep 2009 21:28:53 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 21 Sep 2009 21:28:53 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Mon Sep 21 23:28:47 2009 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.50) id 1MpqRC-0003mu-9k for gctc-ntg-context-518@m.gmane.org; Mon, 21 Sep 2009 23:28:46 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 40D20C9AF9; Mon, 21 Sep 2009 23:28:45 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id KbDbxxfFOqr4; Mon, 21 Sep 2009 23:28:42 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 3B0E1C9AD9; Mon, 21 Sep 2009 23:28:42 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 19106C9AE3 for ; Mon, 21 Sep 2009 23:28:33 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id KthSc+3-kD-U for ; Mon, 21 Sep 2009 23:28:26 +0200 (CEST) Original-Received: from mail-bw0-f207.google.com (mail-bw0-f207.google.com [209.85.218.207]) by balder.ntg.nl (Postfix) with ESMTP id 8863DC9ADD for ; Mon, 21 Sep 2009 23:28:26 +0200 (CEST) Original-Received: by bwz3 with SMTP id 3so2762006bwz.2 for ; Mon, 21 Sep 2009 14:28:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=HRmthjfniiyxpOfgEObAl0J8g+Yh4RmF0WKAH1rhC7w=; b=kusIhSuUmWnZju+VyWUNw6HoojrOB80uyM1hwpyuAU4WbO3mm8uLkNaXiQpojwZ1QD wvCWjmxh0F57qAicbTr7SetlYUo63L0ywiuiX3L1ADNBQ8WNwNJSyt3PzSO8eJbNryPT QGC6/f0ldQ0gYno7He5utbe2dRhay/PWvEBEw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=N3IPulZjTnrSjHPUBiJrPV+dufkalWu+I0Ec8b6nKJgh2Thpqy51xf4Bw3PIAcDA2t AJK3R7/Hf10mDjbVWDlJfILZFH56pMVeE7BDEYFeJx5IMDZs0xl5DoG9lM4uTJ0Eob4K m4bvGDzG+3I4qDj9uLRCKpbR+RSgUxxVK5Vsw= Original-Received: by 10.204.160.154 with SMTP id n26mr104714bkx.90.1253568506105; Mon, 21 Sep 2009 14:28:26 -0700 (PDT) Original-Received: from ?93.72.242.29? (recoveriness-stacks.volia.net [93.72.242.29]) by mx.google.com with ESMTPS id 9sm166991fks.38.2009.09.21.14.28.24 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 21 Sep 2009 14:28:25 -0700 (PDT) User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.1) Gecko/20090715 Thunderbird/3.0b3 In-Reply-To: X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 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 Xref: news.gmane.org gmane.comp.tex.context:53080 Archived-At: Hello, I wonder -- why wait up to 5sec to (re)compile a single page on a Core 2 Duo machine? Let's look at the end of the log file for my simple, one-page document: mkiv lua stats : input load time - 0.000 seconds mkiv lua stats : stored bytecode data - 184 modules, 45 tables, 229 chunks mkiv lua stats : node list callback tasks - 4 unique tasks, 3 created, 75 calls mkiv lua stats : cleaned up reserved nodes - 23 nodes, 9 lists of 1410 mkiv lua stats : node memory usage - 20 glue_spec, 2 dir mkiv lua stats : used backend - pdf (backend for directly generating pdf output) mkiv lua stats : loaded patterns - en:us:pat:exc:2 mkiv lua stats : startup time - 0.531 seconds (including runtime option file processing) mkiv lua stats : callbacks - direct: 288, indirect: 3681, total: 3969 mkiv lua stats : loaded fonts - 37 files: lmmono10-regular.otf lmmono12-regular.otf lmmono8-regular.otf lmmono9-regular.otf lmroman10-bold.otf lmroman10-regular.otf lmroman12-bold.otf lmroman12-regular.otf lmroman7-bold.otf lmroman7-regular.otf lmroman9-bold.otf lmroman9-regular.otf lmsans10-regular.otf lmsans12-regular.otf lmsans8-regular.otf lmsans9-regular.otf eufb10.tfm eufb7.tfm eufm10.tfm eufm7.tfm msam10.tfm msam7.tfm msbm10.tfm msbm7.tfm lmex10.tfm lmmi10.tfm lmmi12.tfm lmmi7.tfm lmmi9.tfm lmmib10.tfm lmmib7.tfm lmsy10.tfm lmsy7.tfm lmsy9.tfm minionpro-bold.otf minionpro-it.otf minionpro-regular.otf mkiv lua stats : fonts load time - 2.750 seconds mkiv lua stats : result saved in file - garden_in_the_rain.pdf mkiv lua stats : luatex banner - this is luatex, version beta-0.43.0-2009083017 mkiv lua stats : control sequences - 29475 of 165536 mkiv lua stats : current memory usage - 147 MB (ctx: 151 MB) mkiv lua stats : runtime - 3.438 seconds, 1 processed pages, 1 shipped pages, 0.291 pages/second Startup time is 0.531 seconds. OK. Then, why on the Earth all these lmxxx fonts are loaded, if I use Minion Pro typescript? 2.7sec... Hmmm. Seems like a root of evil. What can I do to get rid of all of them? My typescript: \starttypescript [serif] [MinionPro] \definefontsynonym [Serif][MinionPro-Regular.otf][features=default] \definefontsynonym [SerifBold][MinionPro-Bold.otf][features=default] \definefontsynonym [SerifItalic][MinionPro-It.otf][features=default] \definefontsynonym [SerifBoldItalic][MinionPro-BoldIt.otf][features=default] \stoptypescript \starttypescript [MinionPro] \definetypeface [MinionPro][rm][serif][MinionPro][default] \stoptypescript Regards, Vyatcheslav ___________________________________________________________________________________ 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 ___________________________________________________________________________________