feat: Rebrand Polkadot/Substrate references to PezkuwiChain
This commit systematically rebrands various references from Parity Technologies' Polkadot/Substrate ecosystem to PezkuwiChain within the kurdistan-sdk. Key changes include: - Updated external repository URLs (zombienet-sdk, parity-db, parity-scale-codec, wasm-instrument) to point to pezkuwichain forks. - Modified internal documentation and code comments to reflect PezkuwiChain naming and structure. - Replaced direct references to with or specific paths within the for XCM, Pezkuwi, and other modules. - Cleaned up deprecated issue and PR references in various and files, particularly in and modules. - Adjusted image and logo URLs in documentation to point to PezkuwiChain assets. - Removed or rephrased comments related to external Polkadot/Substrate PRs and issues. This is a significant step towards fully customizing the SDK for the PezkuwiChain ecosystem.
This commit is contained in:
@@ -0,0 +1,38 @@
|
||||
// This file is part of Bizinikiwi.
|
||||
//
|
||||
// Copyright (C) Parity Technologies (UK) Ltd.
|
||||
// SPDX-License-Identifier: GPL-3.0-or-later WITH Classpath-exception-2.0
|
||||
|
||||
//! Benchmark realistic logging with interest cache configuration from INTEREST_CACHE env var.
|
||||
//!
|
||||
//! Usage:
|
||||
//! ```
|
||||
//! INTEREST_CACHE=lru_cache_size=1024,min_verbosity=debug cargo bench --bench interest_cache_realistic
|
||||
//! INTEREST_CACHE=default cargo bench --bench interest_cache_realistic
|
||||
//! INTEREST_CACHE=disabled cargo bench --bench interest_cache_realistic
|
||||
//! ```
|
||||
|
||||
use criterion::{criterion_group, criterion_main, Criterion};
|
||||
|
||||
mod common;
|
||||
|
||||
fn bench_realistic_logging(c: &mut Criterion) {
|
||||
common::init_logger();
|
||||
c.bench_function("realistic_logging", |b| {
|
||||
b.iter(|| {
|
||||
for i in 0..1000 {
|
||||
log::trace!(target: "bizinikiwi", "trace message {}", i);
|
||||
log::debug!(target: "runtime", "debug message {}", i);
|
||||
log::debug!(target: "sync", "sync debug {}", i);
|
||||
log::trace!(target: "consensus", "consensus trace {}", i);
|
||||
log::debug!(target: "network", "network debug {}", i);
|
||||
if i % 10 == 0 {
|
||||
log::info!(target: "bizinikiwi", "info message {}", i);
|
||||
}
|
||||
}
|
||||
})
|
||||
});
|
||||
}
|
||||
|
||||
criterion_group!(benches, bench_realistic_logging);
|
||||
criterion_main!(benches);
|
||||
Reference in New Issue
Block a user