Repository navigation
Commit cbdf027
committed
test(coderd/x/chatd): size delta benchmark to the episode cap
The 1 MiB episode buffer stops accepting seven-byte text deltas after
about 2,585, so the 4,000-delta case measured an input the interrupt
path cannot receive. Use 2,500, and b.Loop so setup stays out of the
timing without ResetTimer.1 parent 2022aca commit cbdf027
1 file changed
Lines changed: 5 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1025 | 1025 | | |
1026 | 1026 | | |
1027 | 1027 | | |
1028 | | - | |
1029 | | - | |
| 1028 | + | |
| 1029 | + | |
| 1030 | + | |
1030 | 1031 | | |
1031 | | - | |
| 1032 | + | |
1032 | 1033 | | |
1033 | 1034 | | |
1034 | 1035 | | |
| |||
1046 | 1047 | | |
1047 | 1048 | | |
1048 | 1049 | | |
1049 | | - | |
1050 | | - | |
| 1050 | + | |
1051 | 1051 | | |
1052 | 1052 | | |
1053 | 1053 | | |
| |||
0 commit comments