From 2b171c781ae8cf0d9a88131904ff3b853c39fbe5 Mon Sep 17 00:00:00 2001 From: fmoletta <99273364+fmoletta@users.noreply.github.com> Date: Fri, 9 Feb 2024 17:46:49 +0200 Subject: [PATCH] Restore `flamegraph` target (#1615) --- Makefile | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 18c7774bc9..e30e0f5f41 100644 --- a/Makefile +++ b/Makefile @@ -187,8 +187,7 @@ build-cairo-2-compiler: cargo-deps: cargo install --version 0.3.1 iai-callgrind-runner cargo install --version 1.1.0 cargo-criterion - # Temporarily removed due to version issues. Installing cargo flamegraph pumps an error in rust 1.70 - # cargo install --version 0.6.1 flamegraph + cargo install --version 0.6.1 flamegraph --locked cargo install --version 1.14.0 hyperfine cargo install --version 0.9.49 cargo-nextest cargo install --version 0.5.9 cargo-llvm-cov @@ -279,9 +278,8 @@ benchmark-action: cairo_bench_programs iai-benchmark-action: cairo_bench_programs cargo bench --bench iai_benchmark -# Temporarily removed due to version issues. Installing cargo flamegraph pumps an error in rust 1.70 -# flamegraph: -# cargo flamegraph --root --bench criterion_benchmark -- --bench +flamegraph: + cargo flamegraph --root --bench criterion_benchmark -- --bench compare_benchmarks: cairo_bench_programs cd bench && ./run_benchmarks.sh