-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
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
CLN: ASV io benchmarks #18906
CLN: ASV io benchmarks #18906
Conversation
Codecov Report
@@ Coverage Diff @@
## master #18906 +/- ##
==========================================
- Coverage 91.65% 91.59% -0.06%
==========================================
Files 154 150 -4
Lines 51368 48939 -2429
==========================================
- Hits 47080 44826 -2254
+ Misses 4288 4113 -175
Continue to review full report at Codecov.
|
asv_bench/benchmarks/io/sql.py
Outdated
read_sql_query(self.query_all, self.con) | ||
|
||
def time_read_sql_query_select_column(self, connection, dtype): | ||
read_sql_query(self.query_all, self.con) |
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.
query_col ?
asv_bench/benchmarks/io/sql.py
Outdated
|
||
goal_time = 0.2 | ||
params = (['sqlalchemy', 'sqlite'], | ||
['float', 'float_with_nan', 'string', 'bool', 'int', 'datetime']) |
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 would personally keep this benchmark splitted into two classes where one has those params (for testing types) and the other not. As now this creates a lot of extra benchmarks that are not needed
Fixed the incorrect benchmark and split up the SQL benchmark to avoid redundant tests. |
thanks! |
xref
Consolidated the benchmarks from
io_sql.py
,hdfstore_bench.py
, andpackers.py
into their own files in theio
folder. Benchmarks are largely the same as they were, just cleaned and simplified where able.