Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions benchmarks/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@ path = "io_chunks/src/main.rs"
name = "memory_manager"
path = "memory_manager/src/main.rs"

[[bin]]
name = "nns"
path = "nns/src/main.rs"

[[bin]]
name = "vec"
path = "vec/src/main.rs"
3 changes: 3 additions & 0 deletions benchmarks/nns/canbench.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
build_cmd: cargo build -p benchmarks --release --target wasm32-unknown-unknown --locked

wasm_path: ../../target/wasm32-unknown-unknown/release/nns.wasm
114 changes: 114 additions & 0 deletions benchmarks/nns/canbench_results.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,114 @@
benches:
vote_cascading_heap_centralized_10k:
total:
calls: 1
instructions: 77758460
heap_increase: 16
stable_memory_increase: 0
scopes: {}
vote_cascading_heap_centralized_1k:
total:
calls: 1
instructions: 7815132
heap_increase: 1
stable_memory_increase: 0
scopes: {}
vote_cascading_heap_chain_10k_15:
total:
calls: 1
instructions: 1272207053
heap_increase: 10
stable_memory_increase: 0
scopes: {}
vote_cascading_heap_chain_10k_5:
total:
calls: 1
instructions: 239648964
heap_increase: 10
stable_memory_increase: 0
scopes: {}
vote_cascading_heap_chain_1k_15:
total:
calls: 1
instructions: 124352570
heap_increase: 1
stable_memory_increase: 0
scopes: {}
vote_cascading_heap_chain_1k_5:
total:
calls: 1
instructions: 23867558
heap_increase: 0
stable_memory_increase: 0
scopes: {}
vote_cascading_heap_single_vote_10k:
total:
calls: 1
instructions: 5639
heap_increase: 0
stable_memory_increase: 0
scopes: {}
vote_cascading_heap_single_vote_1k:
total:
calls: 1
instructions: 5737
heap_increase: 0
stable_memory_increase: 0
scopes: {}
vote_cascading_stable_centralized_10k:
total:
calls: 1
instructions: 1375361602
heap_increase: 10
stable_memory_increase: 0
scopes: {}
vote_cascading_stable_centralized_1k:
total:
calls: 1
instructions: 99869278
heap_increase: 1
stable_memory_increase: 0
scopes: {}
vote_cascading_stable_chain_10k_15:
total:
calls: 1
instructions: 9800292700
heap_increase: 5
stable_memory_increase: 0
scopes: {}
vote_cascading_stable_chain_10k_5:
total:
calls: 1
instructions: 3004791001
heap_increase: 5
stable_memory_increase: 0
scopes: {}
vote_cascading_stable_chain_1k_15:
total:
calls: 1
instructions: 865575963
heap_increase: 0
stable_memory_increase: 0
scopes: {}
vote_cascading_stable_chain_1k_5:
total:
calls: 1
instructions: 252822713
heap_increase: 0
stable_memory_increase: 0
scopes: {}
vote_cascading_stable_single_vote_10k:
total:
calls: 1
instructions: 91204
heap_increase: 0
stable_memory_increase: 0
scopes: {}
vote_cascading_stable_single_vote_1k:
total:
calls: 1
instructions: 66626
heap_increase: 0
stable_memory_increase: 0
scopes: {}
version: 0.2.0
3 changes: 3 additions & 0 deletions benchmarks/nns/src/main.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
mod nns_vote_cascading;

fn main() {}
Loading
Loading