-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
use Nat64 for PRNG #69
Conversation
Map
Priority queue
MoVM
Statistics
Basic DAO
DIP721 NFT
Statistics
Heartbeat
Timer
Statistics
Garbage Collection
Actor class
Statistics
Overall Statistics
|
Collection librariesMeasure different collection libraries written in both Motoko and Rust. We use the same random number generator with fixed seed to ensure that all collections contain
💎 Takeaways
Map
Priority queue
Sample DappsMeasure the performance of some typical dapps:
Basic DAO
DIP721 NFT
Heartbeat / TimerMeasure the cost of empty heartbeat and timer job.
Heartbeat
Timer
Motoko Specific BenchmarksMeasure various features only available in Motoko.
Garbage Collection
Actor class
Publisher & SubscriberMeasure the cost of inter-canister calls from the Publisher & Subscriber example.
|
* scale collection to 1M * 0.8M * fix and back to 1M * fix * disable heap * fix * add back heap * don't use heapify * uninstall canister to avoid CI OOM
Basic DAO
DIP721 NFT
Statistics
Heartbeat
Timer
Statistics
Actor class
Statistics
Publisher & Subscriber
Statistics
Overall Statistics
|
* use Nat32 for PRNG * fix * fix * avoid debug_show overhead * use Nat64 * reuse rand for remove * scale collection to 1M (#70) * scale collection to 1M * 0.8M * fix and back to 1M * fix * disable heap * fix * add back heap * don't use heapify * uninstall canister to avoid CI OOM
Reduce overhead in PRNG