dependabot[bot]
76acf1443d
chore(deps): bump securego/gosec from 2.22.2 to 2.22.3 ( #1990 )
...
Bumps [securego/gosec](https://github.com/securego/gosec ) from 2.22.2 to 2.22.3.
- [Release notes](https://github.com/securego/gosec/releases )
- [Changelog](https://github.com/securego/gosec/blob/master/.goreleaser.yml )
- [Commits](https://github.com/securego/gosec/compare/v2.22.2...v2.22.3 )
---
updated-dependencies:
- dependency-name: securego/gosec
dependency-version: 2.22.3
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-07 07:43:20 +02:00
dependabot[bot]
236b2f3148
chore(deps): bump golang.org/x/crypto from 0.36.0 to 0.37.0 ( #1988 )
...
Bumps [golang.org/x/crypto](https://github.com/golang/crypto ) from 0.36.0 to 0.37.0.
- [Commits](https://github.com/golang/crypto/compare/v0.36.0...v0.37.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/crypto
dependency-version: 0.37.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-07 06:51:14 +02:00
dependabot[bot]
2629d9d869
chore(deps): bump golang.org/x/sys from 0.31.0 to 0.32.0 ( #1989 )
...
Bumps [golang.org/x/sys](https://github.com/golang/sys ) from 0.31.0 to 0.32.0.
- [Commits](https://github.com/golang/sys/compare/v0.31.0...v0.32.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/sys
dependency-version: 0.32.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-07 06:30:14 +02:00
Erik Dubbelboer
752b0e7004
Remove idleConns mutex for every request ( #1986 )
...
Locking and unlocking a mutex multiple times per request is a major
slowdown that we can avoid with clever use of atomics.
Before:
```
BenchmarkServerGet100ReqPerConn10KClients-12 84167428 867.7 ns/op
```
After:
```
BenchmarkServerGet100ReqPerConn10KClients-12 187397954 386.3 ns/op
```
v1.60.0
2025-04-02 05:43:14 +02:00
dependabot[bot]
bf3f552c8e
chore(deps): bump golang.org/x/net from 0.37.0 to 0.38.0 ( #1983 )
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.37.0 to 0.38.0.
- [Commits](https://github.com/golang/net/compare/v0.37.0...v0.38.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-28 05:54:38 +01:00
Erik Dubbelboer
4891fc5304
Update golangci-lint to v2 ( #1980 )
2025-03-25 06:40:55 +01:00
Erik Dubbelboer
30b09beff1
Fix untyped int constant 4294967295
...
Fix: https://github.com/valyala/fasthttp/issues/1960
2025-03-13 04:58:07 +01:00
dependabot[bot]
4269e2d68c
chore(deps): bump golang.org/x/net from 0.36.0 to 0.37.0 ( #1971 )
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.36.0 to 0.37.0.
- [Commits](https://github.com/golang/net/compare/v0.36.0...v0.37.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-06 06:34:17 +01:00
dependabot[bot]
1353ca59f2
chore(deps): bump securego/gosec from 2.22.1 to 2.22.2 ( #1972 )
...
Bumps [securego/gosec](https://github.com/securego/gosec ) from 2.22.1 to 2.22.2.
- [Release notes](https://github.com/securego/gosec/releases )
- [Changelog](https://github.com/securego/gosec/blob/master/.goreleaser.yml )
- [Commits](https://github.com/securego/gosec/compare/v2.22.1...v2.22.2 )
---
updated-dependencies:
- dependency-name: securego/gosec
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-06 06:34:02 +01:00
dependabot[bot]
6c07c2f523
chore(deps): bump golang.org/x/net from 0.35.0 to 0.36.0 ( #1968 )
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.35.0 to 0.36.0.
- [Commits](https://github.com/golang/net/compare/v0.35.0...v0.36.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-05 05:26:51 +01:00
Erik Dubbelboer
69dc7b1280
Update the supported version to the same as Go itself ( #1967 )
...
Some of our dependences require the supported versions of Go.
For example github.com/golang/crypto now requires 1.23 or higher.
See: https://github.com/golang/crypto/commit/89ff08d67c4d79f9ac619aaf1f7388888798651fa
For more information on the new policy of the Go team see: https://github.com/golang/go/issues/69095
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-02-26 04:39:17 +01:00
Erik Dubbelboer
b8969ed8dc
Fix normalizeHeaderValue ( #1963 )
...
The fuzzer found some cases where it would panic.
The output of normalizeHeaderValue doesn't need to affect s.b and s.hLen
because the length of the normalized header will never be bigger, so it
can just be normalize in place without affecting the rest of the buffer.
2025-02-22 08:33:57 +01:00
Liu Ziming
31e34c5fe0
add related project for opentelemetry-go-auto-instrumentation ( #1962 )
...
* add related project for opentelemetry-go-auto-instrumentation
* Update README.md
2025-02-22 06:52:20 +01:00
dependabot[bot]
80d3e444a1
chore(deps): bump github.com/klauspost/compress from 1.17.11 to 1.18.0 ( #1958 )
...
Bumps [github.com/klauspost/compress](https://github.com/klauspost/compress ) from 1.17.11 to 1.18.0.
- [Release notes](https://github.com/klauspost/compress/releases )
- [Changelog](https://github.com/klauspost/compress/blob/master/.goreleaser.yml )
- [Commits](https://github.com/klauspost/compress/compare/v1.17.11...v1.18.0 )
---
updated-dependencies:
- dependency-name: github.com/klauspost/compress
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-02-20 19:38:20 +09:00
Erik Dubbelboer
84f0231a53
Drop support for Go 1.21, add support for 1.24 ( #1959 )
2025-02-20 11:01:50 +01:00
Kashiwa
086a114445
fix: accept invalid headers with a space ( #1953 )
...
* fix: accept invalid headers with a space #1917
Make behavior consistent with net/http by allowing header keys and trailers containing spaces without canonicalizing them
* fix: lint paramTypeCombine
* fix: https://github.com/valyala/fasthttp/pull/1953#issuecomment-2660691298
* fix: golangci-lint nestingReduce
2025-02-19 19:49:48 +09:00
Kashiwa
b59f47e3ee
Refactor: split delAllArgs into delAllArgs and delAllArgsStable ( #1945 )
...
- Renamed the original `delAllArgs` method to `delAllArgsStable` to maintain stable behavior.
- Added a new `delAllArgs` method for non-stable functionality, improving runtime efficiency.
2025-02-19 19:48:10 +09:00
pj
bb94b26bce
add dummy support for js,wasm ( #1955 )
v1.59.0
2025-02-14 14:17:11 +09:00
dependabot[bot]
afc3991334
chore(deps): bump securego/gosec from 2.22.0 to 2.22.1 ( #1956 )
...
Bumps [securego/gosec](https://github.com/securego/gosec ) from 2.22.0 to 2.22.1.
- [Release notes](https://github.com/securego/gosec/releases )
- [Changelog](https://github.com/securego/gosec/blob/master/.goreleaser.yml )
- [Commits](https://github.com/securego/gosec/compare/v2.22.0...v2.22.1 )
---
updated-dependencies:
- dependency-name: securego/gosec
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-02-14 14:15:25 +09:00
Ivan Gabaldon
8e25db024a
fix: compression priority ( #1950 )
...
* Initial update
* update remaining tests
* update .gitignore
* update another test, fix linting
* fix tests
* add missing Vary header
2025-02-12 14:58:38 +09:00
dependabot[bot]
243ce87d01
chore(deps): bump golang.org/x/net from 0.34.0 to 0.35.0 ( #1952 )
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.34.0 to 0.35.0.
- [Commits](https://github.com/golang/net/compare/v0.34.0...v0.35.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-02-11 06:54:21 +01:00
dependabot[bot]
a250e77636
chore(deps): bump golang.org/x/crypto from 0.32.0 to 0.33.0 ( #1951 )
...
Bumps [golang.org/x/crypto](https://github.com/golang/crypto ) from 0.32.0 to 0.33.0.
- [Commits](https://github.com/golang/crypto/compare/v0.32.0...v0.33.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/crypto
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-02-10 14:37:18 +09:00
dependabot[bot]
d2dc36f70a
chore(deps): bump golang.org/x/sys from 0.29.0 to 0.30.0 ( #1947 )
...
Bumps [golang.org/x/sys](https://github.com/golang/sys ) from 0.29.0 to 0.30.0.
- [Commits](https://github.com/golang/sys/compare/v0.29.0...v0.30.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/sys
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-02-05 05:45:44 +01:00
Kashiwa
c908d9c1ee
Refactor trailer Field for Improved Memory Efficiency and Performance ( #1928 )
...
* refact: represent trailer filed by [][]byte instead of []argsKV
* fix: address golangci-lint warnings
2025-01-29 05:53:12 +01:00
Erik Dubbelboer
6371638230
DoRedirects should follow DisablePathNormalizing
...
DoRedirects was not using DisablePathNormalizing for the initial request
like the other Do function.
This change is not completely backwards compatible, but I can't imagine
a real world scenario in which this was the desired behaviour.
2025-01-26 02:47:05 +01:00
zhangyongding
195155e91b
client: add interfaces for reading clientConn ( #1941 )
...
* client: add interfaces for reading clientConn
* client: add docs
2025-01-16 02:39:25 +01:00
Erik Dubbelboer
b1c27881cb
Try to fix tests with dial timeouts ( #1940 )
...
Use github.com and .io instead of example.com and google.com as they are
probably more reliable within Github actions.
2025-01-15 05:47:54 +01:00
dependabot[bot]
49942c7bcd
chore(deps): bump golang.org/x/net from 0.33.0 to 0.34.0 ( #1933 )
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.33.0 to 0.34.0.
- [Commits](https://github.com/golang/net/compare/v0.33.0...v0.34.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-15 04:39:15 +01:00
zhangyongding
86fa5635ec
client: Modify some interfaces to be exportable ( #1936 )
...
* client: Client {} supports custom Transport
* client: Modify some interfaces to be exportable
2025-01-15 04:37:04 +01:00
Kashiwa
321b998f31
Migrate valyala/tcplisten to this repo #1926 ( #1929 )
...
* chore: migrate https://github.com/valyala/tcplisten
* chore: merge upstream PR #6 from valyala/tcplisten: Backport TCP backlog size update of uint16->uint32 with Linux
* chore: merge upstream PR #10 from valyala/tcplisten: add support for dual-stack socket
* refactor: update to modern Go syntax
* doc: update README.md
* refactor: replace valyala/tcplisten package with custom implementation
* fix: the goroutine calls T.Fatalf, which must be called in the same goroutine as the test
* fix: golangci-lint
* fix: add windows fallback
* fix: prevent integer overflow
* test: skip TestConfigDeferAccept, TestConfigFastOpen, TestConfigAll on non-linux OS
* fix: resolve overflow security issue and use wrapped error
* refactor: migrate from syscall to golang.org/x/sys/unix for better compatibility
* chore: merge upstream PR #8 from valyala/tcplisten: z/OS Compatibility
* refactor: rename tcplisten_bsd.go to tscplisten_other.go
2025-01-15 04:35:12 +01:00
dependabot[bot]
0a69906d89
chore(deps): bump securego/gosec from 2.21.4 to 2.22.0 ( #1937 )
...
Bumps [securego/gosec](https://github.com/securego/gosec ) from 2.21.4 to 2.22.0.
- [Release notes](https://github.com/securego/gosec/releases )
- [Changelog](https://github.com/securego/gosec/blob/master/.goreleaser.yml )
- [Commits](https://github.com/securego/gosec/compare/v2.21.4...v2.22.0 )
---
updated-dependencies:
- dependency-name: securego/gosec
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-10 13:49:40 +09:00
zhangyongding
655424dc53
client: Client {} supports custom Transport ( #1935 )
2025-01-10 12:01:33 +09:00
dependabot[bot]
4cd46d7f2d
chore(deps): bump golang.org/x/crypto from 0.31.0 to 0.32.0 ( #1934 )
...
Bumps [golang.org/x/crypto](https://github.com/golang/crypto ) from 0.31.0 to 0.32.0.
- [Commits](https://github.com/golang/crypto/compare/v0.31.0...v0.32.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/crypto
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-07 05:50:13 +01:00
dependabot[bot]
d83d37d822
chore(deps): bump golang.org/x/sys from 0.28.0 to 0.29.0 ( #1932 )
...
Bumps [golang.org/x/sys](https://github.com/golang/sys ) from 0.28.0 to 0.29.0.
- [Commits](https://github.com/golang/sys/compare/v0.28.0...v0.29.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/sys
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-06 06:06:21 +01:00
Kashiwa
2dfdfd86bf
refactor: use buf in Args instead of bytebufferpool ( #1931 )
2025-01-03 00:05:43 +01:00
Oleksandr Redko
ce283fb97c
docs: improve README formatting and section headers ( #1925 )
...
This improves links rendering on pkg.go.dev.
2024-12-19 07:00:04 +01:00
dependabot[bot]
3579725cf6
chore(deps): bump golang.org/x/net from 0.32.0 to 0.33.0 ( #1927 )
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.32.0 to 0.33.0.
- [Commits](https://github.com/golang/net/compare/v0.32.0...v0.33.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-19 06:58:09 +01:00
Erik Dubbelboer
705ad0079a
Fix parsing of bad urls with # ( #1915 )
...
http://google.com#@github.com parses incorrectly as github.com instead
of google.com.
Reported by Jesse Yang
2024-12-18 07:54:39 +01:00
Kashiwa
bdcbf61348
fix: "identity" has been deprecated #1909 ( #1919 )
2024-12-15 05:32:21 +01:00
prepaser
db50deedb0
fix: Method-preserving doRequestFollowRedirects ( #1920 )
2024-12-15 05:32:05 +01:00
dependabot[bot]
1574313981
chore(deps): bump golang.org/x/net from 0.31.0 to 0.32.0 ( #1910 )
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.31.0 to 0.32.0.
- [Commits](https://github.com/golang/net/compare/v0.31.0...v0.32.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-12 20:02:39 +08:00
dependabot[bot]
9a4301f252
chore(deps): bump golang.org/x/crypto from 0.29.0 to 0.31.0 ( #1918 )
...
Bumps [golang.org/x/crypto](https://github.com/golang/crypto ) from 0.29.0 to 0.31.0.
- [Commits](https://github.com/golang/crypto/compare/v0.29.0...v0.31.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/crypto
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-12 19:06:06 +08:00
不插电
f203307887
fix: ShutdownWithContext and ctx.Done() exist race. ( #1908 )
...
* fix: ShutdownWithContext and ctx.Done() exist race.
* fix: Even if ln.Close() err, the Shutdown process should still proceed.
* refactor: remove END label.
v1.58.0
2024-12-08 12:52:06 +01:00
Jeppe Bonde Weikop
7b74fc9845
fix: lenient chunk extension parsing leading to request smuggling issues ( #1899 )
...
* fix request smuggling issue
* correct broken error messages
* fix lint
2024-11-24 20:10:50 +08:00
Kashiwa
ed2d390623
fix: incorrect handling of negative cookie.maxAge #1900 ( #1902 )
2024-11-15 12:53:08 +08:00
dependabot[bot]
bbc2b6f327
chore(deps): bump golang.org/x/net from 0.30.0 to 0.31.0 ( #1897 )
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.30.0 to 0.31.0.
- [Commits](https://github.com/golang/net/compare/v0.30.0...v0.31.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-11 07:04:30 +01:00
Oleksandr Redko
bc70d31d17
refactor: fix revive.indent-error-flow lint issues ( #1896 )
2024-11-10 20:09:27 +08:00
Kashiwa
f6ba4abd2d
perf: improve copyZeroAlloc for File and TCPConn ( #1893 )
...
Improve performance of `copyZeroAlloc` function
```
goos: linux
goarch: amd64
pkg: github.com/valyala/fasthttp
cpu: QEMU Virtual CPU version 2.5+
│ old6.txt │ new7.txt │
│ sec/op │ sec/op vs base │
CopyZeroAllocOSFileToBytesBuffer-8 1.802µ ± 3% 1.303µ ± 2% -27.69% (p=0.000 n=25)
CopyZeroAllocBytesBufferToOSFile-8 1.066µ ± 17% 1.048µ ± 1% -1.69% (p=0.043 n=25)
CopyZeroAllocOSFileToStringsBuilder-8 9.477µ ± 0% 1.345µ ± 2% -85.81% (p=0.000 n=25)
CopyZeroAllocIOLimitedReaderToOSFile-8 1.031µ ± 1% 1.092µ ± 4% +5.92% (p=0.000 n=25)
CopyZeroAllocOSFileToOSFile-8 12.132µ ± 1% 2.386µ ± 2% -80.33% (p=0.000 n=25)
CopyZeroAllocOSFileToNetConn-8 2.009µ ± 2% 1.995µ ± 2% ~ (p=0.733 n=25)
CopyZeroAllocNetConnToOSFile-8 21.86µ ± 2% 20.21µ ± 1% -7.56% (p=0.000 n=25)
geomean 3.728µ 2.121µ -43.11%
│ old6.txt │ new7.txt │
│ B/op │ B/op vs base │
CopyZeroAllocOSFileToBytesBuffer-8 40.00 ± 0% 0.00 ± 0% -100.00% (p=0.000 n=25)
CopyZeroAllocBytesBufferToOSFile-8 0.000 ± 0% 0.000 ± 0% ~ (p=1.000 n=25) ¹
CopyZeroAllocOSFileToStringsBuilder-8 32.04Ki ± 0% 0.00Ki ± 0% -100.00% (p=0.000 n=25)
CopyZeroAllocIOLimitedReaderToOSFile-8 0.000 ± 0% 0.000 ± 0% ~ (p=1.000 n=25) ¹
CopyZeroAllocOSFileToOSFile-8 32.06Ki ± 0% 0.00Ki ± 0% -100.00% (p=0.000 n=25)
CopyZeroAllocOSFileToNetConn-8 96.00 ± 0% 96.00 ± 0% ~ (p=1.000 n=25) ¹
CopyZeroAllocNetConnToOSFile-8 16.000 ± 6% 8.000 ± 12% -50.00% (p=0.000 n=25)
geomean ² ? ² ³
¹ all samples are equal
² summaries must be >0 to compute geomean
³ ratios must be >0 to compute geomean
│ old6.txt │ new7.txt │
│ allocs/op │ allocs/op vs base │
CopyZeroAllocOSFileToBytesBuffer-8 4.000 ± 0% 0.000 ± 0% -100.00% (p=0.000 n=25)
CopyZeroAllocBytesBufferToOSFile-8 0.000 ± 0% 0.000 ± 0% ~ (p=1.000 n=25) ¹
CopyZeroAllocOSFileToStringsBuilder-8 5.000 ± 0% 0.000 ± 0% -100.00% (p=0.000 n=25)
CopyZeroAllocIOLimitedReaderToOSFile-8 0.000 ± 0% 0.000 ± 0% ~ (p=1.000 n=25) ¹
CopyZeroAllocOSFileToOSFile-8 8.000 ± 0% 0.000 ± 0% -100.00% (p=0.000 n=25)
CopyZeroAllocOSFileToNetConn-8 6.000 ± 0% 6.000 ± 0% ~ (p=1.000 n=25) ¹
CopyZeroAllocNetConnToOSFile-8 2.000 ± 0% 1.000 ± 0% -50.00% (p=0.000 n=25)
geomean ² ? ² ³
¹ all samples are equal
² summaries must be >0 to compute geomean
³ ratios must be >0 to compute geomean
```
```
goos: windows
goarch: amd64
pkg: github.com/valyala/fasthttp
cpu: Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz
│ old_win.txt │ new_win.txt │
│ sec/op │ sec/op vs base │
CopyZeroAllocOSFileToBytesBuffer-8 4.347µ ± 7% 4.220µ ± 11% ~ (p=0.211 n=25)
CopyZeroAllocBytesBufferToOSFile-8 1.408µ ± 12% 1.460µ ± 7% ~ (p=0.427 n=25)
CopyZeroAllocOSFileToStringsBuilder-8 17.448µ ± 5% 3.613µ ± 9% -79.29% (p=0.000 n=25)
CopyZeroAllocIOLimitedReaderToOSFile-8 1.324µ ± 8% 1.257µ ± 6% -5.06% (p=0.024 n=25)
CopyZeroAllocOSFileToOSFile-8 19.953µ ± 8% 4.846µ ± 7% -75.71% (p=0.000 n=25)
CopyZeroAllocOSFileToNetConn-8 18.18µ ± 8% 18.22µ ± 7% ~ (p=0.405 n=25)
CopyZeroAllocNetConnToOSFile-8 74.75µ ± 2% 68.10µ ± 3% -8.90% (p=0.000 n=25)
geomean 8.720µ 5.579µ -36.02%
│ old_win.txt │ new_win.txt │
│ B/op │ B/op vs base │
CopyZeroAllocOSFileToBytesBuffer-8 8.000 ± 0% 0.000 ± 0% -100.00% (p=0.000 n=25)
CopyZeroAllocBytesBufferToOSFile-8 0.000 ± 0% 0.000 ± 0% ~ (p=1.000 n=25) ¹
CopyZeroAllocOSFileToStringsBuilder-8 32.01Ki ± 0% 0.00Ki ± 0% -100.00% (p=0.000 n=25)
CopyZeroAllocIOLimitedReaderToOSFile-8 9.000 ± 0% 0.000 ± 0% -100.00% (p=0.000 n=25)
CopyZeroAllocOSFileToOSFile-8 32.02Ki ± 0% 0.00Ki ± 0% -100.00% (p=0.000 n=25)
CopyZeroAllocOSFileToNetConn-8 32.02Ki ± 0% 32.02Ki ± 0% ~ (p=1.000 n=25) ¹
CopyZeroAllocNetConnToOSFile-8 32.02Ki ± 0% 32.02Ki ± 0% -0.00% (p=0.012 n=25)
geomean ² ? ² ³
¹ all samples are equal
² summaries must be >0 to compute geomean
³ ratios must be >0 to compute geomean
│ old_win.txt │ new_win.txt │
│ allocs/op │ allocs/op vs base │
CopyZeroAllocOSFileToBytesBuffer-8 1.000 ± 0% 0.000 ± 0% -100.00% (p=0.000 n=25)
CopyZeroAllocBytesBufferToOSFile-8 0.000 ± 0% 0.000 ± 0% ~ (p=1.000 n=25) ¹
CopyZeroAllocOSFileToStringsBuilder-8 2.000 ± 0% 0.000 ± 0% -100.00% (p=0.000 n=25)
CopyZeroAllocIOLimitedReaderToOSFile-8 2.000 ± 0% 0.000 ± 0% -100.00% (p=0.000 n=25)
CopyZeroAllocOSFileToOSFile-8 3.000 ± 0% 0.000 ± 0% -100.00% (p=0.000 n=25)
CopyZeroAllocOSFileToNetConn-8 3.000 ± 0% 3.000 ± 0% ~ (p=1.000 n=25) ¹
CopyZeroAllocNetConnToOSFile-8 3.000 ± 0% 3.000 ± 0% ~ (p=1.000 n=25) ¹
geomean ² ? ² ³
¹ all samples are equal
² summaries must be >0 to compute geomean
³ ratios must be >0 to compute geomean
```
2024-11-08 06:02:43 +01:00
dependabot[bot]
bea47f54b2
chore(deps): bump golang.org/x/crypto from 0.28.0 to 0.29.0 ( #1895 )
...
Bumps [golang.org/x/crypto](https://github.com/golang/crypto ) from 0.28.0 to 0.29.0.
- [Commits](https://github.com/golang/crypto/compare/v0.28.0...v0.29.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/crypto
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-08 05:42:23 +01:00
Kashiwa
803c25e54c
fix RequestCtx is canceled ( #1879 ) ( #1890 )
...
Create done channel in fakeServer during the initialization of newRequestCtx to prevent the done channel from being nil
v1.57.0
2024-10-27 20:15:57 +01:00