Using node crypto to do X25519 key operations instead of @noble/curves yields a nice little performance bump which translates to ever so slightly lower latencies when opening connections.
Running the ./benchmarks/benchmark.js file shows a 2x improvement:
Using node crypto to do X25519 key operations instead of
@noble/curves
yields a nice little performance bump which translates to ever so slightly lower latencies when opening connections.Running the
./benchmarks/benchmark.js
file shows a 2x improvement:Before:
After:
Flamegraphs (same scale)
Before:
After: