demergent-labs / canister-profiling

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

Add Azle implementation of Basic DAO example #10

Open dansteren opened 11 months ago

dansteren commented 11 months ago

Basic DAO

binary_size init transfer_token submit_proposal vote_proposal upgrade
Rust 781_448 548_099 86_604 105_959 117_886 1_624_732
Azle 5_235_199 1_205_288_544 5_241_400 6_240_861 14_456_722 1_178_028_300

[!Warning] Currently the process crashes without completing because pre/post upgrade haven't been implemented:

Flamegraph written to canister-profiling/_out/dapps/Azle_upgrade.svg
1_178_013_881 : nat
(189.31s)
"[1_178_013_881](Azle_upgrade.svg)|\n"
(430.95µs)
null
(86.09ms)
Error: selector Option cannot be applied to null
make: *** [Makefile:18: perf] Error 1