Skip to content

Parallelize initial content wasm test conversion with ThreadPool - #9077

Open
brendandahl wants to merge 1 commit into
WebAssembly:mainfrom
brendandahl:checkpy-clusterfuzz-parallel-initial
Open

Parallelize initial content wasm test conversion with ThreadPool#9077
brendandahl wants to merge 1 commit into
WebAssembly:mainfrom
brendandahl:checkpy-clusterfuzz-parallel-initial

Conversation

@brendandahl

Copy link
Copy Markdown
Collaborator
  • Convert initial wasm tests in memory using ThreadPool and stdin/stdout piping
  • Add add_bytes_to_tar helper and write initial/num.txt in memory without disk I/O
  • Stream initial content directly into the tar archive with in-place progress output

Reduces test_cluster_fuzz test runtime from ~265s to ~76s (~3.5x faster),
with bundling time dropping from ~125s to ~24s (~5x faster).

@brendandahl
brendandahl requested a review from a team as a code owner September 4, 2026 18:44
@brendandahl
brendandahl requested review from aheejin and removed request for a team September 4, 2026 18:44
@brendandahl

Copy link
Copy Markdown
Collaborator Author

I've got a separate pr for the gzip level change in #9076.

- Convert initial wasm tests in memory using ThreadPool and stdin/stdout piping
- Add add_bytes_to_tar helper and write initial/num.txt in memory without disk I/O
- Stream initial content directly into the tar archive with in-place progress output

Reduces test_cluster_fuzz test runtime from ~265s to ~76s (~3.5x faster),
with bundling time dropping from ~125s to ~24s (~5x faster).
@brendandahl
brendandahl force-pushed the checkpy-clusterfuzz-parallel-initial branch from 136776d to 5cc19c3 Compare September 4, 2026 22:41
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.

1 participant