Repository navigation
Conversation
NetworkSender._send_control serializes the PythonControlMessage and calls the proxy client's "control" action, which drives the RPC and consumes its single reply. The reply body carries flow-control credits that are currently unused, so the call now discards it directly instead of wrapping it in an int.from_bytes decode whose result was thrown away. This matches how _handshake already ignores the same reply. test_network_sender adds a positive case for _send_control: it stubs the proxy client's call_action, asserts the method still invokes "control" with the serialized PythonControlMessage, and asserts it returns None even when the proxy hands back a non-empty body.
Contributor
Automated Reviewer SuggestionsBased on the
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #9609 +/- ##
=========================================
Coverage 91.57% 91.57%
Complexity 5182 5182
=========================================
Files 1300 1300
Lines 58133 58133
Branches 7615 7615
=========================================
Hits 53236 53236
Misses 2959 2959
Partials 1938 1938
*This pull request uses carry forward flags. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Contributor
|
| config | throughput | MB/s | latency | max Δ latest / 7d | |
|---|---|---|---|---|---|
| 🔴 | bs=10 sw=10 sl=64 | 574 | 0.35 | 16,801/27,343/27,343 us | 🔴 +17.6% / 🔴 +97.3% |
| 🟢 | bs=100 sw=10 sl=64 | 1,272 | 0.776 | 78,261/92,528/92,528 us | 🟢 -29.1% / 🟢 -13.4% |
| 🔴 | bs=1000 sw=10 sl=64 | 1,483 | 0.905 | 666,187/807,056/807,056 us | 🔴 +13.2% / 🟢 -14.2% |
Baseline details
Latest main f030df1 from same runner
| config | metric | PR | latest main | 7d avg | Δ latest | Δ 7d |
|---|---|---|---|---|---|---|
| bs=10 sw=10 sl=64 | throughput | 574 tuples/sec | 598 tuples/sec | 1,019 tuples/sec | -4.0% | -43.7% |
| bs=10 sw=10 sl=64 | MB/s | 0.35 MB/s | 0.365 MB/s | 0.622 MB/s | -4.1% | -43.7% |
| bs=10 sw=10 sl=64 | p50 | 16,801 us | 14,290 us | 10,136 us | +17.6% | +65.8% |
| bs=10 sw=10 sl=64 | p95 | 27,343 us | 27,524 us | 13,860 us | -0.7% | +97.3% |
| bs=10 sw=10 sl=64 | p99 | 27,343 us | 27,524 us | 16,484 us | -0.7% | +65.9% |
| bs=100 sw=10 sl=64 | throughput | 1,272 tuples/sec | 1,172 tuples/sec | 1,363 tuples/sec | +8.5% | -6.7% |
| bs=100 sw=10 sl=64 | MB/s | 0.776 MB/s | 0.715 MB/s | 0.832 MB/s | +8.5% | -6.7% |
| bs=100 sw=10 sl=64 | p50 | 78,261 us | 78,971 us | 79,194 us | -0.9% | -1.2% |
| bs=100 sw=10 sl=64 | p95 | 92,528 us | 130,540 us | 87,022 us | -29.1% | +6.3% |
| bs=100 sw=10 sl=64 | p99 | 92,528 us | 130,540 us | 106,894 us | -29.1% | -13.4% |
| bs=1000 sw=10 sl=64 | throughput | 1,483 tuples/sec | 1,465 tuples/sec | 1,407 tuples/sec | +1.2% | +5.4% |
| bs=1000 sw=10 sl=64 | MB/s | 0.905 MB/s | 0.894 MB/s | 0.859 MB/s | +1.2% | +5.4% |
| bs=1000 sw=10 sl=64 | p50 | 666,187 us | 685,892 us | 776,422 us | -2.9% | -14.2% |
| bs=1000 sw=10 sl=64 | p95 | 807,056 us | 713,152 us | 814,091 us | +13.2% | -0.9% |
| bs=1000 sw=10 sl=64 | p99 | 807,056 us | 713,152 us | 860,577 us | +13.2% | -6.2% |
Raw CSV
config_idx,batch_size,schema_width,string_len,num_batches,total_ms,total_tuples,total_bytes,tuples_per_sec,mb_per_sec,lat_p50_us,lat_p95_us,lat_p99_us
0,10,10,64,20,348.47,200,128000,574,0.350,16800.82,27343.12,27343.12
1,100,10,64,20,1572.42,2000,1280000,1272,0.776,78261.10,92528.15,92528.15
2,1000,10,64,20,13484.43,20000,12800000,1483,0.905,666187.39,807055.80,807055.80This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changes were proposed in this PR?
Any related issues, documentation, discussions?
Closes: #9606
How was this PR tested?
Was this PR authored or co-authored using generative AI tooling?
Co-authored with Claude Opus 4.8 in compliance with ASF