forked from argumentcomputer/lurk-beta
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'lurk-lab:master' into master
- Loading branch information
Showing
35 changed files
with
1,279 additions
and
976 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
use camino::Utf8PathBuf; | ||
use lurk::cli::paths::lurk_default_dir; | ||
use lurk::config::lurk_config; | ||
use once_cell::sync::Lazy; | ||
|
||
/// Edit this path to use a config file specific to benchmarking | ||
/// E.g. `Utf8PathBuf::from("/home/<user>/lurk-rs/lurk-bench.toml");` | ||
pub static BENCH_CONFIG_PATH: Lazy<Utf8PathBuf> = | ||
Lazy::new(|| lurk_default_dir().join("lurk.toml")); | ||
|
||
/// Sets the config settings with the given file | ||
pub fn set_bench_config() { | ||
lurk_config(Some(&BENCH_CONFIG_PATH), None); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.