Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:98936 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 63410 invoked from network); 2 May 2017 18:02:22 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 2 May 2017 18:02:22 -0000 Authentication-Results: pb1.pair.com header.from=nikita.ppv@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=nikita.ppv@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.214.52 as permitted sender) X-PHP-List-Original-Sender: nikita.ppv@gmail.com X-Host-Fingerprint: 209.85.214.52 mail-it0-f52.google.com Received: from [209.85.214.52] ([209.85.214.52:36158] helo=mail-it0-f52.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id AF/F7-02776-BA9C8095 for ; Tue, 02 May 2017 14:02:19 -0400 Received: by mail-it0-f52.google.com with SMTP id o5so16745996ith.1 for ; Tue, 02 May 2017 11:02:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=g7UXFrlxyUHWffEOxwCCgatBoP1WJT41qH1NOJqo7XU=; b=oJ6zl7MlJbfcDyj4gPZPssZZzcsguSYld47oMRM0tQ9N+OznBJb3Kw6xEBR7zmE52c nfgaa+ovfXJKtWHH3Q0K/znSF7kIqAGLpRmff1PeQSTAq+BN6bqGtlFGMVX+hOIsi6BT XOoUOF8SdO48fUZVbuoiuDzgP1URVV2zwiXbMVzre+iFisrBWUL2oKxfS+OZfdOACncT ZUhQEl+HFkrKZhXlxAIREOwdMw8Mu/fQbpb4wJaocDx8eFGsqvaxePFJSCBolaROULEp NM0v3FUZgqM0eaZmyP7e493dzhAmVMXQlmg/P466HnhR38NUnwby2jgHRlqerdN8Bu86 W/DA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=g7UXFrlxyUHWffEOxwCCgatBoP1WJT41qH1NOJqo7XU=; b=FKqDuSDQGtn64EyYjH8hEyLXYG6kbUx9aG07scWSJa5j1DV2hlWK1JHZrPoxUhncip eLUd3ZN2hMary/3U/L7hBZYJhm/pjzc5aSvsHKGFBIoewIUkgjwbjkSclQZbbjhk1Tkj N8SxShCukXifUHhH4OhUEY26SiLSLh/ThQZe2DzGaebo/ptVvEJV/0nupL4v/2KDnl+T zWpxykHqhR1uW5KpG0eU3wu7EAMBSiIYy1oQnvwWwXZUNS9CZnuhmYE//EAnZjckpcGy KyuAmgXizmlLrWMz8wERHsNqHvDMJm0qhiQPoHTwsqQGle00qZKoXzK3rvHWhdEyvDMh sh/w== X-Gm-Message-State: AN3rC/7GM6kO3TD1aLZMqATk7VniWBWCRJRrgPZ2Hqz3sTJC42Hofhxj N0FP+4kH0F07ZhzARcVsZOTLoYruTw== X-Received: by 10.36.190.70 with SMTP id i67mr1624881itf.28.1493748136500; Tue, 02 May 2017 11:02:16 -0700 (PDT) MIME-Version: 1.0 Received: by 10.107.9.144 with HTTP; Tue, 2 May 2017 11:02:15 -0700 (PDT) In-Reply-To: References: <79ca3537-b439-583a-6162-05da302711f2@rhsoft.net> Date: Tue, 2 May 2017 20:02:15 +0200 Message-ID: To: "lists@rhsoft.net" Cc: PHP internals Content-Type: multipart/alternative; boundary=94eb2c0ed11e0f6ad0054e8e5742 Subject: Re: [PHP-DEV] the experimental jit-branch is impressive From: nikita.ppv@gmail.com (Nikita Popov) --94eb2c0ed11e0f6ad0054e8e5742 Content-Type: text/plain; charset=UTF-8 On Tue, May 2, 2017 at 7:14 PM, lists@rhsoft.net wrote: > and with a demo-page containing all sort of modules and bloat the > difference is even greater - can't wait to see that in production > > is there anything known when it is expected to arrive in the official tree > or does Zend even hold it back until the point when they can suprise with a > "we are done, all tests are fine and we can merge it" announce? > > PHP 7.1: > Requests per second: 316.77 [#/sec] (mean) > Time per request: 157.844 [ms] (mean) > Time per request: 3.157 [ms] (mean, across all concurrent requests) > Transfer rate: 12604.11 [Kbytes/sec] received > > PHP 7.2 JIT: > Requests per second: 925.96 [#/sec] (mean) > Time per request: 53.998 [ms] (mean) > Time per request: 1.080 [ms] (mean, across all concurrent requests) > Transfer rate: 36842.68 [Kbytes/sec] received These results are very unlikely. I'm 95% sure your benchmark is broken. My first guess would be that you're benchmarking PHP + JIT against PHP without opcache. Please share the relevant (opcache-related) portion of the php.inis you used. Nikita > Am 02.05.2017 um 18:00 schrieb lists@rhsoft.net: > >> https://github.com/zendtech/php-src/tree/jit-dynasm/ext/opcache/jit >> >> that below is a "ab -c 50 -n 100000" on a Intel(R) Core(TM) i7-3770 CPU @ >> 3.40GHz on our core cms (pgo-build with heavy compiler optimizations, only >> the source tarball deifferent) >> >> currently our production 2x6 core machine with two Intel(R) Xeon(R) CPU >> E5-2643 v3 @ 3.40GHz and the same setup is around 4000-5000 per second >> which is nearly reached by the 6 years old i7 with the JIT >> >> impressive! >> >> JIT: >> Requests per second: 3526.56 [#/sec] (mean) >> Time per request: 14.178 [ms] (mean) >> Time per request: 0.284 [ms] (mean, across all concurrent requests) >> >> 7.1: >> Requests per second: 1419.87 [#/sec] (mean) >> Time per request: 35.214 [ms] (mean) >> Time per request: 0.704 [ms] (mean, across all concurrent requests) >> > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > --94eb2c0ed11e0f6ad0054e8e5742--