Skip to content

Commit

Permalink
Remove broken session benchmark.
Browse files Browse the repository at this point in the history
  • Loading branch information
Neopallium committed Apr 18, 2024
1 parent df648f3 commit 7359c7b
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 123 deletions.
1 change: 0 additions & 1 deletion runtime/develop/src/benchmarks/mod.rs

This file was deleted.

115 changes: 0 additions & 115 deletions runtime/develop/src/benchmarks/pallet_session.rs

This file was deleted.

3 changes: 0 additions & 3 deletions runtime/develop/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,6 @@ extern crate frame_benchmarking;
pub mod constants;
pub mod runtime;

#[cfg(feature = "runtime-benchmarks")]
pub mod benchmarks;

#[cfg(feature = "std")]
pub use runtime::{native_version, WASM_BINARY};

Expand Down
4 changes: 0 additions & 4 deletions runtime/develop/src/runtime.rs
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,6 @@ mod benches {
[pallet_preimage, Preimage]
[pallet_babe, Babe]
[pallet_indices, Indices]
[pallet_session, SessionBench::<Runtime>]
[pallet_grandpa, Grandpa]
[pallet_scheduler, Scheduler]
[pallet_test_utils, TestUtils]
Expand Down Expand Up @@ -460,13 +459,11 @@ polymesh_runtime_common::runtime_apis! {
) -> Result<Vec<frame_benchmarking::BenchmarkBatch>, sp_runtime::RuntimeString> {
use frame_benchmarking::{baseline, Benchmarking, BenchmarkBatch, TrackedStorageKey};

use crate::benchmarks::pallet_session::Pallet as SessionBench;
use frame_system_benchmarking::Pallet as SystemBench;
use baseline::Pallet as BaselineBench;

impl frame_system_benchmarking::Config for Runtime {}
impl baseline::Config for Runtime {}
impl crate::benchmarks::pallet_session::Config for Runtime {}

let whitelist: Vec<TrackedStorageKey> = vec![
// Block Number
Expand Down Expand Up @@ -496,7 +493,6 @@ polymesh_runtime_common::runtime_apis! {
use frame_benchmarking::{baseline, Benchmarking, BenchmarkList};
use frame_support::traits::StorageInfoTrait;

use crate::benchmarks::pallet_session::Pallet as SessionBench;
use frame_system_benchmarking::Pallet as SystemBench;
use baseline::Pallet as BaselineBench;

Expand Down

0 comments on commit 7359c7b

Please sign in to comment.