From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, MAILING_LIST_MULTI,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: from cgl.ntg.nl (Cgl.ntg.nl [5.39.185.202]) by inbox.vuxu.org (Postfix) with ESMTP id B0B772300E for ; Fri, 19 Jan 2024 01:13:16 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id A73ED483C27 for ; Fri, 19 Jan 2024 01:11:34 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at cgl.ntg.nl Received: from cgl.ntg.nl ([127.0.0.1]) by localhost (cgl.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id rZ8igt9Mo0eT for ; Fri, 19 Jan 2024 01:11:34 +0100 (CET) Received: from cgl.ntg.nl (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id DA36A483ACC for ; Fri, 19 Jan 2024 01:10:37 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id A8DA0482B1D for ; Fri, 19 Jan 2024 01:09:53 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at cgl.ntg.nl Received: from cgl.ntg.nl ([127.0.0.1]) by localhost (cgl.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id rSml3jIqP418 for ; Fri, 19 Jan 2024 01:09:53 +0100 (CET) Received: from outbound.soverin.net (outbound.soverin.net [185.233.34.146]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by cgl.ntg.nl (Postfix) with ESMTPS id 3A1C1482B03 for ; Fri, 19 Jan 2024 01:09:53 +0100 (CET) Received: from smtp.freedom.nl (c04cst-smtp-frd01.int.sover.in [10.10.4.107]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by outbound.soverin.net (Postfix) with ESMTPS id 4TGKk90zGLz5t for ; Fri, 19 Jan 2024 00:09:53 +0000 (UTC) Received: from smtp.freedom.nl (smtp.freedom.nl [10.10.4.107]) by freedom.nl (Postfix) with ESMTPSA id 4TGKk85XC0z59 for ; Fri, 19 Jan 2024 00:09:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=freedom.nl; s=default; t=1705622993; bh=f8guEsvcpirmIj/NfwJgXNmAQZoqbz6dsoR1SIOxVEw=; h=Date:Subject:To:References:From:In-Reply-To:From; b=xaq+rDqwU6J3QKXdBpfFOAWW1OW55fQWLVpAEWusp2SLVLA/DCrehP8o9/EFP53rg f99lICB9NO8CAG8nNgTDXnz8SWV+vrIhmUjngWohESxtYJ3iwgnZJpeq+Xx4ufogIZ slecBrjJ2dMX6HgmeFYzf9ng3WJfBedco2Q2FkwU= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freedom.nl; s=default; t=1705622992; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=CR5zj+KxPunT+bpXxrcDVpfSaMty6mmQWP+u18YSelo=; b=MugJ20WMIRpMtAgwWL+KIxJmIhFLjWGrOt3bcPNd41LC73KNCU+1/F6TYjnYqVIIRIgWtV EnXEsqZ6JMALFbnm9cZHgNOSOk30d796LsSUt+aEdHPHUkJvYlLLfIL1AAcUyORBtxBOFx +9jw3DYk5Pyv2mPc/niCqfbEVEoDSoQ= ARC-Authentication-Results: i=1; smtp.freedom.nl; auth=pass smtp.mailfrom=j.hagen@freedom.nl ARC-Seal: i=1; s=default; d=freedom.nl; t=1705622992; a=rsa-sha256; cv=none; b=mKsEsoRIYJ+9427YDcL+FKiRriCOp8Q9NiMxY8nNEk6FVHWkgocKBv7EZO1uPIFxKC+45e a1y9p59fbEaHjYNBH0Nr5svVnN4XpAhuECEP8KNWH1QWwpaGt58LS6LY6+JQkfqUjuIuZw CByz1VpE6W0RzIiGQBw77ztT+NpHjxk= Message-ID: Date: Fri, 19 Jan 2024 01:09:51 +0100 MIME-Version: 1.0 Content-Language: en-US To: ntg-context@ntg.nl References: X-Soverin-Authenticated: true In-Reply-To: Message-ID-Hash: 6ZYNRBH3GQCX32ZR3CEJCLUBNYBHOYFE X-Message-ID-Hash: 6ZYNRBH3GQCX32ZR3CEJCLUBNYBHOYFE X-MailFrom: j.hagen@freedom.nl X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.8 Precedence: list Reply-To: mailing list for ConTeXt users Subject: [NTG-context] Re: Why LuaMetaTex is so slow? List-Id: mailing list for ConTeXt users Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: From: Hans Hagen via ntg-context Cc: Hans Hagen Content-Type: text/plain; charset="us-ascii"; format="flowed" Content-Transfer-Encoding: 7bit On 1/19/2024 12:34 AM, Aditya Mahajan wrote: > On Thu, 18 Jan 2024, Hans Hagen wrote: > >> Of course we'll never be as fast as (pure) plain tex (no layers added) or >> latex (which often is advocated as faster than context). > > I was curious, so did a quick experiment: typeset \input knuth 500 times. Here are the results: > > pdflatex: 547 pages/sec > lualatex: 308 pages/sec opentype or type 1 ? > MKIV: 130 pages/sec > LMTX: 147 pages/sec that is weird as lmtx is always faster here (we loose some 15% on the backend compared to luatex, maybe even more, but we gain back quite a bit elsewhere for various reasons) > Interestingly, pdflatex, lualatex, and MkIV all generated pdf with 1112 pages, while LMTX generated a pdf with 1250 pages. Both MkIV and LMTX take the same time to run (8.5 sec) but LMTX generates more pages so it is faster. puzzling > Of course, this is a meaningless experiment from a practical point of view as a 1000 page document will be more complex than just text. % engine=pdftex 1.2 % engine=luatmetatex 1.6 % engine=luatex 1.8 % engine=xetex 2.4 \starttext \dorecurse{500} { \input knuth \par } \stoptext 125 pages, so how does your test file look Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | 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 / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___________________________________________________________________________________