• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

zodb / relstorage / 583 / 9
96%
master: 92%

Build:
Build:
LAST BUILD BRANCH: dependabot/github_actions/github-actions-a331d3ec2d
DEFAULT BRANCH: master
Ran 25 Jan 2017 11:42PM UTC
Files 73
Run time 3s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

25 Jan 2017 11:28PM UTC coverage: 84.997% (+0.07%) from 84.923%
ENV=pymysql

push

travis-ci

jamadden
Better DBAPI compliance: don't depend on cursor.rowcount and full resultset buffering

This is a good thing in general.

In MySQL Connectors case, it means we can get away from using the
`buffered=True` parameter when we get a cursor, which is a necessary
step to being able to use prepared cursors (because the two types can't
be combined).

It also *massively* improves performance. Using a buffered cursor,
running the testmysql tests took 173s with the python driver; using the
default unbuffered cursor they go to ~129s, which is comprable to
PyMySQL's ~125s. The C implemenattion goes to 115s (I didn't get a
before number for it) which is comprable to mysqlclient's 111s.

It makes me wonder what using unbuffered queries in those two
implementations might look like. mysqlclient appears to use one API call
to buffer the entire result set (mysql_store_result). PyMySQL seems to
iterate "packet" by packet, while connector/python iterates "row" by
row, which appear to be the same. This requires further testing.

4623 of 5439 relevant lines covered (85.0%)

0.85 hits per line

Source Files on job 583.9 (ENV=pymysql)
  • Tree
  • List 0
  • Changed 11
  • Source Changed 6
  • Coverage Changed 11
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 583
  • Travis Job 583.9
  • c5200e81 on github
  • Prev Job for ENV=pymysql on mysql-connector (#581.11)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc