gvisor.dev/gvisor@v0.0.0-20240520182842-f9d4d51c7e0f/test/benchmarks/base/BUILD (about) 1 load("//test/benchmarks:defs.bzl", "benchmark_test") 2 load("//tools:defs.bzl", "go_library") 3 4 package( 5 default_applicable_licenses = ["//:license"], 6 licenses = ["notice"], 7 ) 8 9 go_library( 10 name = "base", 11 testonly = 1, 12 srcs = [ 13 "base.go", 14 ], 15 deps = [ 16 "//pkg/test/dockerutil", 17 "//test/benchmarks/harness", 18 ], 19 ) 20 21 benchmark_test( 22 name = "startup_test", 23 srcs = ["startup_test.go"], 24 visibility = ["//:sandbox"], 25 deps = [ 26 "//pkg/test/dockerutil", 27 "//test/benchmarks/base", 28 "//test/benchmarks/harness", 29 "//test/metricsviz", 30 ], 31 ) 32 33 benchmark_test( 34 name = "size_test", 35 srcs = ["size_test.go"], 36 visibility = ["//:sandbox"], 37 deps = [ 38 "//pkg/test/dockerutil", 39 "//test/benchmarks/base", 40 "//test/benchmarks/harness", 41 "//test/benchmarks/tools", 42 "//test/metricsviz", 43 ], 44 ) 45 46 benchmark_test( 47 name = "sysbench_test", 48 srcs = ["sysbench_test.go"], 49 visibility = ["//:sandbox"], 50 deps = [ 51 "//pkg/test/dockerutil", 52 "//test/benchmarks/harness", 53 "//test/benchmarks/tools", 54 "//test/metricsviz", 55 ], 56 ) 57 58 benchmark_test( 59 name = "syscallbench_test", 60 srcs = ["syscallbench_test.go"], 61 visibility = ["//:sandbox"], 62 deps = [ 63 "//pkg/test/dockerutil", 64 "//test/benchmarks/harness", 65 "//test/benchmarks/tools", 66 "//test/metricsviz", 67 ], 68 ) 69 70 benchmark_test( 71 name = "hackbench_test", 72 srcs = ["hackbench_test.go"], 73 visibility = ["//:sandbox"], 74 deps = [ 75 "//pkg/test/dockerutil", 76 "//test/benchmarks/harness", 77 "//test/benchmarks/tools", 78 "//test/metricsviz", 79 ], 80 ) 81 82 benchmark_test( 83 name = "usage_test", 84 srcs = ["usage_test.go"], 85 deps = [ 86 ":base", 87 "//pkg/test/dockerutil", 88 "//test/benchmarks/harness", 89 "//test/benchmarks/tools", 90 "//test/metricsviz", 91 "@com_github_docker_docker//api/types:go_default_library", 92 ], 93 )