Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:111300 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 74824 invoked from network); 3 Aug 2020 18:47:32 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 3 Aug 2020 18:47:32 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 4D0C4180545 for ; Mon, 3 Aug 2020 10:45:00 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=BAYES_20,DKIM_SIGNED, DKIM_VALID,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2, SPF_HELO_NONE,SPF_NONE autolearn=no autolearn_force=no version=3.4.2 X-Spam-Virus: No X-Envelope-From: Received: from mail-wr1-f41.google.com (mail-wr1-f41.google.com [209.85.221.41]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Mon, 3 Aug 2020 10:44:58 -0700 (PDT) Received: by mail-wr1-f41.google.com with SMTP id r2so29925425wrs.8 for ; Mon, 03 Aug 2020 10:44:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=beberlei-de.20150623.gappssmtp.com; s=20150623; h=mime-version:from:date:message-id:subject:to; bh=DEZ4EsVJGTSNxiryBme0CVcxQ+hkvFe/RJhtHWIQojI=; b=fq1m+4vuWlxAyHxQ+ZReLDP9hDdPJcorgCOly/vbwGxQlzBjJCWEr1qRa2h4mYi1wT GpvCgm9pOrh+rXIjv2P+higZdoL7lvcF7SWgzflcPf1exZ6jqoHG7688K5nl/P4k0YIK fdFr1u78uYuaP8/aa023O9ix46661AiWK05Vg9gz6y9yqwR4xQg0OuM+6MLlVUDfuc82 R3EEHxWqNX+cLHU1fqnuIhslCRIIZe9v7glfF71vsRV0sftN6az1Ny3pEduP/LC3TTSU k16ttbRyI7BSzMC0jDvVIUhz4EpswFTe+764lGUMs8G2+pbmzehfAnbPQxATDm+2jEJV jnHw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=DEZ4EsVJGTSNxiryBme0CVcxQ+hkvFe/RJhtHWIQojI=; b=of70kggCC+avG/skWZ4paw/YrVZDanUT0X3VZ54jmdUx4cE67+wgnWwJToPUGosZL3 OEJ0uby2o9YeWgfUv5ToaYLH9+rqITWkbjS9io0Uz/Ru1dOWMXs4Z2vCy/pIV4gpumnf Oaoin+ahCInPV3KGjKwC65zAy014CLgWtQgrqMG7d/6Q/8dUfgAAYiAeNxm8/JsBYzOo xR2oYDHGibkrlMhpTuPo+WOok5iIxtqG6YkxYGHgwajISCIBU4lz1+o5NpVuLrRxZNcA 4pW/7S2f8s1letQlPu2fSnLPlS/DO4UXmI06zVspuUGOZnjymMbW/j7SwxfkV5KayndH qZkg== X-Gm-Message-State: AOAM532ZM0GLNEvxMw3ysJyzDXuId/KJrV3HgHYSjGnXYebtqDUlDFAS Z2D+vyhS8Muk2+ZJ+YDBRGYZa5RVexnoz8QvHS/tOzUamQbmOQ== X-Google-Smtp-Source: ABdhPJzKNYm/GJwdrczGxljvwnOgIWntY7Eh7u9Np7PZmcw2N0fwN75n7xuUWUqBbUs+jnQ7kLc+HWzkEW1Oe3r0dnU= X-Received: by 2002:adf:dcc8:: with SMTP id x8mr17009077wrm.16.1596476697121; Mon, 03 Aug 2020 10:44:57 -0700 (PDT) MIME-Version: 1.0 Date: Mon, 3 Aug 2020 19:44:46 +0200 Message-ID: To: PHP Internals , Dmitry Stogov , Nikita Popov Content-Type: multipart/alternative; boundary="0000000000006ca7b205abfcb263" Subject: @@Jit Attribute Considerations From: kontakt@beberlei.de (Benjamin Eberlei) --0000000000006ca7b205abfcb263 Content-Type: text/plain; charset="UTF-8" Hi, I am going to pick up a discussion from https://github.com/php/php-src/pull/5915 about the @@Jit attribute. Nikita mentioned he is still not 100% clear what the usecase is for @@Jit attribute and asked to discuss here. The reason is that the default tracing JIT is clever to decide itself when to JIT or not, better not interfere with that. In case you run the tracing JIT, only @@Jit("off") has an effect the others @@Jit("tracing") and @@Jit("function") get ignored. Only the trigger mode 4 (attributes) is actually using @@Jit("tracing") and "function". This trigger mode feels like micro-management for developers and since it has virtually no spotlight in discussions and blog posts about the JIT at the moment, we don't know if it brings benefits. Maybe for now it would be better to remove docblock / attribute support for the JIT, and take a new attempt at it in 8.1? That prevents us from rolling something we regret having to maintain later. greetings Benjamin --0000000000006ca7b205abfcb263--