Skip to content

Commit

Permalink
CAD-1859 bench: 52-node profiles
Browse files Browse the repository at this point in the history
  • Loading branch information
deepfire committed Oct 26, 2020
1 parent e709c29 commit f4544d0
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bench/lib-params.sh
Expand Up @@ -36,7 +36,7 @@ topology_id_pool_density_map() {
nix-instantiate --strict --eval \
-E '__toJSON (__listToAttrs
(map (x: { name = toString x.nodeId;
value = x.pools or 0; })
value = if (x.pools or 0) == null then 0 else x.pools or 0; })
(import '"${topology_file}"').coreNodes))' |
sed 's_\\__g; s_^"__; s_"$__'
}
Expand Down Expand Up @@ -168,7 +168,7 @@ def profile_name($gtor; $gsis):
| { meta:
{ era: $era
, topology: $topology
, node_names: ( [range(0; 16)]
, node_names: ( [range(0; 100)]
| map ("node-\(.)")
| .[:$composition.n_total])
## Note: the above is a little ridiculous, but better than hard-coding.
Expand Down
15 changes: 15 additions & 0 deletions bench/profile-definitions.jq
Expand Up @@ -171,4 +171,19 @@ def aux_profiles:
, extra_delegators: 500000
, stuffed_utxo: 1000000
, genesis_future_offset: "9 minutes" } }

, { name: "k1000-fast52"
, generator: { txs: 10000, add_tx_size: 100, io_arity: 1, tps: 100 }
, genesis:
{ dense_pool_density: 20
, extra_delegators: 500000
, stuffed_utxo: 1000000
, genesis_future_offset: "20 minutes" } }
, { name: "k1000-52"
, generator: { txs: 10000, add_tx_size: 100, io_arity: 1, tps: 100 }
, genesis:
{ dense_pool_density: 20
, extra_delegators: 500000
, stuffed_utxo: 1000000
, genesis_future_offset: "20 minutes" } }
];

0 comments on commit f4544d0

Please sign in to comment.