github.com/SagerNet/gvisor@v0.0.0-20210707092255-7731c139d75c/test/benchmarks/base/BUILD (about) 1 load("//tools:defs.bzl", "go_library") 2 load("//test/benchmarks:defs.bzl", "benchmark_test") 3 4 package(licenses = ["notice"]) 5 6 go_library( 7 name = "base", 8 testonly = 1, 9 srcs = [ 10 "base.go", 11 ], 12 deps = [ 13 "//pkg/test/dockerutil", 14 "//test/benchmarks/harness", 15 ], 16 ) 17 18 benchmark_test( 19 name = "startup_test", 20 srcs = ["startup_test.go"], 21 visibility = ["//:sandbox"], 22 deps = [ 23 "//pkg/test/dockerutil", 24 "//test/benchmarks/base", 25 "//test/benchmarks/harness", 26 ], 27 ) 28 29 benchmark_test( 30 name = "size_test", 31 srcs = ["size_test.go"], 32 visibility = ["//:sandbox"], 33 deps = [ 34 "//pkg/test/dockerutil", 35 "//test/benchmarks/base", 36 "//test/benchmarks/harness", 37 "//test/benchmarks/tools", 38 ], 39 ) 40 41 benchmark_test( 42 name = "sysbench_test", 43 srcs = ["sysbench_test.go"], 44 visibility = ["//:sandbox"], 45 deps = [ 46 "//pkg/test/dockerutil", 47 "//test/benchmarks/harness", 48 "//test/benchmarks/tools", 49 ], 50 )