Skip to content

Commit

Permalink
Remove accidentally added comments in benchmark fast_log
Browse files Browse the repository at this point in the history
  • Loading branch information
SpriteOvO committed Oct 7, 2024
1 parent a0ec0ff commit dd998b9
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 32 deletions.
20 changes: 0 additions & 20 deletions spdlog/benches/fast_log/2_rotating_file_size_async.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,23 +26,3 @@ fn bench_3_rotating_file_size_async(bencher: &mut Bencher) {

bencher.iter(|| info!(bench_log_message!()))
}

// #[bench]
// fn bench_4_rotating_daily_async(bencher: &mut Bencher) {
// bench_any(
// bencher,
// tracing_appender::rolling::daily(&*LOGS_PATH, "rotating_daily.log"),
// );
// }
//
// #[bench]
// fn bench_5_level_off(bencher: &mut Bencher) {
// let _guard = tracing::dispatcher::set_default(
// &tracing_subscriber::fmt()
// .with_max_level(LevelFilter::OFF)
// .finish()
// .into(),
// );
//
// bencher.iter(|| info!(bench_log_message!()))
// }
12 changes: 0 additions & 12 deletions spdlog/benches/fast_log/3_rotating_daily_async.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,15 +37,3 @@ fn bench_4_rotating_daily_async(bencher: &mut Bencher) {

bencher.iter(|| info!(bench_log_message!()))
}

// #[bench]
// fn bench_5_level_off(bencher: &mut Bencher) {
// let _guard = tracing::dispatcher::set_default(
// &tracing_subscriber::fmt()
// .with_max_level(LevelFilter::OFF)
// .finish()
// .into(),
// );
//
// bencher.iter(|| info!(bench_log_message!()))
// }

0 comments on commit dd998b9

Please sign in to comment.