From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/36608 Path: news.gmane.org!not-for-mail From: Duane Johnson Newsgroups: gmane.comp.tex.context Subject: Recommendations for Speed? Date: Sat, 15 Sep 2007 14:53:08 -0600 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1189924848 26749 80.91.229.12 (16 Sep 2007 06:40:48 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 16 Sep 2007 06:40:48 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Sun Sep 16 08:40:45 2007 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 1IWnoD-0000uY-EJ for gctc-ntg-context-518@m.gmane.org; Sun, 16 Sep 2007 08:40:45 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 382D5203C6; Sun, 16 Sep 2007 08:40:44 +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 27595-03; Sun, 16 Sep 2007 08:40:43 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 84C95203D2; Sun, 16 Sep 2007 08:37:29 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 86F9920388 for ; Sat, 15 Sep 2007 22:53:22 +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 13850-09-2 for ; Sat, 15 Sep 2007 22:53:16 +0200 (CEST) Original-Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.178]) by ronja.ntg.nl (Postfix) with ESMTP id 1665420381 for ; Sat, 15 Sep 2007 22:53:15 +0200 (CEST) Original-Received: by wa-out-1112.google.com with SMTP id m16so1590926waf for ; Sat, 15 Sep 2007 13:53:14 -0700 (PDT) Original-Received: by 10.115.111.1 with SMTP id o1mr1321968wam.1189889594153; Sat, 15 Sep 2007 13:53:14 -0700 (PDT) Original-Received: from ?192.168.1.101? ( [166.70.59.18]) by mx.google.com with ESMTPS id j26sm2458149waf.2007.09.15.13.53.12 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 15 Sep 2007 13:53:13 -0700 (PDT) X-Mailer: Apple Mail (2.752.2) X-Virus-Scanned: amavisd-new at ntg.nl X-Mailman-Approved-At: Sun, 16 Sep 2007 08:37:26 +0200 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 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:36608 Archived-At: Hello, I've been perusing the list archives for a couple of days now, and reading up on articles (such as Hans' regarding optimizing in TeX and eTeX) to find guidance on a handful of decisions. Our company makes a web-based publishing solution called MemoryPress.com that uses conTeXt for on-demand creation of PDFs which are then converted to jpeg format for display in a web browser. We are currently looking into ways to speed things up and since many of you are far more qualified than I am in this area, I wondered if you might advise me on the following: 1. Is there a way to keep TeX in-memory (i.e. as a server or daemon process) so that it doesn't have to load and reload fonts and the environment? Our system makes repeated requests for typeset documents and we are wondering if there's a way to remove the overhead of re-running pdftex. 2. Among the many different command-line TeX options, what might optimize for speed? I've done some rudimentary benchmarking and found that executing etex (without conTeXt) is much faster than texexec, and wondered if there is any advice in this area. Is there any way to shave off some of the overhead of using conTeXt? 3. I've noticed that there is some kind of caching going on (tui/tuo files?) that helps speed things up after the first run. How can I best take advantage of this facility? What kinds of things will require TeX to start from scratch, vs. use some or all of this cached information? 4. Are there any other areas I should consider when looking for ways to use TeX as an on-demand typesetting engine? Thank you, Duane Johnson Programming Manager FamilyLearn ___________________________________________________________________________________ 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 ___________________________________________________________________________________