github xtaci/kcptun v20230811
go1.21 rebuild

latest releases: v20241119, v20241031, v20240919...
15 months ago
  1. use clear to zero slice in kcp-go.
  2. use default.pgo to optimize code generation in kcptun/client side
  3. compiler upgraded to go 1.21
  4. added an option -pprof on client side to support PGO
the default.pgo used in building.

(pprof) top
Showing nodes accounting for 1.34s, 65.05% of 2.06s total
Dropped 104 nodes (cum <= 0.01s)
Showing top 10 nodes out of 137
      flat  flat%   sum%        cum   cum%
     0.60s 29.13% 29.13%      0.60s 29.13%  runtime/internal/syscall.Syscall6
     0.42s 20.39% 49.51%      0.42s 20.39%  crypto/aes.encryptBlockGo
     0.08s  3.88% 53.40%      0.09s  4.37%  runtime.scanblock
     0.07s  3.40% 56.80%      0.07s  3.40%  runtime.futex
     0.04s  1.94% 58.74%      0.04s  1.94%  runtime.execute
     0.04s  1.94% 60.68%      0.07s  3.40%  runtime.selectgo
     0.03s  1.46% 62.14%      0.03s  1.46%  sync.(*Mutex).Unlock
     0.02s  0.97% 63.11%      0.02s  0.97%  container/heap.Pop
     0.02s  0.97% 64.08%      0.02s  0.97%  github.com/klauspost/reedsolomon.galMulSliceXor
     0.02s  0.97% 65.05%      0.02s  0.97%  github.com/templexxx/xorsimd.bytes16

$ go version
go version go1.21.0 linux/amd64

$ date
Fri Aug 11 13:04:30 CST 2023

$ ./build-release.sh
Setting GO111MODULE to on
a721f5027ce295c86378f0fbfd1136859f6e7547  kcptun-linux-amd64-20230811.tar.gz
20064f83eee28c825cb00805ecf2ce822a34253a  kcptun-darwin-amd64-20230811.tar.gz
9124aa40bcd69b723acb6cf19b35da7c69873593  kcptun-windows-amd64-20230811.tar.gz
02223d4f724107ba3b20abe2072c6f1cd3fd5976  kcptun-freebsd-amd64-20230811.tar.gz
eeeaa43088328043837bd00464c6a51be0501b56  kcptun-linux-386-20230811.tar.gz
27ac1d2fbdfeee3c21e6a63319d15acbeb3dbba8  kcptun-windows-386-20230811.tar.gz
964b47c9191d0fdb21d6580be3ec2678978d37c2  kcptun-linux-arm5-20230811.tar.gz
8860e4ee94562b05e9b1d4b129ae0259858be358  kcptun-linux-arm6-20230811.tar.gz
51214da760af3a1eed8919c82a488b54ad13b485  kcptun-linux-arm7-20230811.tar.gz
7738a68de048506f75202e6409ee0abb4123231b  kcptun-linux-arm64-20230811.tar.gz
9288bb844a121a2250bf26471e1c305ae22dee16  kcptun-darwin-arm64-20230811.tar.gz
08775d1289936443f9a76f93d78b73c5a3c79255  kcptun-windows-arm64-20230811.tar.gz
503a7d06feefe8eaad228f51827a09e092b968cb  kcptun-linux-mipsle-20230811.tar.gz
e5e76122970c9f9c939dbd08d262d5573c0a4202  kcptun-linux-mips-20230811.tar.gz

Don't miss a new kcptun release

NewReleases is sending notifications on new releases.