Skip to content

perf: optimize c.File with zero-copy support via io.ReaderFrom #1460

perf: optimize c.File with zero-copy support via io.ReaderFrom

perf: optimize c.File with zero-copy support via io.ReaderFrom #1460

Triggered via pull request May 14, 2026 19:03
Status Failure
Total duration 1m 7s
Artifacts

echo.yml

on: pull_request
Matrix: test
Benchmark comparison
0s
Benchmark comparison
Fit to window
Zoom out
Zoom in

Annotations

39 errors and 2 notices
macos-latest @ Go 1.25
Process completed with exit code 1.
macos-latest @ Go 1.25: context_file_test.go#L36
other declaration of TestContext_File_ReadFrom_Optimization
macos-latest @ Go 1.25: context_readfrom_test.go#L34
TestContext_File_ReadFrom_Optimization redeclared in this block
macos-latest @ Go 1.25: context_file_test.go#L30
other declaration of mockSimpleResponseWriter
macos-latest @ Go 1.25: context_readfrom_test.go#L28
mockSimpleResponseWriter redeclared in this block
macos-latest @ Go 1.25: context_readfrom_test.go#L20
method mockReadFromWriter.ReadFrom already declared at ./context_file_test.go:22:30
macos-latest @ Go 1.25: context_file_test.go#L17
other declaration of mockReadFromWriter
macos-latest @ Go 1.25: context_readfrom_test.go#L15
mockReadFromWriter redeclared in this block
ubuntu-latest @ Go 1.26
The strategy configuration was canceled because "test.macos-latest_1_25" failed
ubuntu-latest @ Go 1.26
Process completed with exit code 1.
ubuntu-latest @ Go 1.26: context_file_test.go#L36
other declaration of TestContext_File_ReadFrom_Optimization
ubuntu-latest @ Go 1.26: context_readfrom_test.go#L34
TestContext_File_ReadFrom_Optimization redeclared in this block
ubuntu-latest @ Go 1.26: context_file_test.go#L30
other declaration of mockSimpleResponseWriter
ubuntu-latest @ Go 1.26: context_readfrom_test.go#L28
mockSimpleResponseWriter redeclared in this block
ubuntu-latest @ Go 1.26: context_readfrom_test.go#L20
method mockReadFromWriter.ReadFrom already declared at ./context_file_test.go:22:30
ubuntu-latest @ Go 1.26: context_file_test.go#L17
other declaration of mockReadFromWriter
ubuntu-latest @ Go 1.26: context_readfrom_test.go#L15
mockReadFromWriter redeclared in this block
ubuntu-latest @ Go 1.25
The strategy configuration was canceled because "test.macos-latest_1_25" failed
ubuntu-latest @ Go 1.25
Process completed with exit code 1.
ubuntu-latest @ Go 1.25: context_file_test.go#L36
other declaration of TestContext_File_ReadFrom_Optimization
ubuntu-latest @ Go 1.25: context_readfrom_test.go#L34
TestContext_File_ReadFrom_Optimization redeclared in this block
ubuntu-latest @ Go 1.25: context_file_test.go#L30
other declaration of mockSimpleResponseWriter
ubuntu-latest @ Go 1.25: context_readfrom_test.go#L28
mockSimpleResponseWriter redeclared in this block
ubuntu-latest @ Go 1.25: context_readfrom_test.go#L20
method mockReadFromWriter.ReadFrom already declared at ./context_file_test.go:22:30
ubuntu-latest @ Go 1.25: context_file_test.go#L17
other declaration of mockReadFromWriter
ubuntu-latest @ Go 1.25: context_readfrom_test.go#L15
mockReadFromWriter redeclared in this block
macos-latest @ Go 1.26
The strategy configuration was canceled because "test.macos-latest_1_25" failed
macos-latest @ Go 1.26
The operation was canceled.
macos-latest @ Go 1.26: context_file_test.go#L36
other declaration of TestContext_File_ReadFrom_Optimization
macos-latest @ Go 1.26: context_readfrom_test.go#L34
TestContext_File_ReadFrom_Optimization redeclared in this block
macos-latest @ Go 1.26: context_file_test.go#L30
other declaration of mockSimpleResponseWriter
macos-latest @ Go 1.26: context_readfrom_test.go#L28
mockSimpleResponseWriter redeclared in this block
macos-latest @ Go 1.26: context_readfrom_test.go#L20
method mockReadFromWriter.ReadFrom already declared at ./context_file_test.go:22:30
macos-latest @ Go 1.26: context_file_test.go#L17
other declaration of mockReadFromWriter
macos-latest @ Go 1.26: context_readfrom_test.go#L15
mockReadFromWriter redeclared in this block
windows-latest @ Go 1.25
The strategy configuration was canceled because "test.macos-latest_1_25" failed
windows-latest @ Go 1.25
The operation was canceled.
windows-latest @ Go 1.26
The strategy configuration was canceled because "test.macos-latest_1_25" failed
windows-latest @ Go 1.26
The operation was canceled.
windows-latest @ Go 1.25
NOTICE: windows-latest requests are being redirected to windows-2025-vs2026 by June 15, 2026
windows-latest @ Go 1.26
NOTICE: windows-latest requests are being redirected to windows-2025-vs2026 by June 15, 2026