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 > 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 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. -- You received this message because you are subscribed to the Google Groups "SabreDAV Discussion" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/sabredav-discuss/a5d2c40a-b815-42cb-b7e5-a5c9a5a71f59%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
