Skip to content

Turbine: read source files in parallel - #548

Merged
copybara-service[bot] merged 1 commit into
mainfrom
test_1002446245
Oct 21, 2026
Merged

copybara-service[bot] merged 1 commit into
mainfrom
test_1002446245

Conversation

@copybara-service

Copy link
Copy Markdown

Turbine: read source files in parallel

Each source file and source jar entry is now read in the same parallel task that
parses it.

On Chromium's chrome_java target (about 1,750 source files), with Turbine
built as a GraalVM native image, this reduces median wall time from 1.37 s to
1.16 s with the default heap, and from 0.56 s to 0.53 s with -Xms4g. The
output is byte-for-byte identical.

Each source file and source jar entry is now read in the same parallel task that
parses it.

On Chromium's `chrome_java` target (about 1,750 source files), with Turbine
built as a GraalVM native image, this reduces median wall time from 1.37 s to
1.16 s with the default heap, and from 0.56 s to 0.53 s with `-Xms4g`. The
output is byte-for-byte identical.

PiperOrigin-RevId: 1004181286
@copybara-service
copybara-service Bot merged commit d1081d5 into main Oct 21, 2026
2 checks passed
@copybara-service
copybara-service Bot deleted the test_1002446245 branch October 21, 2026 20:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants