rellfy / benchmark-esdcsa-rust-go-node

ESDCSA benchmark for the signing of ETH transactions between Rust, Go and Node.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ESDCSA Benchmark: Rust, Go, Node

This benchmark compares how fast the three languages can sign an EIP-191 message, followed by signing an ETH transaction that includes that message.

The tests consist of signing the following message and transaction including the signed message within the data field 100,000 times.

keccak256(
    abi.encodePacked("The quick brown fox jumps over the lazy dog", 1337)
)

Results

The results were obtained on a machine with the following specs:

  • Intel i5-9600K (6) @ 4.6 GHz
  • 16 GB of RAM
Rust Go Node
ms 2430 2344 156399

About

ESDCSA benchmark for the signing of ETH transactions between Rust, Go and Node.


Languages

Language:Go 35.0%Language:Rust 34.6%Language:JavaScript 19.4%Language:Shell 10.9%