jonhoo / inferno

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

Move from lazy_static to once_cell::Lazy #249

Closed Sciencentistguy closed 2 years ago

Sciencentistguy commented 2 years ago

lazy_static is only passively maintained. Also, once_cell is faster (1-5% across cargo bench).

codecov[bot] commented 2 years ago

Codecov Report

Merging #249 (cd99b59) into master (172c9f4) will increase coverage by 0.01%. The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #249      +/-   ##
==========================================
+ Coverage   87.21%   87.22%   +0.01%     
==========================================
  Files          18       18              
  Lines        2527     2529       +2     
==========================================
+ Hits         2204     2206       +2     
  Misses        323      323              
Impacted Files Coverage Δ
src/collapse/common.rs 59.25% <100.00%> (ø)
src/collapse/dtrace.rs 90.62% <100.00%> (+0.04%) :arrow_up:
src/collapse/perf.rs 97.98% <100.00%> (+<0.01%) :arrow_up:
src/flamegraph/mod.rs 87.03% <100.00%> (ø)

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 172c9f4...cd99b59. Read the comment docs.

jonhoo commented 2 years ago

Published in 0.11.5 :tada: