dhegberg opened a new pull request, #13544: URL: https://github.com/apache/datafusion/pull/13544
## Which issue does this PR close? Related to #12904 ## Rationale for this change Requested in comments for `https://github.com/apache/datafusion/pull/13228` A direct testing on loading csv files was identified as a gap in the benchmarking suite. ## What changes are included in this PR? Basic benchmarks related to loading csv files. ## Are these changes tested? Tested via `./bench.sh run csv` Logged output: ``` Running csv load benchmarks. Generated test dataset with 10240283 rows Executing 'CSV Load Speed Test.' Iteration 0 finished in 7.079167 ms. Iteration 1 finished in 3.3643750000000003 ms. Iteration 2 finished in 3.2645 ms. Iteration 3 finished in 3.311208 ms. Iteration 4 finished in 3.319 ms. Done ``` results file: [csv.json](https://github.com/user-attachments/files/17891638/csv.json) Curious result is the first iteration is consistently 6-7 ms vs ~3ms on future iterations. Is a new `SessionContext` not sufficient to remove any cache in loading? <!-- We typically require tests for all PRs in order to: 1. Prevent the code from being accidentally broken by subsequent changes 2. Serve as another way to document the expected behavior of the code If tests are not included in your PR, please explain why (for example, are they covered by existing tests)? --> ## Are there any user-facing changes? No <!-- If there are user-facing changes then we may require documentation to be updated before approving the PR. --> <!-- If there are any breaking changes to public APIs, please add the `api change` label. --> -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
