From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/109228 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: What does --errors and --noconsole do? Date: Wed, 4 Nov 2020 22:22:04 +0100 Message-ID: References: <59fdb2a0-7a26-5abf-7a5d-399c183dc18e@gmail.com> Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1435444819531879068==" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="7590"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 PostboxApp/7.0.36 To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Nov 04 22:22:31 2020 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane-mx.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kaQEg-0001ry-DJ for gctc-ntg-context-518@m.gmane-mx.org; Wed, 04 Nov 2020 22:22:30 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id C038C1A9DAA; Wed, 4 Nov 2020 22:22:04 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 87E0nMikVTKq; Wed, 4 Nov 2020 22:22:03 +0100 (CET) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id D5DFB1A9DC3; Wed, 4 Nov 2020 22:22:03 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id B32E21A9DA7 for ; Wed, 4 Nov 2020 22:22:02 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Ge6_ZzyVDc9N for ; Wed, 4 Nov 2020 22:22:02 +0100 (CET) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.221.54; helo=mail-wr1-f54.google.com; envelope-from=wolfgang.schuster.lists@gmail.com; receiver= Original-Received: from mail-wr1-f54.google.com (mail-wr1-f54.google.com [209.85.221.54]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 31EB11A9D94 for ; Wed, 4 Nov 2020 22:22:02 +0100 (CET) Original-Received: by mail-wr1-f54.google.com with SMTP id x7so37395wrl.3 for ; Wed, 04 Nov 2020 13:22:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-language; bh=ON+KWacdzam6oZwWrPuWow9jUNAa4zl2mZZ2+zYwFO8=; b=V7tG54dzyFx2cOrGZGdMWtnSD4XJsCWNJbrp5PpSxG/SJV+XsDBRk2tp5dwxmYN1uA YsoQrIYp0q3x+kOnMqJ+/CaJ0R0sIkPZLQWL1CnpjQ0kB3cse/B2kEHceXEHoel9EQ5w Jwb4vDP/N0rmFG3vwxm2JSIMDrNc9BDLJ12eB3HQ+5b5SUXFTH95zTdyeBxDvzDIerB0 iL7eGy04y+e3kxdCi8TL1CDQvzxwx8DNAmzI+jcs7Rj7zoDnFqU/x4aM+/5Ea1J1Gl/T cT5a2h0unvsIHiC/NtFI5GmBchp/tx+rEZk3nrfplrAU2zwgcJyFaLAKLqwoO2G3G+px rgfw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:cc:from:message-id:date :user-agent:mime-version:in-reply-to:content-language; bh=ON+KWacdzam6oZwWrPuWow9jUNAa4zl2mZZ2+zYwFO8=; b=H2l7nU6+61NTFmwg8tJKZGGtXx6R7yS5bYsIdJGV4xSDuqA5kN03p3wJXu3EH6Kupx ktFK645gPv6gtPGWc71msVfDWILmasnsKAMrESNuhXz1CgV6krQ8ozmM5SmVEfyJChWH xRK1l1ggWk50oFIiNvTdj40VLnuY36SHxdv7zd2UXxKK6KOEtURWavyZEmdleCriakZw Ip0xJDiSlpBFJeIaOKEEmiS+217jQcdWE33GcNI8WGvGfNi/kpYycjZpx4iIQbbVLiPg Jp6/hHUtFTqLvAUeyevlF9G/GpSILfQmym7jJV8S44j5pG28dfQbTJTGCoyVizWueB3T ZRFw== X-Gm-Message-State: AOAM530/jc+nBM6GwGkQFOJ4+AfbET7nAPoTpb0ctCxXRFa8+gbYQzXR +HsM2WmufGqMSiUvskgbfe0= X-Google-Smtp-Source: ABdhPJxP97qsgJyaBzM9s45cORGPL7s5t5HJ6fn92CbavkZBJki8sBIJjRx2b6Y708gThdLRNJfA2Q== X-Received: by 2002:adf:e7c1:: with SMTP id e1mr36274801wrn.247.1604524921750; Wed, 04 Nov 2020 13:22:01 -0800 (PST) Original-Received: from [192.168.1.4] (dynamic-095-115-027-029.95.115.pool.telefonica.de. [95.115.27.29]) by smtp.gmail.com with ESMTPSA id z11sm4311632wrr.66.2020.11.04.13.22.00 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 04 Nov 2020 13:22:01 -0800 (PST) In-Reply-To: Content-Language: en-US X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.26 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: "ntg-context" Xref: news.gmane.io gmane.comp.tex.context:109228 Archived-At: This is a multi-part message in MIME format. --===============1435444819531879068== Content-Type: multipart/alternative; boundary="------------79CA80C656F29CE3AC4B7462" Content-Language: en-US This is a multi-part message in MIME format. --------------79CA80C656F29CE3AC4B7462 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Sylvain Hubert schrieb am 04.11.2020 um 22:10: > On Wed, 4 Nov 2020 at 21:32, Wolfgang Schuster > > wrote: > > 4. it performance issues and leads to a noticeable performance drop. > > > This sounds a bit surprising, since intuitively it takes no less > effort to deal with the registered key than to determine that a key is > not registered. There was never a real test for the performance but when you enable the checker in the example below (which works only with LuaTeX) the second list is slower. % engine=luatex \starttext \testfeatureonce{10000}{\getcheckedparameters[test][xx][a=b,c= d, e = f]} \enablecheckparameters \testfeatureonce{10000}{\getcheckedparameters[test][xx][a=b,c= d, e = f]} \stoptext Wolfgang --------------79CA80C656F29CE3AC4B7462 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 7bit Sylvain Hubert schrieb am 04.11.2020 um 22:10:
On Wed, 4 Nov 2020 at 21:32, Wolfgang Schuster <wolfgang.schuster.lists@gmail.com> wrote:
4. it performance issues and leads to a noticeable performance drop.

This sounds a bit surprising, since intuitively it takes no less effort to deal with the registered key than to determine that a key is not registered.

There was never a real test for the performance but when you enable the checker in the example below (which works only with LuaTeX) the second list is slower.

% engine=luatex

\starttext

\testfeatureonce{10000}{\getcheckedparameters[test][xx][a=b,c= d, e = f]}

\enablecheckparameters

\testfeatureonce{10000}{\getcheckedparameters[test][xx][a=b,c= d, e = f]}

\stoptext

Wolfgang

--------------79CA80C656F29CE3AC4B7462-- --===============1435444819531879068== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly9jb250ZXh0LmFhbmhldC5uZXQKYXJjaGl2ZSAgOiBodHRwczovL2JpdGJ1Y2tldC5v cmcvcGhnL2NvbnRleHQtbWlycm9yL2NvbW1pdHMvCndpa2kgICAgIDogaHR0cDovL2NvbnRleHRn YXJkZW4ubmV0Cl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCg== --===============1435444819531879068==--