Repository navigation
Commit 6794be4
committed
gh-159191: Stress test bytes.join() with non-bytes items
The existing stress tests now only take the fast path. test_bytes is
part of the PGO training set, so the general path was barely trained,
and PGO builds stopped inlining PyBuffer_Release() there: joining a
list that is half bytearrays became about 14% slower than on main.
With this test it is back to main's speed.1 parent e73c74c commit 6794be4
1 file changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
655 | 655 | | |
656 | 656 | | |
657 | 657 | | |
| 658 | + | |
| 659 | + | |
658 | 660 | | |
659 | 661 | | |
660 | 662 | | |
| |||
0 commit comments