Finally identified the slowest part of encryption decryption in Blowater. It is the pure JS secp256k1 implementation from @noble package. 2ms to get a shared key, which is amazingly slow.
Experimenting with the Rust C wrapper and compile it to wasm.
Figured out a way to boost the performance without using WASM, thank God.
Please Login to reply.
No replies yet.