-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathbenchmark_simple_test.go
48 lines (36 loc) · 1.12 KB
/
benchmark_simple_test.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
package gtree_test
import (
"testing"
tu "github.com/ddddddO/gtree/testutil"
)
func BenchmarkOutput_singleRoot(b *testing.B) {
tu.BaseBenchmark(b, tu.SingleRoot)
}
func BenchmarkOutput_tenRoots(b *testing.B) {
tu.BaseBenchmark(b, tu.TenRoots)
}
func BenchmarkOutput_fiftyRoots(b *testing.B) {
tu.BaseBenchmark(b, tu.FiftyRoots)
}
func BenchmarkOutput_hundredRoots(b *testing.B) {
tu.BaseBenchmark(b, tu.HundredRoots)
}
func BenchmarkOutput_fiveHundredsRoots(b *testing.B) {
tu.BaseBenchmark(b, tu.FiveHundredsRoots)
}
func BenchmarkOutput_thousandRoots(b *testing.B) {
tu.BaseBenchmark(b, tu.ThousandRoots)
}
func BenchmarkOutput_3000Roots(b *testing.B) {
tu.BaseBenchmark(b, tu.ThreeThousandRoots)
}
func BenchmarkOutput_6000Roots(b *testing.B) {
tu.BaseBenchmark(b, tu.SixThousandRoots)
}
func BenchmarkOutput_10000Roots(b *testing.B) {
tu.BaseBenchmark(b, tu.TenThousandRoots)
}
// NOTE: ベンチマーク取得でタイムアウトになったため。条件を合わせるためpipeline側もコメントアウト
// func BenchmarkOutput_20000Roots(b *testing.B) {
// tu.BaseBenchmark(b, tu.TwentyThousandRoots)
// }