upd benchmark function names

This commit is contained in:
onyx-and-iris 2024-12-05 01:36:22 +00:00
parent e7aa98d637
commit 1ef43151b8
9 changed files with 9 additions and 9 deletions

View File

@ -9,7 +9,7 @@ import (
//go:embed testdata/input.txt //go:embed testdata/input.txt
var data []byte var data []byte
func BenchmarkMain(b *testing.B) { func BenchmarkSolve(b *testing.B) {
os.Stdout, _ = os.Open(os.DevNull) os.Stdout, _ = os.Open(os.DevNull)
Solve(data) Solve(data)
} }

View File

@ -9,7 +9,7 @@ import (
//go:embed testdata/input.txt //go:embed testdata/input.txt
var data []byte var data []byte
func BenchmarkMain(b *testing.B) { func BenchmarkSolve(b *testing.B) {
os.Stdout, _ = os.Open(os.DevNull) os.Stdout, _ = os.Open(os.DevNull)
Solve(data) Solve(data)
} }

View File

@ -9,7 +9,7 @@ import (
//go:embed testdata/input.txt //go:embed testdata/input.txt
var data []byte var data []byte
func BenchmarkMain(b *testing.B) { func BenchmarkSolve(b *testing.B) {
os.Stdout, _ = os.Open(os.DevNull) os.Stdout, _ = os.Open(os.DevNull)
Solve(data) Solve(data)
} }

View File

@ -9,7 +9,7 @@ import (
//go:embed testdata/input.txt //go:embed testdata/input.txt
var data []byte var data []byte
func BenchmarkMain(b *testing.B) { func BenchmarkSolve(b *testing.B) {
os.Stdout, _ = os.Open(os.DevNull) os.Stdout, _ = os.Open(os.DevNull)
Solve(data) Solve(data)
} }

View File

@ -9,7 +9,7 @@ import (
//go:embed testdata/input.txt //go:embed testdata/input.txt
var data []byte var data []byte
func BenchmarkMain(b *testing.B) { func BenchmarkSolve(b *testing.B) {
os.Stdout, _ = os.Open(os.DevNull) os.Stdout, _ = os.Open(os.DevNull)
Solve(data) Solve(data)
} }

View File

@ -9,7 +9,7 @@ import (
//go:embed testdata/input.txt //go:embed testdata/input.txt
var data []byte var data []byte
func BenchmarkMain(b *testing.B) { func BenchmarkSolve(b *testing.B) {
os.Stdout, _ = os.Open(os.DevNull) os.Stdout, _ = os.Open(os.DevNull)
Solve(data) Solve(data)
} }

View File

@ -9,7 +9,7 @@ import (
//go:embed testdata/input.txt //go:embed testdata/input.txt
var data []byte var data []byte
func BenchmarkMain(b *testing.B) { func BenchmarkSolve(b *testing.B) {
os.Stdout, _ = os.Open(os.DevNull) os.Stdout, _ = os.Open(os.DevNull)
Solve(data) Solve(data)
} }

View File

@ -9,7 +9,7 @@ import (
//go:embed testdata/input.txt //go:embed testdata/input.txt
var data []byte var data []byte
func BenchmarkMain(b *testing.B) { func BenchmarkSolve(b *testing.B) {
os.Stdout, _ = os.Open(os.DevNull) os.Stdout, _ = os.Open(os.DevNull)
Solve(data) Solve(data)
} }

View File

@ -9,7 +9,7 @@ import (
//go:embed testdata/input.txt //go:embed testdata/input.txt
var data []byte var data []byte
func BenchmarkMain(b *testing.B) { func BenchmarkSolve(b *testing.B) {
os.Stdout, _ = os.Open(os.DevNull) os.Stdout, _ = os.Open(os.DevNull)
Solve(data) Solve(data)
} }