Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Performance improvements #34

Closed
wants to merge 3 commits into from
Closed

Performance improvements #34

wants to merge 3 commits into from

Conversation

jgallagher
Copy link
Contributor

Two performance improvements that address issue #29:

  1. Wrap the underlying net.Conn in a bufio.Reader (biggest improvement)
  2. Use the Postgres "Simple Query" interface for Exec()s with no parameters (this helps some too, and it's what psyocopg2 is doing under the hood)

@bmizerany
Copy link
Contributor

Merged into my master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants