You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ git clone --depth=1 https://github.com/microsoft/typescript-go.git
$ cd typescript-go
$ go test -run=- -bench=BenchmarkGetNormalizedAbsolutePath -benchtime=1x ./internal/tspath
What did you see happen?
$ go1.24.2 test -run=- -bench=BenchmarkGetNormalizedAbsolutePath -benchtime=1x ./internal/tspath--- FAIL: BenchmarkGetNormalizedAbsolutePath/non-normalized_inputs/GetNormalizedAbsolutePath benchmark.go:417: B.Loop called with timer stopped--- FAIL: BenchmarkGetNormalizedAbsolutePath/non-normalized_inputs/GetNormalizedAbsolutePath_(old) benchmark.go:417: B.Loop called with timer stopped--- FAIL: BenchmarkGetNormalizedAbsolutePath/non-normalized_inputs--- FAIL: BenchmarkGetNormalizedAbsolutePath/normalized_inputs/GetNormalizedAbsolutePath benchmark.go:417: B.Loop called with timer stopped--- FAIL: BenchmarkGetNormalizedAbsolutePath/normalized_inputs/GetNormalizedAbsolutePath_(old) benchmark.go:417: B.Loop called with timer stopped--- FAIL: BenchmarkGetNormalizedAbsolutePath/normalized_inputs--- FAIL: BenchmarkGetNormalizedAbsolutePath/normalized_inputs_(long)/GetNormalizedAbsolutePath benchmark.go:417: B.Loop called with timer stopped--- FAIL: BenchmarkGetNormalizedAbsolutePath/normalized_inputs_(long)/GetNormalizedAbsolutePath_(old) benchmark.go:417: B.Loop called with timer stopped--- FAIL: BenchmarkGetNormalizedAbsolutePath/normalized_inputs_(long)--- FAIL: BenchmarkGetNormalizedAbsolutePathFAILexit status 1FAIL github.com/microsoft/typescript-go/internal/tspath 0.009sFAIL
Go version
go version go1.24.2 linux/amd64
Output of
go env
in your module/workspace:What did you do?
What did you see happen?
What did you expect to see?
The
-benchtime=1x
doesn't affect anything; removing it shows the same problem (just slower).The text was updated successfully, but these errors were encountered: