Re: Line profiler for PHP

From: Date: Tue, 23 Dec 2014 22:40:40 +0000
Subject: Re: Line profiler for PHP
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-79899@lists.php.net to get a copy of this message
Hi! > By this I mean I have looked at implementing it a couple of different ways > and each time I get caught up on timing code that spans multiple lines such > as: > > $array = array( > 'my_key' => 'my_value', > ); I would ignore that if I were you and use whatever lines the engine assigns to specific opcodes. There's nothing you can optimize between array( and 'my_key', so for all practical purposes it does not really matter to which line of these the code is assigned. -- Stas Malyshev smalyshev@gmail.com

« previous php.internals (#79899) next »