Skip to content

Add a benchmark for filter_missing - #1424

Merged
sirosen merged 2 commits into
globus:mainfrom
sirosen:benchmark-filter-missing
Sep 2, 2026
Merged

Add a benchmark for filter_missing#1424
sirosen merged 2 commits into
globus:mainfrom
sirosen:benchmark-filter-missing

Conversation

@sirosen

@sirosen sirosen commented Sep 1, 2026

Copy link
Copy Markdown
Member

Add a benchmark for filtering out MISSING values from a wide and deep request body.

Note

This is a benchmark developed during review of #1423, and is not safe to add to main until that fix merges.

@kurtmckee, I'm especially interested in what you think of this benchmark as the author of the original fix PR. I'm using a cherry-pick of this work to evaluate potential improvements.
(I think some measure of perf testing is important to validate my assumptions. I had some initial feedback that I scrapped once I actually measured the effects.)

EDIT: I added a small second benchmark which grabs testing registered response data as "typical" JSON data. This doesn't demonstrate any perf wins or losses in my testing across branches, but serves as a good "do no harm" signal.

Comment thread tests/benchmark/test_filter_missing.py Outdated
@sirosen
sirosen force-pushed the benchmark-filter-missing branch from ddbe892 to f7b3e9e Compare September 2, 2026 15:49
@sirosen
sirosen merged commit d90e5c6 into globus:main Sep 2, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

no-news-is-good-news This change does not require a news file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants