canister-profiling

Cryptographic libraries

Measure different cryptographic libraries written in both Motoko and Rust.

SHA-2

  binary_size SHA-256 SHA-512 account_id neuron_id
Motoko 199_257 282_867_517 262_958_028 34_369 25_335
Rust 596_836 82_782_948 56_788_520 42_522 41_228

Certified map

  binary_size generate 10k max mem inc witness upgrade
Motoko 248_058 365_606_356 342_396 397_640 267_761 22_396_932
Rust 640_537 489_666_578 1_310_720 660_965 220_622 450_827_450

Environment