Skip to content

Commit 72342d4

Browse files
committed
Move spdlog-rs benches to a separate directory
1 parent 5e91ca5 commit 72342d4

File tree

5 files changed

+15
-2
lines changed

5 files changed

+15
-2
lines changed

spdlog/Cargo.toml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,13 +91,23 @@ harness = false
9191
required-features = ["multi-thread"]
9292

9393
[[bench]]
94-
name = "compare_with_cpp_spdlog"
94+
name = "spdlog_rs"
95+
path = "benches/spdlog-rs/spdlog_rs.rs"
96+
97+
[[bench]]
98+
name = "spdlog_rs_compare_with_cpp_spdlog"
99+
path = "benches/spdlog-rs/compare_with_cpp_spdlog.rs"
95100
harness = false
96101

97102
[[bench]]
98-
name = "compare_with_cpp_spdlog_async"
103+
name = "spdlog_rs_compare_with_cpp_spdlog_async"
104+
path = "benches/spdlog-rs/compare_with_cpp_spdlog_async.rs"
99105
harness = false
100106

107+
[[bench]]
108+
name = "spdlog_rs_pattern"
109+
path = "benches/spdlog-rs/pattern.rs"
110+
101111
[[example]]
102112
name = "06_compatible_with_log_crate"
103113
required-features = ["log"]

spdlog/benches/compare_with_cpp_spdlog.rs renamed to spdlog/benches/spdlog-rs/compare_with_cpp_spdlog.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
extern crate test;
44

5+
#[path = "../common/mod.rs"]
56
mod common;
67

78
use std::{env, sync::Arc, thread, time::Instant};

spdlog/benches/compare_with_cpp_spdlog_async.rs renamed to spdlog/benches/spdlog-rs/compare_with_cpp_spdlog_async.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
extern crate test;
44

5+
#[path = "../common/mod.rs"]
56
mod common;
67

78
use std::{cmp, env, sync::Arc, thread, time::Instant};
File renamed without changes.

spdlog/benches/spdlog_rs.rs renamed to spdlog/benches/spdlog-rs/spdlog_rs.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
extern crate test;
44

5+
#[path = "../common/mod.rs"]
56
mod common;
67

78
use std::{path::PathBuf, sync::Arc};

0 commit comments

Comments
 (0)