mirror of
https://github.com/onyx-and-iris/aoc2024.git
synced 2025-01-09 14:20:48 +00:00
upd benchmark function names
This commit is contained in:
parent
e7aa98d637
commit
1ef43151b8
@ -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)
|
||||||
}
|
}
|
||||||
|
@ -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)
|
||||||
}
|
}
|
||||||
|
@ -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)
|
||||||
}
|
}
|
||||||
|
@ -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)
|
||||||
}
|
}
|
||||||
|
@ -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)
|
||||||
}
|
}
|
||||||
|
@ -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)
|
||||||
}
|
}
|
||||||
|
@ -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)
|
||||||
}
|
}
|
||||||
|
@ -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)
|
||||||
}
|
}
|
||||||
|
@ -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)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user