Skip to content

Initial attempt at criterion benchmark.#34

Merged
sharkinsspatial merged 4 commits into
mainfrom
benchmarking
Mar 26, 2026
Merged

Initial attempt at criterion benchmark.#34
sharkinsspatial merged 4 commits into
mainfrom
benchmarking

Conversation

@sharkinsspatial

Copy link
Copy Markdown
Member

No description provided.

@kylebarron kylebarron left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't have any specific comments about using async with criterion. I haven't done that before

Comment thread benches/datetime_filter.rs Outdated
Comment on lines +133 to +137
let sql = "\
SELECT * FROM zarr_data WHERE \
date < CAST('2025-10-11' AS DATE) \
and date > CAST('2025-09-01' AS DATE)\
";

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems like you might want this inside the closure created in bench_function, since this is specific to a single benchmark?

Comment thread benches/datetime_filter.rs Outdated
@sharkinsspatial sharkinsspatial marked this pull request as ready for review March 26, 2026 17:50
@sharkinsspatial sharkinsspatial merged commit 0930530 into main Mar 26, 2026
2 checks passed
@sharkinsspatial sharkinsspatial deleted the benchmarking branch March 26, 2026 18:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants