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=-1.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI 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 8160D21402 for ; Tue, 19 Nov 2024 23:43:40 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 1EE78484B35 for ; Tue, 19 Nov 2024 23:40:39 +0100 (CET) Authentication-Results: cgl.ntg.nl (amavisd-new); dkim=pass (1024-bit key) reason="pass (just generated, assumed good)" header.d=ntg.nl DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ntg.nl; h= content-transfer-encoding:content-type:content-type :list-unsubscribe:list-subscribe:list-post:list-owner:list-help :list-archive:archived-at:list-id:subject:subject:reply-to :precedence:content-language:from:from:user-agent:mime-version :date:date:message-id:received:received:received:received :received:received:received; s=cgl; t=1732056038; x=1734648039; bh=PHk1gaJU6mvTIfUJ+Ed6YSTYlznqCRrJQLZswx5tqYo=; b=MGQQm0xUDPMu PZ6o+8wWRQLPeeJEpZ9h+DLIRW1h/JwwebTvgsKCp28TdUlIpxzVXY4CPIfK/we5 jlCk81mI4dKFwLVpj+XxFm3XAWqKFE7qHUo5/S7s9nGbOUKRu01em/36rhAL4OBl O3c8EC0L9GxZVpH7QEFUDXglC8kqftQ= X-Virus-Scanned: Debian amavisd-new at cgl.ntg.nl Authentication-Results: cgl.ntg.nl (amavisd-new); dkim=fail (2048-bit key) reason="fail (message has been altered)" header.d=uni-bonn.de 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 iOLRsIi4E75n for ; Tue, 19 Nov 2024 23:40:38 +0100 (CET) Received: from cgl.ntg.nl (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 0D4B1484B89 for ; Tue, 19 Nov 2024 23:39:45 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 0F56B4800CC for ; Tue, 19 Nov 2024 23:39:01 +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 JjQuJdhdoUqV for ; Tue, 19 Nov 2024 23:39:00 +0100 (CET) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=131.220.18.243; helo=esa3.rhrz.uni-bonn.de; envelope-from=thomas.schmitz@uni-bonn.de; receiver= Received: from esa3.rhrz.uni-bonn.de (esa3.rhrz.uni-bonn.de [131.220.18.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by cgl.ntg.nl (Postfix) with ESMTPS id 8530C4861BC for ; Tue, 19 Nov 2024 23:39:00 +0100 (CET) X-CSE-ConnectionGUID: z+wIc7zKTsOzxToj8+K77Q== X-CSE-MsgGUID: i/Zr0kpMTcq8JK0h+3g4mA== X-ThreatScanner-Verdict: Negative X-IPAS-Result: =?us-ascii?q?A3FMCwChEj1nRMJX9FkNTR0BATwBBQUBAgEJARWBUwKDP?= =?us-ascii?q?4FkhFaRQS2eGoFAPg8BAQEBAQEBAQEJFAIREgsEAQEDBI9XJzYHDgECBAEBA?= =?us-ascii?q?QEDAgMBAQEBAQEBAQENAQEBBQEBAQEBAQYDAQEBAQIDAQEBQSkBLIU1RoJvA?= =?us-ascii?q?YEkZQk4AQEBAQEBAQEBAQEBAQEbAg0HeAQkFQgBATgEMAImAkQODBMCAQGCf?= =?us-ascii?q?QGCQTcGsVp6gTKBAYIMAQEGgmjbGwMGgRou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ryiiRyOtv1vfl3mlpeVeBPydGPOtYlE 6ZZIJzYU6onp/au0211UKQRZbdKLHyD7T9i9QL8CNTjV/aMjDAlNjMpksUDOcXO4ueKWRMCn oCd IronPort-HdrOrdr: A9a23:hj3VyaMFcVgQNMBcTqKjsMiBIKoaSvp037BL7S9MoHluGfBw+P rOoB1273XJYVUqNk3I++rhBEDoexq1yXcf2+Qs1NmZMDXbhA== X-Talos-CUID: 9a23:kTZBH2zvil1gVUbT0p+IBgUGWd8EeSLP70vLBF2oNWFrGP62FgCprfY= X-Talos-MUID: 9a23:YnOUfwovtagkyX9U+/UezzAlBt0w4LyLNEsUwbcl48nHbiMsPh7I2Q== X-IronPort-Anti-Spam-Filtered: true Received: from mail.uni-bonn.de ([131.220.15.112]) by esa3.rhrz.uni-bonn.de with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Nov 2024 23:38:59 +0100 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=uni-bonn.de; s=mail-rsa-20231122; bh=nDeZNQKE4izlGDKueNiAkmE8U9KrlTeVCEPGzzTTK9I=; h=Content-Transfer-Encoding:Content-Type:Subject:To:Content-Language:From: MIME-Version:Date:Message-ID; b=nejIavhv/7CQfA6Mi9ZLsCglo+0NenR+NTRaHYp1QRTz9 mIaPbtQOTzqEk/glz/raFThp7LpJEVX8ziGaVflPLn/GONBAWp9mwmNFpkoMAWn2Pavdydl3W4LPd dSaygINzKzZSpMBatbtXUbZvUFDs7lOqXOzSwdVZ3fikYhvaYxJq25nYhbJPh59xplp4pacnrn4HS lWfD5kOvtJ0OLgJaFbJTMYx10j6yoFiyZLvioyzhslCJ3OuP89rR9RhRmmhTktgZLgWX2A52ZMZ/+ Y84GETtDnb1Mh6NBVVC+IxfE6xfRQ3bjGzlkM50l4aHGs9DpW8q1TxB9+zoOM1NhlA== Received: from [89.244.87.194] (account tschmit1@uni-bonn.de HELO [192.168.178.40]) by uni-bonn.de (CommuniGate Pro SMTP 6.3.13) with ESMTPSA id 232655876 for ntg-context@ntg.nl; Tue, 19 Nov 2024 23:38:59 +0100 Message-ID: <76a670b3-72f8-4fb7-87a0-db3b52fa9160@uni-bonn.de> Date: Tue, 19 Nov 2024 23:38:58 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird From: "Thomas A. Schmitz" Content-Language: en-US, fr, de-DE To: mailing list for ConTeXt users Message-ID-Hash: 6UMYYMMX37BW5KYLSTDNXSWQPYEGJIZB X-Message-ID-Hash: 6UMYYMMX37BW5KYLSTDNXSWQPYEGJIZB X-MailFrom: thomas.schmitz@uni-bonn.de 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.9 Precedence: list Reply-To: mailing list for ConTeXt users Subject: [NTG-context] save runtime information List-Id: mailing list for ConTeXt users Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: text/plain; charset="us-ascii"; format="flowed" Content-Transfer-Encoding: 7bit Hi, a couple of years ago, I asked whether it was possible to typeset the information about runtime that I get at the end of the context run. Hans provided an answer (https://www.mail-archive.com/ntg-context@ntg.nl/msg90554.html): > it's in the log file: > > local data = io.loaddata("oeps.log") or "" > > local pattern = "> runtime: ([%d%.]+) seconds, ([%d]+) processed pages, ([%d]+) shipped pages, ([%d%.]+) pages/second" > > > local r, n, s, p = string.match(data,pattern) > > print(r,n,s,p) The information I get this way is inaccurate. The runtime (in seconds) I see at the end of the run on the terminal: 5.635 vs. the value I get with the code: 0.660260200500488 I'm not sure whether something has changed with lmtx or if this was the case before (the log file is being written to during the run, so this may explain the difference?). So my question from then still stands: is it possible to extract the real runtime somehow? I would like to write it to a different file at the end of the run. What would be the best way to do this? All best Thomas ___________________________________________________________________________________ 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 ___________________________________________________________________________________