fix(deps): update module github.com/panjf2000/gnet to v2 #19
+2
−0
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
v1.6.7→v2.9.7Release Notes
panjf2000/gnet (github.com/panjf2000/gnet)
v2.9.7Compare Source
v2.9.6Compare Source
v2.9.5Compare Source
v2.9.4Compare Source
v2.9.3Compare Source
v2.9.2Compare Source
v2.9.1Compare Source
v2.9.0: Gnet v2.9.0, Millennium ActressCompare Source
🚀 Features
TCP_KEEPINTVLandTCP_KEEPCNT(#708)Full Changelog: panjf2000/gnet@v2.8.0...v2.9.0
Thanks to all these contributors: @panjf2000 for making this release possible.
v2.8.0: Gnet v2.8.0, GIS 2: InnocenceCompare Source
🚀 Features
EventLoopinterface and implementation (#700)Engine.DupListenermethod for multiple listeners (#701)Conn.SendTofor UDP (#694)🛩 Enhancements
Conn.AsyncWritewhenConnis closed (#673)🐛 Bugfixes
SO_REUSEPORTonAF_UNIXsockets (#695)🗃 Misc
Full Changelog: panjf2000/gnet@v2.7.0...v2.8.0
Thanks to all these contributors: @panjf2000 for making this release possible.
v2.7.2Compare Source
v2.7.1Compare Source
v2.7.0: Gnet v2.7.0, Nausicaä of the Valley of the WindCompare Source
🚀 Features
🛩 Enhancements
📚 Documentation
🗃 Misc
Full Changelog: panjf2000/gnet@v2.6.0...v2.7.0
Thanks to all these contributors: @panjf2000 for making this release possible.
v2.6.3Compare Source
v2.6.2Compare Source
v2.6.1Compare Source
v2.6.0: Gnet v2.6.0, Ghost in the ShellCompare Source
🚀 Features
🛩 Enhancements
maxBytesTransferETand defer write in ET mode (#606)🐛 Bugfixes
📚 Documentation
🗃 Misc
Thanks to all these contributors: @panjf2000, @serious-snow and @zhongweikang for making this release possible.
v2.5.9Compare Source
v2.5.8Compare Source
v2.5.7Compare Source
v2.5.6Compare Source
v2.5.5Compare Source
v2.5.4Compare Source
v2.5.3Compare Source
v2.5.2Compare Source
v2.5.1Compare Source
v2.5.0: Gnet v2.5.0, Cowboy BebopCompare Source
Visit also Announcing gnet v2.5.0
🚀 Features
🛩 Enhancements
🐛 Bugfixes
Full Changelog: panjf2000/gnet@v2.4.0...v2.5.0
Thanks to all these contributors: @daynobug and @panjf2000 for making this release possible.
New Contributors
v2.4.2Compare Source
v2.4.1Compare Source
v2.4.0: Gnet v2.4.0, Spirited AwayCompare Source
🚀 Features
🛩 Enhancements
🐛 Bugfixes
a3a2b7a📚 Documentation
6d01da7🗃 Misc
6e3e0c3f7cfb5b5d1cf9e1bf7af4Full Changelog: panjf2000/gnet@v2.3.0...v2.4.0
Thanks to all these contributors: @leslie-fei and @panjf2000 for making this release possible.
New Contributors
v2.3.6Compare Source
v2.3.5Compare Source
v2.3.4Compare Source
v2.3.3Compare Source
v2.3.2Compare Source
v2.3.1Compare Source
v2.3.0: Gnet v2.3.0, Fullmetal AlchemistCompare Source
🚀 Features
🛩 Enhancements
9790927d98706ee308399abcc031650f731222a395🐛 Bugfixes
daffb4edd46b080f41b374b6dfdc72b6e723c66bce📚 Documentation
b341103a9c263888ed242🧳 Misc
bdbb6619ff529b7c9a61ab493107bdda3bfebc191eedb9318edffef8deea03f❇️ Notices
The two major updates in this release are #460 and #461.
We introduced a new data structure
matrixin #460 to displace the defaultmapfor managing connections internally, with the help of this new data structure, we can eliminate the pointers inmapand store connections in the form of a matrix (an array of slices), which will significantly reduce GC (Garbage Collection) latency:goos: darwin goarch: arm64 pkg: github.com/panjf2000/gnet/v2 │ old │ new │ │ sec/op │ sec/op vs base │ GC4El100k/Run-4-eventloop-100000-10 30.74m ± 3% 19.68m ± 10% -35.98% (p=0.000 n=10) GC4El200k/Run-4-eventloop-200000-10 63.64m ± 3% 38.16m ± 11% -40.04% (p=0.000 n=10) GC4El500k/Run-4-eventloop-500000-10 177.28m ± 8% 95.21m ± 4% -46.29% (p=0.000 n=10) geomean 70.26m 41.51m -40.92% │ old │ new │ │ B/op │ B/op vs base │ GC4El100k/Run-4-eventloop-100000-10 27.50 ± 35% 25.50 ± 33% ~ (p=0.423 n=10) GC4El200k/Run-4-eventloop-200000-10 27.50 ± 53% 20.50 ± 66% ~ (p=0.642 n=10) GC4El500k/Run-4-eventloop-500000-10 16.00 ± ? 18.00 ± ? ~ (p=0.357 n=10) geomean 22.96 21.11 -8.04% │ old │ new │ │ allocs/op │ allocs/op vs base │ GC4El100k/Run-4-eventloop-100000-10 0.000 ± 0% 0.000 ± 0% ~ (p=1.000 n=10) ¹ GC4El200k/Run-4-eventloop-200000-10 0.000 ± 0% 0.000 ± 0% ~ (p=1.000 n=10) ¹ GC4El500k/Run-4-eventloop-500000-10 0.000 ± 0% 0.000 ± 0% ~ (p=1.000 n=10) ¹ geomean ² +0.00% ² ¹ all samples are equal ² summaries must be >0 to compute geomeanThe more connections there are, the more pronounced the effect.
While we have performed sufficient testing on
matrix, we are still usingmapas the default connection storage in this RC version for the sake of caution, but you can enable the new data structure by specifying build tags: -tags=gc_opt. This can be considered as a precautionary measure so that in casematrixhas any unexpected bugs, you can quickly fall back to the defaultmap. We will consider promotingmatrixto be the default storage for connections in a subsequent official release.Another significant leap is #461, you can now run
gneton Windows, it should be noted that the Windows version ofgnetis intended for development purposes and is not recommended for use in production.Full Changelog: panjf2000/gnet@v2.2.0...v2.3.0
Thanks to all these contributors: @0-haha, @GXKe, @gocurr, @jinxing3114 and @panjf2000 for making this release possible.
v2.2.9Compare Source
v2.2.8Compare Source
v2.2.7Compare Source
v2.2.6Compare Source
v2.2.5Compare Source
v2.2.4Compare Source
v2.2.3Compare Source
v2.2.2Compare Source
v2.2.1Compare Source
v2.2.0: Gnet v2.2.0, 5 Centimeters per SecondCompare Source
🧨 Breaking changes
691e077🚀 Features
c296922🛩 Enhancements
27667f3🐛 Bugfixes
0282025f2e2fa33c3c519c9eeca1c138ac550406b3🗃 Misc
38aa2e0f70489ff172799Full Changelog: panjf2000/gnet@v2.0.0...v2.2.0
Thanks to all these contributors: @0-haha, @JemmyH, @ccssrryy, @jdamick, @leki75, @panjf2000, @zhongweikang and zhongweikang for making this release possible.
v2.1.2Compare Source
v2.1.1Compare Source
v2.1.0Compare Source
v2.0.3Compare Source
v2.0.2Compare Source
v2.0.1Compare Source
v2.0.0: Gnet v2.0.0, AkiraCompare Source
Today, I'm thrilled to announce the release of gnet v2.0.0, in which we've made plenty of significant improvements and optimizations: added and removed some APIs, redesigned and reimplemented the buffer, optimized the memory pool, etc.
Please visit the blog post of announcing gnet v2.0.0 for more details.
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.