Skip to content

[red-knot] unswap naming of benchmark groups#12396

Merged
MichaReiser merged 1 commit intocjm/bench-preparse-builtinsfrom
cjm/fix-benchmark-naming
Jul 19, 2024
Merged

[red-knot] unswap naming of benchmark groups#12396
MichaReiser merged 1 commit intocjm/bench-preparse-builtinsfrom
cjm/fix-benchmark-naming

Conversation

@carljm
Copy link
Copy Markdown
Contributor

@carljm carljm commented Jul 18, 2024

Unless there's some logic in criterion_group! that I really don't understand, it looks like these benchmark group names were swapped, so the group labeled without_parse was actually the cold benchmark, and vice versa. Not sure this practically matters, since the benchmark function names were correct.

@codspeed-hq
Copy link
Copy Markdown

codspeed-hq Bot commented Jul 18, 2024

CodSpeed Performance Report

Merging #12396 will not alter performance

Comparing cjm/fix-benchmark-naming (d901769) with cjm/bench-preparse-builtins (93cf6b5)

Summary

✅ 31 untouched benchmarks

🆕 2 new benchmarks
⁉️ 2 (👁 2) dropped benchmarks

Benchmarks breakdown

Benchmark cjm/bench-preparse-builtins cjm/fix-benchmark-naming Change
🆕 red_knot_check_file[cold] N/A 346.1 µs N/A
👁 red_knot_check_file[without_parse] 257 µs N/A N/A
👁 red_knot_check_file[cold] 343.9 µs N/A N/A
🆕 red_knot_check_file[without_parse] N/A 258.4 µs N/A

@carljm carljm force-pushed the cjm/fix-benchmark-naming branch from 5600b49 to d901769 Compare July 18, 2024 21:45
@carljm carljm changed the title [red-knot] fix naming of benchmarks [red-knot] unswap naming of benchmark groups Jul 18, 2024
@github-actions
Copy link
Copy Markdown
Contributor

ruff-ecosystem results

Linter (stable)

✅ ecosystem check detected no linter changes.

Linter (preview)

✅ ecosystem check detected no linter changes.

@MichaReiser MichaReiser merged commit 95404a4 into cjm/bench-preparse-builtins Jul 19, 2024
@MichaReiser MichaReiser deleted the cjm/fix-benchmark-naming branch July 19, 2024 05:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ty Multi-file analysis & type inference

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants