Our first benchmarks implementing @AleoHQ on @WebGPU are in.
Our first goal is to speed up syncing within the @theLeoWallet .
The follow benchmarks are all run on an M2 Max Macbook Pro within @googlechrome
Checking encrypted UTXO ownership requires two top level operations: EC Point Scalar Multiplication & a Poseidon hash.
We're seeing a 20x+ speedup for multiplication
For Poseidon hashes, we're getting 10x+ speedups:
This is already a pretty incredible improvement but browser performance but we think the ceiling is much higher as basic field operations are 350x+ faster.
Here's field addition (7M ops/sec vs 18K ops/sec in wasm)
@WebGPU is going to make ZKP technology actually accessible to the client without delegation. This is essential to #privacy
It's a large challenge working with @WebGPU in its early state but there are workarounds for most issues. And you can't ignore the performance gains.
Next up, we'll focus on improving the proving speed aka MSMs.
We'll share benchmarks as soon as we have them.
• • •
Missing some Tweet in this thread? You can try to
force a refresh