Re: [RFC] JIT

From: Date: Thu, 14 Feb 2019 00:02:42 +0000
Subject: Re: [RFC] JIT
References: 1 2 3 4 5 6 7 8 9  Groups: php.internals 
Request: Send a blank email to internals+get-104392@lists.php.net to get a copy of this message
On Tue, Feb 5, 2019 at 6:06 PM Bruce Weirdan <weirdan@gmail.com> wrote: > On Tue, Feb 5, 2019 at 8:38 AM Dmitry Stogov <dmitry@zend.com> wrote: > > > PHP+optimizer (-dopcache.jit_buffer_size=0): 32.29s (100%) > > > PHP+optimizer+JIT (-dopcache.jit_buffer_size=50000000): 30.72s (95.1%) > > > PHP+optimizer+minimalJIT (-dopcache.jit_buffer_size=50000000 > > > -dopcache.jit=1201): 29.95s (92.7%) > > > > It may be interesting to try -dopcache.jit=1235. It should JIT only hot > > functions and requires some warm-up. > > For this use case 1201 was the fastest of all the options I tried > (including 1235). > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > Here are my results of benchmarking rybakit/msgpack.php: bench.php, w/o jit: Total 9.8220 4.3121 bench.php, opcache.jit=1235 opcache.jit_buffer_size=256M: Total 8.7255 3.3350 bench2.php, w/o jit: pure msgpack: 2.2818 sec pure msgpack packed: 2.1717 sec bench2.php, opcache.jit=1235 opcache.jit_buffer_size=256M: pure msgpack: 1.5221 sec pure msgpack packed: 1.4739 sec Details: https://gist.github.com/rybakit/bb551f962b706a9e08c995cf5ed9762f -- Thank you and best regards, Eugene Leonovich

« previous php.internals (#104392) next »