Conversation
ad2619c to
8385621
Compare
| num-prime = "0.5.0" | ||
| num-traits = "0.2.19" | ||
| fancy-regex = { version = "0.19.1", default-features = false, features = [ | ||
| fancy-regex = { version = "0.19.2", default-features = false, features = [ |
There was a problem hiding this comment.
perhaps we could move the feature selection to src/uucore/Cargo.toml
Merging this PR will degrade performance by 3.77%
|
| Mode | Benchmark | BASE |
HEAD |
Efficiency | |
|---|---|---|---|---|---|
| ❌ | Memory | factor_multiple_u64s[2] |
88.8 KB | 92.9 KB | -4.4% |
| ❌ | Memory | hostname_basic |
91 KB | 95.1 KB | -4.3% |
| ❌ | Memory | seq_custom_separator |
93.1 KB | 97.2 KB | -4.21% |
| ❌ | Memory | wc_lines_extreme_line_lengths[(100000, 200)] |
99.7 KB | 103.8 KB | -3.94% |
| ❌ | Memory | nl_many_lines[100000] |
100.9 KB | 105 KB | -3.9% |
| ❌ | Memory | unexpand_many_lines[100000] |
101.7 KB | 105.8 KB | -3.87% |
| ❌ | Memory | expand_custom_tabstops[50000] |
101.7 KB | 105.8 KB | -3.86% |
| ❌ | Memory | cut_characters_long_lines |
103.2 KB | 107.3 KB | -3.81% |
| ❌ | Simulation | hostname_basic |
427.3 µs | 443.8 µs | -3.72% |
| ❌ | Memory | fold_custom_width[50000] |
110.7 KB | 114.8 KB | -3.56% |
| ❌ | Memory | split_numeric_suffix |
115.2 KB | 119.3 KB | -3.43% |
| ❌ | Memory | df_deep_directory |
115.4 KB | 119.5 KB | -3.42% |
| ❌ | Memory | join_custom_separator |
120.7 KB | 124.8 KB | -3.28% |
| ❌ | Memory | cksum_multiple_files |
125.9 KB | 130 KB | -3.15% |
Tip
Investigate this regression by commenting @codspeedbot fix this regression on this PR, or directly use the CodSpeed MCP with your agent.
Comparing wtcpython:uucore-regex (cd53de5) with main (94811cc)2
Footnotes
-
50 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports. ↩
-
No successful run was found on
main(c6b9e4f) during the generation of this report, so 94811cc was used instead as the comparison base. There might be some changes unrelated to this pull request in this report. ↩
8385621 to
47d63dc
Compare
This comment was marked as outdated.
This comment was marked as outdated.
47d63dc to
a427a2b
Compare
|
GNU testsuite comparison: |
a427a2b to
257233c
Compare
This comment was marked as resolved.
This comment was marked as resolved.
846bee8 to
20880e0
Compare
20880e0 to
cd53de5
Compare
|
@codspeedbot fix this regression |
Fixed in 3d05af4. What the report was actually showingThe regression was real, not noise: every memory benchmark in the tree gained exactly the same amount — +16 allocations, +4,752 bytes allocated, +4,187 bytes peak — including utilities that never compile a regex. Only the cheapest benchmarks crossed the reporting threshold, which is why the list looks arbitrary. I reproduced it locally with the CodSpeed CLI:
Cause
Growing that shared file therefore charges every benchmark. The eight new FixThe ids the error resource defines are now generated at build time and checked before the bundle is built, so a lookup that cannot be in there costs a
The regression is gone, and every benchmark drops the error-resource parse it was never supposed to pay — expect improvements across the board in the next report rather than a flat comparison. Validation: One caveat on the original report: its base was 94811cc rather than your merge base, and several benchmarks were compared across different CPU models. That did not affect this diagnosis — the memory numbers are byte-identical on both base runs — but it is worth reading the "Environment Differences" section before trusting any sub-10% simulation move on this repo. Summary
Was this response helpful? React with 👍 or 👎 to help us improve CodSpeedBot. |
|
@sylvestre The agent successfully pushed wtcpython@3d05af4 to the PR’s source branch, but GitHub did not synchronize the PR with the new commit. I’m investigating 👀 |
No description provided.