-
-
Notifications
You must be signed in to change notification settings - Fork 34.4k
sqlite: create options benchmarks #61401
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
base: main
Are you sure you want to change the base?
Conversation
|
Review requested:
|
H4ad
left a comment
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.
Hey, thanks for the PR.
I think it would be better to have another benchmark just to test the impact of these options, to keep the running time low instead of increasing the combinations of a single benchmark and raise the amount of time it takes to run.
| 'SELECT 1', | ||
| 'SELECT * FROM foo LIMIT 1', | ||
| 'SELECT * FROM foo LIMIT 100', | ||
| 'SELECT text_column FROM foo LIMIT 1', | ||
| 'SELECT text_column FROM foo LIMIT 100', | ||
| 'SELECT text_column, integer_column FROM foo LIMIT 1', | ||
| 'SELECT text_column, integer_column FROM foo LIMIT 100', | ||
| 'SELECT text_column, integer_column, real_column FROM foo LIMIT 1', | ||
| 'SELECT text_column, integer_column, real_column FROM foo LIMIT 100', | ||
| 'SELECT text_column, integer_column, real_column, blob_column FROM foo LIMIT 1', | ||
| 'SELECT text_column, integer_column, real_column, blob_column FROM foo LIMIT 100', | ||
| 'SELECT text_8kb_column FROM foo_large LIMIT 1', | ||
| 'SELECT text_8kb_column FROM foo_large LIMIT 100', |
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.
I don't think is worthy to have this many variations
Maybe just select the most signification one (line 11 and 12)
And then combine the three benchmarks into one with: options: 'none, returnArrays, returnBigInt, returnArray|returnBigInts'
Adds an options config to the
sqlitebenchmarks to measure the performance impact of different database configurations.