Skip to content

Improve flatten benchmark#5360

Open
ajpotts wants to merge 1 commit intoBears-R-Us:mainfrom
ajpotts:flatten_benchmark_improvements
Open

Improve flatten benchmark#5360
ajpotts wants to merge 1 commit intoBears-R-Us:mainfrom
ajpotts:flatten_benchmark_improvements

Conversation

@ajpotts
Copy link
Contributor

@ajpotts ajpotts commented Jan 28, 2026

Improve flatten benchmark by:

  • Creating a new variable trimmed_N, so that N will not differ from pytest.N.
  • Removes the flatten benchmark from the benchmark.ini, as it has been moved to the optional folder.
  • Adds the shape_type to the benchmark.extra_info["description"].

@codecov
Copy link

codecov bot commented Jan 28, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
⚠️ Please upload report for BASE (main@d2a464d). Learn more about missing BASE report.

Additional details and impacted files
@@           Coverage Diff            @@
##             main     #5360   +/-   ##
========================================
  Coverage        ?   100.00%           
========================================
  Files           ?         5           
  Lines           ?       115           
  Branches        ?         0           
========================================
  Hits            ?       115           
  Misses          ?         0           
  Partials        ?         0           
Flag Coverage Δ
python-coverage 100.00% <ø> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@ajpotts ajpotts force-pushed the flatten_benchmark_improvements branch from 47f38fa to 0d2f984 Compare January 29, 2026 15:10
@ajpotts ajpotts force-pushed the flatten_benchmark_improvements branch from 0d2f984 to 8067701 Compare January 30, 2026 18:40
@ajpotts ajpotts marked this pull request as ready for review January 30, 2026 18:40
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.

1 participant