-
Notifications
You must be signed in to change notification settings - Fork 730
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
Add various performance improvements #551
Conversation
86523ff
to
c84fe16
Compare
@martijnwalraven Wanna update this in the 🇳🇱 morning and make it non-draft? |
ergh, @martijnwalraven I think you need to push some new code after you mark a draft ready - unfortunately travis keeps saying this is a draft PR. |
@martijnwalraven I'm seeing |
OK, looks like it's the Thread Sanitizer throwing a fit that's causing these inconsistent fails. This is happening considerably more often than it is on Here's the error I'm getting in Here's the big old barf of notes from Xcode.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We need to figure out what's making thread sanitizer lose its tiny mind
This PR adds various performance improvements, mostly focusing on response parsing. Among other things, it changes the response path representation to a linked list, and it adds a fast path for parsing results that don't need to be stored in the cache, which can be activated with a new
.fetchIgnoringCacheCompletely
cache policy. For large query results, this seems to show an 80-85% performance improvement.