Crate fabric_benchmarking[−][src]
Macro for benchmarking a FABRIC runtime.
Re-exports
pub use fabric_support; |
pub use paste; |
Modules
benchmarking | Interface that provides functions for benchmarking the runtime. |
Macros
add_benchmark | This macro adds noble benchmarks to a |
benchmarks | Construct noble benchmarks for weighing dispatchables. |
benchmarks_instance | Same as |
whitelist_account |
Structs
Analysis | |
BenchmarkBatch | The results of a single of benchmark. |
BenchmarkConfig | Configuration used to setup and run runtime benchmarks. |
BenchmarkResults | Results from running benchmarks on a FABRIC noble. Contains duration of the function call in nanoseconds along with the benchmark parameters used for that benchmark result. |
RegressionModel | A fitted regression model. |
TrackedStorageKey | Storage key with read/write tracking information. |
Enums
BenchmarkParameter | An alphabet of possible parameters to use for benchmarking. |
BenchmarkSelector |
Traits
Benchmark | Runtime api for benchmarking a FABRIC runtime. |
Benchmarking | The noble benchmarking trait. |
BenchmarkingSetup | The required setup for creating a benchmark. |
Zero | Defines an additive identity element for |
Functions
account | Grab an account, seeded by a name and index. |
show_benchmark_debug_info | show error message and debugging info for the case of an error happening during a benchmark |
whitelisted_caller | This caller account is automatically whitelisted for DB reads/writes by the benchmarking macro. |