Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Pprof Profiling to Existing Benchmarks #273

Merged
merged 24 commits into from
Nov 11, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix copy/paste error
oojo12 committed Nov 10, 2022
commit 74aa055b62b7391cf4bdf866fc7416ebe4938e31
2 changes: 1 addition & 1 deletion algorithms/linfa-ftrl/benches/ftrl.rs
Original file line number Diff line number Diff line change
@@ -91,7 +91,7 @@ fn get_dataset(
#[cfg(not(target_os = "windows"))]
criterion_group! {
name = benches;
config = config = Criterion::default().with_profiler(PProfProfiler::new(100, Output::Flamegraph(None)));
config = Criterion::default().with_profiler(PProfProfiler::new(100, Output::Flamegraph(None)));
targets = fit_without_prior_model, fit_with_prior_model, predict
}
#[cfg(target_os = "windows")]
2 changes: 1 addition & 1 deletion algorithms/linfa-nn/benches/nn.rs
Original file line number Diff line number Diff line change
@@ -101,7 +101,7 @@ fn within_range_bench(c: &mut Criterion) {
#[cfg(not(target_os = "windows"))]
criterion_group! {
name = benches;
config = config = Criterion::default().with_profiler(PProfProfiler::new(100, Output::Flamegraph(None)));
config = Criterion::default().with_profiler(PProfProfiler::new(100, Output::Flamegraph(None)));
targets = nn_build_bench, k_nearest_bench, within_range_bench
}
#[cfg(target_os = "windows")]
2 changes: 1 addition & 1 deletion algorithms/linfa-trees/benches/decision_tree.rs
Original file line number Diff line number Diff line change
@@ -57,7 +57,7 @@ fn decision_tree_bench(c: &mut Criterion) {
#[cfg(not(target_os = "windows"))]
criterion_group! {
name = benches;
config = config = Criterion::default().with_profiler(PProfProfiler::new(100, Output::Flamegraph(None)));
config = Criterion::default().with_profiler(PProfProfiler::new(100, Output::Flamegraph(None)));
targets = decision_tree_bench
}
#[cfg(target_os = "windows")]