Benchmarks
Order signing benchmarks
Orders that you send to Paradex must be signed. The signature is verified both by Paradex API and during on-chain settlement to ensure that the order was created by you and was not modified.
This section provides an overview of the speed of order signature in currently implemented programming languages.
Code
Benchmarking Results
Language | Signature lib | Signatures / second | Signature latency (ms) |
---|---|---|---|
Go | Go gnark-crypto | 1430 | 0.7 |
Python | Rust starknet-crypto-py | 182 | 5 |
Python | C++ crypto-cpp-py | 8 | 119 |
Java | JVM StarknetCurve | 182 | 5 |
Java | C++ crypto-cpp | 8 | 119 |
TypeScript | JS starknet.js | 50 | 20 |
Rust | 5000 | 0.2 | |
C++ | 2500 | 0.4 |