-
Notifications
You must be signed in to change notification settings - Fork 73
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 a benchmark for read_schema #472
Conversation
require.NoError(b, mig.Close()) | ||
}) | ||
|
||
setupInitialTable(b, ctx, testSchema, mig, db, 1) |
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.
it seems clear that for the shake of this test and the others, we probably want a more complex schema here, right? not for this PR
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.
Yeah, agree. I'm not sure exactly how the performance of read_schema
would change depending on the complexity of the schema but I guess that's something we could actually benchmark too :)
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.
++
Add a benchmark for the
read_schema
function which has caused regressions in the past.Part of #408