Repository navigation
[Dataflow Streaming] Speed up non-portable worker precommit tests - #40637
Draft
arunpandianp wants to merge 5 commits into
Draft
arunpandianp wants to merge 5 commits into
arunpandianp wants to merge 5 commits into
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #40637 +/- ##
=============================================
+ Coverage 56.16% 75.80% +19.63%
+ Complexity 2288 2286 -2
=============================================
Files 1124 259 -865
Lines 178336 14459 -163877
Branches 1489 1487 -2
=============================================
- Hits 100170 10960 -89210
+ Misses 75645 2799 -72846
+ Partials 2521 700 -1821
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
added 5 commits
October 16, 2026 17:57
Configure maxParallelForks 4 in runners/google-cloud-dataflow-java/worker/build.gradle matching the convention used across Beam's core and runner modules.
…suites StreamingDataflowWorkerTest is 6,600+ lines and takes over 2 minutes sequentially on a single fork. Sharding into concrete Appliance and StreamingEngine test classes allows Gradle to execute them concurrently on separate forks.
Avoids 10-second idle socket keep-alive timeout in Jetty's LocalConnector across test methods, reducing suite execution from 40s to ~50ms.
Replace on-the-fly generation of 10GB random bytes via Random.nextBytes() in tight 1M loops with fast bit-shift integer indexing into the buffer, saving ~45s of CPU time.
- Reduce polling intervals from 100ms to 10ms while preserving total timeout ceilings. - Remove unnecessary 10s sleep in synchronous StreamingGlobalConfigHandleImplTest. - Advance StreamDebugMetricsTest via virtual clock without wall-clock sleep.
arunpandianp
force-pushed
the
speedup_precommit
branch
from
October 16, 2026 17:58
c70ecac to
b6631b4
Compare
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.
No description provided.