Skip to content

v1.7.0

Choose a tag to compare

@Boshen Boshen released this 30 Nov 03:19
· 17 commits to main since this release
e4d3a9b

Added

  • improve redundant ignore warning messages (#333)

Performance

  • collect import syntax tokens not string (#328)
  • Process packages in parallel using rayon (#329)

Refactor

  • Replace cargo_toml with custom spanned structs (#338)
  • Track feature references for dependencies, split out optionals (#335)
  • Improve tracking of dependencies, and precision of TOML updates (#334)
  • (deps) update crate-ci/typos action to v1.40.0 (#330)

Benchmark between 1.6.5, 1.6.6 and 1.7.0

oxc main ❯ hyperfine -i -w 3 -n 1.6.5 -n 1.6.6 -n 1.7.0 ~/github/cargo-shear/1.6.5 ~/github/cargo-shear/1.6.6 ~/github/cargo-shear/1.7.0
Benchmark 1: 1.6.5
  Time (mean ± σ):     414.3 ms ±   5.8 ms    [User: 1385.2 ms, System: 196.3 ms]
  Range (min … max):   407.1 ms … 422.1 ms    10 runs

Benchmark 2: 1.6.6
  Time (mean ± σ):     314.4 ms ±   2.5 ms    [User: 949.5 ms, System: 208.0 ms]
  Range (min … max):   311.0 ms … 319.8 ms    10 runs

Benchmark 3: 1.7.0
  Time (mean ± σ):     207.1 ms ±   3.3 ms    [User: 1006.8 ms, System: 121.2 ms]
  Range (min … max):   201.5 ms … 211.2 ms    14 runs

Summary
  1.7.0 ran
    1.52 ± 0.03 times faster than 1.6.6
    2.00 ± 0.04 times faster than 1.6.5