Re: Method call overhead

From: Date: Wed, 03 Jun 2015 07:50:27 +0000
Subject: Re: Method call overhead
References: 1  Groups: php.internals 
Request: Send a blank email to [email protected] to get a copy of this message

> On 03 06 2015, at 05:30, Bishop Bettini <[email protected]> wrote:

> My question though is on relative times.  Method call overhead is
> consistently 50% to 150% over a direct call.  Is my experiment invalid, or
> is this overhead expected?  Is the overhead in the allocation,
> deallocation, GC?

I’suggest you use a tool like valgrind’s callgrind (and visualize with e.g. kcachegrind).

Regards,
Mike
 


Thread (12 messages)

« previous php.internals (#86472) next »