2016-06-24 21:12 GMT+02:00 Evert Pot <
ever...@gmail.com>:
>
> On Friday, June 24, 2016 at 12:22:48 PM UTC-4, mbiebl wrote:
>>
>> Hi,
>>
>> I've run some homegrown benchmarks (creating 1000 contacts, reading 1000
>> contacts, deleteing 1000 contacts) against v2.0.9 and v3.1.4.
>>
>> It seem v2 is quite a bit faster, e.g. for a retrieving 100 cards I have
I meant 1000 cards here, not 100.
>> 229s v 114s, when running under xdebug, without xdebug v2 is about 30-50%
>> faster.
>>
>> There seems to be quite a bit of overhead in v3
>>
>> Can anyone confirm these findings?
>>
>
> This would be a perfect case for
blackfire.io, if you're willing to post it
> there!
I don't know
blackfire.io, but I will have a look. Thanks for the hint.
> I think the difference might largely due to the fact that we're now parsing
> vcards when reading them to see if we need to convert to a different vcard
> version.
> I had some ideas to short-cut this by just looking for the string
> VERSION:*.x in the first few bytes, but it would be great to see (based on
> blackfire) if that hunch
> is actually correct and will improve performance.
I see a lot more string handling calls in the xdebug trace (like
strpos, etc), the PDO calls seem to take up more time (not sure why).
I'll have a closer look at the xdebug / qcachegrind output later.
Will be away for two weeks, so don't expect a followup soonish.
Regards,
Michael
--
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?