From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/39512 Path: news.gmane.org!not-for-mail From: Taco Hoekwater Newsgroups: gmane.comp.tex.context Subject: Re: mplib Date: Fri, 14 Mar 2008 22:19:50 +0100 Message-ID: <47DAEBF6.3020106@elvenkind.com> References: <47DAB3FD.2050503@wxs.nl><6703815B292B664DBAEC55EE3192386A20BFDE@poseidon.in.dynetics.com> <47DAB9F9.8040706@wxs.nl> <6703815B292B664DBAEC55EE3192386A20BFDF@poseidon.in.dynetics.com> <47DADE93.3070508@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1205529715 11748 80.91.229.12 (14 Mar 2008 21:21:55 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 14 Mar 2008 21:21:55 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Mar 14 22:22:23 2008 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 1JaHLY-00066p-Vo for gctc-ntg-context-518@m.gmane.org; Fri, 14 Mar 2008 22:21:49 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 2A5751FBF1; Fri, 14 Mar 2008 22:21:13 +0100 (CET) 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 05611-01-2; Fri, 14 Mar 2008 22:20:25 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 5AA801FBD0; Fri, 14 Mar 2008 22:20:25 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id C72531FB38 for ; Fri, 14 Mar 2008 22:20:23 +0100 (CET) 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 03125-01-23 for ; Fri, 14 Mar 2008 22:19:50 +0100 (CET) Original-Received: from smtp-vbr17.xs4all.nl (smtp-vbr17.xs4all.nl [194.109.24.37]) by ronja.ntg.nl (Postfix) with ESMTP id 91ABA1FBF1 for ; Fri, 14 Mar 2008 22:19:50 +0100 (CET) Original-Received: from [10.10.0.6] (boo.demon.nl [82.161.175.147]) (authenticated bits=0) by smtp-vbr17.xs4all.nl (8.13.8/8.13.8) with ESMTP id m2ELJo75004188 for ; Fri, 14 Mar 2008 22:19:50 +0100 (CET) (envelope-from taco@elvenkind.com) User-Agent: Thunderbird 1.5.0.10 (X11/20070305) In-Reply-To: <47DADE93.3070508@wxs.nl> X-Virus-Scanned: by XS4ALL Virus Scanner X-Virus-Scanned: amavisd-new at ntg.nl 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:39512 Archived-At: Hans Hagen wrote: > Santy, Michael wrote: >> Its entirely possible that I'm missing something, but I was merely >> inquiring about running the same timing tests that you did with >> mplib, but instead using the existing MKII and MKIV image inclusion >> code. How much of a speedup over the existing code does the mplib >> integration buy us for this benchmark? > > well, processing 15K mp graphics either runtime or delayed would take > way much time (no fun timing) IIRC, beginning of the week we had a speedup of 50% against oldfashioned mkiv (mptopdf-in-lua) with a batched Metapost run, which is alread some 25% faster than batched Metapost in mkii mode (mptopdf-in-tex). And that was before we started optimizing, we are at least twice as fast now as we were then. And in the old system, batched metapost was a whole lot faster than runtime Metapost. Take a look at it this way: if you have a document stuffed full of backgrounds and borders and decorations, you may have a dozen unique decorations per page. On a 200-page book, the total runtime used by the new MPlib-based graphics system is then still less than a second (well, if you were using Hans' machine). Best wishes, Taco ___________________________________________________________________________________ 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 ___________________________________________________________________________________