Commit bf59ec9
committed
perf(serial): improve throughput test stepping and failure handling
- Change size stepping from 2x to 1.4x with even rounding for finer
granularity (16→22→30→42→58→80→112→156→218→304→424→592→828→...→3174)
- When minimum size (16 bytes) fails, report as error instead of
recommending 16 bytes as chunk size
- Set recommended_chunk_size to 0 on total failure1 parent a96f1f9 commit bf59ec9
2 files changed
Lines changed: 8 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
630 | 630 | | |
631 | 631 | | |
632 | 632 | | |
633 | | - | |
| 633 | + | |
634 | 634 | | |
635 | 635 | | |
636 | 636 | | |
| |||
640 | 640 | | |
641 | 641 | | |
642 | 642 | | |
643 | | - | |
| 643 | + | |
| 644 | + | |
| 645 | + | |
| 646 | + | |
| 647 | + | |
| 648 | + | |
644 | 649 | | |
645 | 650 | | |
646 | 651 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
| 48 | + | |
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| |||
0 commit comments