flamegraph-rs / flamegraph

Easy flamegraphs for Rust projects and everything else, without Perl or pipes <3
Apache License 2.0
4.61k stars 141 forks source link

Update inferno dependency to 0.11.19 #296

Closed SergejIsbrecht closed 8 months ago

SergejIsbrecht commented 8 months ago

Update to latest inferno version to include 0.11.12 in order to increase flamegraph.svg rendering performance

https://github.com/jonhoo/inferno/pull/262

djc commented 8 months ago

Since this is a semver-compatible version bump, there really is no need to change Cargo.toml. Also, using cargo install to install the flamegraph/cargo-flamegraph binaries off of crates.io should already be using latest inferno 0.11.x without this change, so I don't think this a very useful change.

SergejIsbrecht commented 8 months ago

@djc , I have to cross compile for aarch64, therefore I can not use cargo install

Edit: It seems I can add --target, which should do the job. I will verify whether cargo install with --target works as you described.

Edit: When using cargo install flamegraph -v it seems inferno indeed is used in version 0.11.19 Compiling inferno v0.11.19

Sorry for the inconvenience.