Skip to content

Commit d15cb04

Browse files
committed
Reduce thread count in UltraHonkBackend for proof generation to optimize performance
1 parent b959127 commit d15cb04

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

recursive_verification/scripts/generate_data.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ const helloWorld = new Noir(circuitJson as any)
88

99
const { witness: mainWitness } = await helloWorld.execute({ x: 1, y: 2 })
1010

11-
const mainBackend = new UltraHonkBackend(circuitJson.bytecode, { threads: 8 })
11+
const mainBackend = new UltraHonkBackend(circuitJson.bytecode, { threads: 1 })
1212
const mainProofData: ProofData = await mainBackend.generateProof(mainWitness)
1313
const mainVerificationKey = await mainBackend.getVerificationKey()
1414

0 commit comments

Comments
 (0)