In my own benchmark, which was admittedly contrived for the sake of showing the best possible improvement, the new code is 30% faster.
On Tue, Nov 1, 2016 at 4:23 PM, Lazaro Aulan <[email protected]> wrote: > Thank for Motor. > > Has anyone noticed any change in how fast it is now. > Any test? > > > среда, 26 октября 2016 г., 15:01:10 UTC+3 пользователь A. Jesse Jiryu > Davis написал: > >> For asynchronous I/O Motor now uses a thread pool, which is faster and >> simpler than the prior implementation with greenlets. It no longer requires >> the greenlet package, and now requires the futures backport package on >> Python 2. Read more about the switch from greenlets to threads >> <https://emptysqua.re/blog/motor-0-7-beta/>. >> >> Install with: >> >> python -m pip install motor >> >> >> This version updates the PyMongo dependency from 2.8.0 to 2.9.x, and >> wraps PyMongo 2.9’s new APIs. >> >> Since the beta release I've fixed one bug, an import deadlock under >> certain circumstances with Python 2 and Tornado 3 >> <https://jira.mongodb.org/browse/MOTOR-124>. >> >> The next release will be Motor 1.0, which will be out in less than a >> month. Most of Motor 1.0's API is now implemented in Motor 0.7, and APIs >> that will be removed in Motor 1.0 are now deprecated and raise warnings. >> >> This is a large release, please read the documentation carefully: >> >> - Motor Changelog >> <http://motor.readthedocs.io/en/latest/changelog.html> >> - Motor 1.0 Migration Guide >> <http://motor.readthedocs.io/en/latest/migrate-to-motor-1.html> >> - All Jira tickets in Motor 0.7 >> <https://jira.mongodb.org/issues/?filter=20674> >> >> If you encounter any issues, please file them in Jira >> <https://jira.mongodb.org/browse/MOTOR>. >> >> Peace, >> — A. Jesse Jiryu Davis >> > -- > You received this message because you are subscribed to the Google Groups > "Tornado Web Server" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. >
