Skip to content

Commit 5e909e1

Browse files
authored
Add benchmarks (#2947)
* add oracle benchmarks * add oracle benchmarks * add dex benchmarks * update * update * update * add dex-oracle benchmarks * nft benchmarks * evm-accounts benchmarks * add prices benchmarks * add transaction-pause benchmarks * add liquid-crowdloan benchmarks * add idle-scheduler benchmarks * add session-manage benchmarks * add earning benchmarks * add auction-manager benchmarks * update * add nominees-election benchmarks * add homa-validator-list benchmarks * add emergency-shutdown benchmarks * add cdp-treasury benchmarks * add collator-selection benchmarks * add homa benchmarks * add cdp-engine benchmarks * add aggregated-dex benchmarks * add asset-registry benchmarks * add currencies benchmarks * add transaction-payment benchmarks * add evm benchmarks * add incentives benchmarks * fix * add honzon benchmarks * update orml * add nutsfinance_stable_asset benchmarks * add honzon-bridge benchmarks * add karura and acala * fix * remove benchmarking * fix * fix
1 parent e21dc6e commit 5e909e1

File tree

163 files changed

+7526
-5759
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

163 files changed

+7526
-5759
lines changed

Cargo.lock

Lines changed: 31 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

modules/aggregated-dex/Cargo.toml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ parity-scale-codec = { workspace = true, features = ["max-encoded-len"] }
99
scale-info = { workspace = true }
1010
sp-core = { workspace = true }
1111
sp-runtime = { workspace = true }
12+
frame-benchmarking = { workspace = true, optional = true }
1213
frame-support = { workspace = true }
1314
frame-system = { workspace = true }
1415
sp-std = { workspace = true }
@@ -29,6 +30,7 @@ pallet-balances = { workspace = true, features = ["std"] }
2930
default = ["std"]
3031
std = [
3132
"parity-scale-codec/std",
33+
"frame-benchmarking?/std",
3234
"frame-support/std",
3335
"frame-system/std",
3436
"module-dex/std",
@@ -41,6 +43,15 @@ std = [
4143
"sp-std/std",
4244
"module-support/std",
4345
]
46+
runtime-benchmarks = [
47+
"frame-benchmarking/runtime-benchmarks",
48+
"frame-support/runtime-benchmarks",
49+
"frame-system/runtime-benchmarks",
50+
"sp-runtime/runtime-benchmarks",
51+
"orml-tokens/runtime-benchmarks",
52+
"module-dex/runtime-benchmarks",
53+
"nutsfinance-stable-asset/runtime-benchmarks",
54+
]
4455
try-runtime = [
4556
"frame-support/try-runtime",
4657
"frame-system/try-runtime",

0 commit comments

Comments
 (0)