jonhoo / inferno

A Rust port of FlameGraph
Other
1.65k stars 118 forks source link

Add frame stroke option #255

Closed Urgau closed 2 years ago

Urgau commented 2 years ago

This was proposed by @nagisa in https://github.com/jonhoo/inferno/issues/248.

The new option will be --stroke-color and default to none and accept any color. It use a non-configurable stroke width of 1.

Fixes https://github.com/jonhoo/inferno/issues/248

codecov[bot] commented 2 years ago

Codecov Report

Merging #255 (29a9d8a) into master (c9c07d2) will increase coverage by 0.06%. The diff coverage is 77.77%.

@@            Coverage Diff             @@
##           master     #255      +/-   ##
==========================================
+ Coverage   87.30%   87.36%   +0.06%     
==========================================
  Files          18       18              
  Lines        2528     2541      +13     
==========================================
+ Hits         2207     2220      +13     
  Misses        321      321              
Impacted Files Coverage Δ
src/flamegraph/svg.rs 76.33% <50.00%> (+0.42%) :arrow_up:
src/flamegraph/color/mod.rs 83.64% <100.00%> (+0.64%) :arrow_up:
src/flamegraph/mod.rs 87.20% <100.00%> (+0.17%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update c9c07d2...29a9d8a. Read the comment docs.

jonhoo commented 2 years ago

Released in 0.11.7 :tada: