We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 2b9ebe1 + e49dcc1 commit 0ed302eCopy full SHA for 0ed302e
collector/src/benchmark/profile.rs
@@ -1,3 +1,10 @@
1
+/// Type of compilation used for benchmarking/profiling.
2
+// Note: This type is very similar to the definition of a profile in the database crate.
3
+// However, these types should not be unified, as they serve slightly different purposes.
4
+// This type is used for specifying profiles to be benchmarked using the CLI, which is not relevant
5
+// to the database crate.
6
+// In general, the database versions of types used in the collector should be considered a DB
7
+// implementation detail, as they may change when we alter database layout.
8
#[derive(Clone, Copy, Debug, Eq, Hash, PartialEq, clap::ArgEnum, serde::Deserialize)]
9
#[clap(rename_all = "PascalCase")]
10
pub enum Profile {
0 commit comments