Skip to content

Comments

refactor: optimize create_circuit with thread pool delegation#20732

Draft
ludamad wants to merge 1 commit intomerge-train/barretenbergfrom
ad/refactor/optimize-create-circuit-threading
Draft

refactor: optimize create_circuit with thread pool delegation#20732
ludamad wants to merge 1 commit intomerge-train/barretenbergfrom
ad/refactor/optimize-create-circuit-threading

Conversation

@ludamad
Copy link
Collaborator

@ludamad ludamad commented Feb 20, 2026

Refactor create_circuit to minimize main thread work by delegating I/O-bound and CPU-intensive operations to a thread pool. This reduces thread blocking and improves overall performance by ensuring only essential coordination logic runs on the calling thread, enabling scalability for high-throughput scenarios.

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