Skip to content

Commit

Permalink
Remove all references to perf_stats.
Browse files Browse the repository at this point in the history
  • Loading branch information
macklin-10x committed Mar 8, 2024
1 parent 782494d commit 8781a14
Show file tree
Hide file tree
Showing 10 changed files with 0 additions and 19 deletions.
5 changes: 0 additions & 5 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion enclone_denovo/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ debruijn.workspace = true
fasta_tools.workspace = true
io_utils.workspace = true
itertools.workspace = true
perf_stats.workspace = true
rayon.workspace = true
string_utils.workspace = true
superslice.workspace = true
Expand Down
1 change: 0 additions & 1 deletion enclone_exec/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ enclone_tools = { path = "../enclone_tools" }
flate2.workspace = true
fs_extra.workspace = true
itertools.workspace = true
perf_stats.workspace = true
rayon.workspace = true
serde.workspace = true
serde_json.workspace = true
Expand Down
1 change: 0 additions & 1 deletion enclone_exec/tests/enclone_test1.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ use enclone_tools::run_test::*;
use flate2::read::GzDecoder;
use io_utils::*;
use itertools::Itertools;
use perf_stats::*;

use rayon::prelude::*;
use serde_json::Value;
Expand Down
1 change: 0 additions & 1 deletion enclone_exec/tests/enclone_test2.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ use enclone_tools::run_test::*;
use flate2::read::GzDecoder;
use io_utils::*;
use itertools::Itertools;
use perf_stats::*;

use rayon::prelude::*;
use serde_json::Value;
Expand Down
1 change: 0 additions & 1 deletion enclone_exec/tests/enclone_test3.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ use enclone_tools::html::*;
use enclone_tools::run_test::*;
use io_utils::*;
use itertools::Itertools;
use perf_stats::*;

use rayon::prelude::*;
use sha2::Digest;
Expand Down
2 changes: 0 additions & 2 deletions enclone_main/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,10 @@ expr_tools.workspace = true
io_utils.workspace = true
itertools.workspace = true
martian-filetypes.workspace = true
perf_stats.workspace = true
rayon.workspace = true
serde_json.workspace = true
stats_utils.workspace = true
string_utils.workspace = true
tables.workspace = true
vdj_ann.workspace = true
vdj_ann_ref.workspace = true
vector_utils.workspace = true
Expand Down
1 change: 0 additions & 1 deletion enclone_paper/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ enclone_testlist = { path = "../enclone_testlist" }
flate2.workspace = true
io_utils.workspace = true
itertools.workspace = true
perf_stats.workspace = true
rand_chacha.workspace = true
rayon.workspace = true
string_utils.workspace = true
Expand Down
1 change: 0 additions & 1 deletion enclone_tail/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ itertools.workspace = true
lazy_static.workspace = true
ndarray.workspace = true
palette.workspace = true
perf_stats.workspace = true
plotters.workspace = true
rayon.workspace = true
resvg.workspace = true
Expand Down
5 changes: 0 additions & 5 deletions enclone_tail/src/print_stats.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,6 @@ use enclone_core::defs::{ColInfo, EncloneControl, ExactClonotype, GexInfo};
use enclone_core::median::median;
use io_utils::{fwrite, fwriteln};

#[cfg(target_os = "linux")]
use perf_stats::peak_mem_usage_gb;

use stats_utils::percent_ratio;
use std::cmp::max;
use std::collections::HashMap;
Expand Down Expand Up @@ -356,8 +353,6 @@ pub fn print_stats(
" • total elapsed time = {:.1} seconds",
tall.elapsed().as_secs_f64()
);
#[cfg(target_os = "linux")]
fwriteln!(logx, " • peak memory = {:.1} GB", peak_mem_usage_gb());
}

// Print barcode fate.
Expand Down

0 comments on commit 8781a14

Please sign in to comment.