Skip to content
This repository has been archived by the owner on Feb 13, 2024. It is now read-only.

build(deps): bump github.com/panjf2000/ants/v2 from 2.5.0 to 2.9.0 #370

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Nov 21, 2023

Bumps github.com/panjf2000/ants/v2 from 2.5.0 to 2.9.0.

Release notes

Sourced from github.com/panjf2000/ants/v2's releases.

Ants v2.9.0

🚀 Features

  • feat: add MultiPool and MultiPoolWithFunc (#305)

🛩 Enhancements

  • opt: fall back to LeastTasks when RoundRobin can't find a worker (#306)
  • feat: add MultiPool and MultiPoolWithFunc (#305)
  • refactor: enforce a few minor optimizations in code (#302)
  • refactor: refine the code in retrieveWorker to make it more readable (#295)

🐛 Bugfixes

  • bug: return the error from Pool.Submit/PoolWithFunc.Invoke accordingly (#297)
  • bug: fix the potential goroutine leak after calling Release() (#287)

📚 Documentation

  • chore: eliminate some useless content (#303)
  • chore: update READMEs 16771ceb8fe801ee3679d590b84b762556264b71
  • chore: add a new use case (#290)

🗃 Misc

  • chore: eliminate some useless content (#303)
  • chore: enable more title matchers for auto-labelers of bug and new feature (#300)
  • chore: enable auto-labeler for PRs of updating semantic version (#298)
  • chore: clean up some comments and CI yaml (#296)
  • chore: bump up modules (#292)

Full Changelog: panjf2000/ants@v2.8.0...v2.9.0

Performance improvement

In version v2.9.0, ants introduces two new pool types: MultiPool and MultiPoolWithFunc from which you will benefit the performance improvement on the basis of the fine-grained locking that reduces the lock contention.

These two pools are a good fit for the scenario where you have a large number of tasks to submit, and you don't want the single pool to be the bottleneck.

Benchmark testing

goos: darwin
goarch: arm64
pkg: github.com/panjf2000/ants/v2
BenchmarkAntsPool-10                   	       2	 777222500 ns/op	25458216 B/op	 1115895 allocs/op
BenchmarkAntsMultiPool-10              	       2	 667141666 ns/op	23590496 B/op	 1105121 allocs/op
BenchmarkAntsPoolThroughput-10         	       2	 747288979 ns/op	 9266236 B/op	  117693 allocs/op
BenchmarkAntsMultiPoolThroughput-10    	       2	 579771771 ns/op	 4550356 B/op	   66303 allocs/op
</tr></table> 

... (truncated)

Commits
  • 5cecad0 Merge pull request #307 from panjf2000/dev
  • fb82167 opt: fall back to LeastTasks when RoundRobin can't find a worker (#306)
  • 19bd1ea feat: add MultiPool and MultiPoolWithFunc (#305)
  • 27685ba refactor: enforce a few minor optimization in code (#302)
  • d9a08d1 chore: eliminate some useless content (#303)
  • bd6ee4b Merge pull request #299 from panjf2000/dev
  • f0b98c3 chore: enable more title matchers for auto-labelers of bug and new feature (#...
  • c8b4646 chore: enable more auto-labelers for PRs (#298)
  • 2ce8d85 bug: return the error from Pool.Submit/PoolWithFunc.Invoke accordingly (#297)
  • 45bc4f5 chore: clean up some comments and CI yaml (#296)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [github.com/panjf2000/ants/v2](https://github.com/panjf2000/ants) from 2.5.0 to 2.9.0.
- [Release notes](https://github.com/panjf2000/ants/releases)
- [Commits](panjf2000/ants@v2.5.0...v2.9.0)

---
updated-dependencies:
- dependency-name: github.com/panjf2000/ants/v2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Copy link
Contributor

github-actions bot commented Jan 1, 2024

This PR was abandoned. Closing now.

Copy link
Contributor Author

dependabot bot commented on behalf of github Jan 1, 2024

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot dependabot bot deleted the dependabot/go_modules/github.com/panjf2000/ants/v2-2.9.0 branch January 1, 2024 00:06
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants