demergent-labs / canister-profiling

Collection of canister performance benchmarks
Apache License 2.0
0 stars 0 forks source link

Add Azle implementation of SHA example #8

Open dansteren opened 11 months ago

dansteren commented 11 months ago

[!NOTE] I'm still having issues with getting motoko to build so here are the results without it.

SHA-2

binary_size SHA-256 SHA-512 account_id neuron_id
Rust 477_702 82_511_961 56_525_962 42_432 44_430
Azle 5_292_861 13_119_571_588 23_486_915_350 2_992_894 2_722_967

Certified map

binary_size generate 10k max mem inc witness upgrade
Rust 500_374 6_199_155_471 2_228_224 983_538 288_338 5_816_678_045