Skip to content

Ants v2.7.0

Compare
Choose a tag to compare
@github-actions github-actions released this 11 Dec 11:56
· 59 commits to refs/heads/master since this release

Changelogs

🛩 Enhancements

  • opt: cache current time for workders and update it periodically (#261)

Performance improvement:

goos: darwin
goarch: arm64
pkg: github.com/panjf2000/ants/v2

name         old time/op    new time/op    delta
AntsPool-10     771ms ± 9%     669ms ± 6%  -13.29%  (p=0.000 n=10+10)

name         old alloc/op   new alloc/op   delta
AntsPool-10    23.0MB ± 5%    23.0MB ± 4%    ~    (p=0.968 n=10+9)

name         old allocs/op  new allocs/op  delta
AntsPool-10     1.10M ± 1%     1.10M ± 1%    ~     (p=0.182 n=10+9)

Full Changelog: v2.6.0...v2.7.0

Thanks to all these contributors: @panjf2000 for making this release possible.