On Monday, September 8, 2014 2:04:26 PM UTC+9, Naoki INADA wrote:
>
> > 
> > Naoki, 
> > 
> > Are you aware of performance benchmarks comparing your MySQLdb1 fork and 
> > mysql-connector-python? 
>
> I'll show you some numbers.  But I'm not have time for now. 
>

I've posted quick benchmark:
https://github.com/methane/mysql-driver-benchmarks

Most heavy part of MySQL Driver is parsing packet.
There are (number of columsn) descripter packet and (number of columns * 
number of rows) result packet in query response.

On PyPy, packet parsing is faster after JIT warmup.
MySQL-Connector/Python reads from socket packet by packed.  It makes many 
system call.
PyMySQL uses buffering for faster receiving.

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/django-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-developers/86510ef0-f470-47c6-a137-44caf6e87373%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to