From 168a35fe9ee4083946f69db437c220d182dcc497 Mon Sep 17 00:00:00 2001 From: Jefffrey Date: Fri, 20 Sep 2024 18:11:20 +1000 Subject: [PATCH] Flamegraph options --- .gitignore | 5 ++++- Cargo.toml | 3 +++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 11545904..009d65bc 100644 --- a/.gitignore +++ b/.gitignore @@ -2,7 +2,10 @@ Cargo.lock venv -benchmark_data +/benchmark_data private/ *.txt + +/perf.* +/flamegraph.svg diff --git a/Cargo.toml b/Cargo.toml index 48bacfb9..8c86d157 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -76,6 +76,9 @@ required-features = ["async"] # Some issue when publishing and path isn't specified, so adding here path = "./benches/arrow_reader.rs" +[profile.bench] +debug = true + [[example]] name = "datafusion_integration" required-features = ["datafusion"]