gvisor.dev/gvisor@v0.0.0-20240520182842-f9d4d51c7e0f/test/benchmarks/network/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 = "network",
    11      testonly = 1,
    12      srcs = [
    13          "network.go",
    14      ],
    15      deps = [
    16          "//pkg/test/dockerutil",
    17          "//test/benchmarks/harness",
    18          "//test/benchmarks/tools",
    19          "//test/metricsviz",
    20      ],
    21  )
    22  
    23  benchmark_test(
    24      name = "iperf_test",
    25      srcs = [
    26          "iperf_test.go",
    27      ],
    28      library = ":network",
    29      visibility = ["//:sandbox"],
    30      deps = [
    31          "//pkg/test/dockerutil",
    32          "//pkg/test/testutil",
    33          "//test/benchmarks/harness",
    34          "//test/benchmarks/tools",
    35          "//test/metricsviz",
    36      ],
    37  )
    38  
    39  benchmark_test(
    40      name = "node_test",
    41      srcs = [
    42          "node_test.go",
    43      ],
    44      library = ":network",
    45      visibility = ["//:sandbox"],
    46      deps = [
    47          "//pkg/test/dockerutil",
    48          "//test/benchmarks/harness",
    49          "//test/benchmarks/tools",
    50          "//test/metricsviz",
    51      ],
    52  )
    53  
    54  benchmark_test(
    55      name = "ruby_test",
    56      srcs = [
    57          "ruby_test.go",
    58      ],
    59      library = ":network",
    60      visibility = ["//:sandbox"],
    61      deps = [
    62          "//pkg/test/dockerutil",
    63          "//test/benchmarks/harness",
    64          "//test/benchmarks/tools",
    65          "//test/metricsviz",
    66      ],
    67  )
    68  
    69  benchmark_test(
    70      name = "nginx_test",
    71      srcs = [
    72          "nginx_test.go",
    73      ],
    74      library = ":network",
    75      visibility = ["//:sandbox"],
    76      deps = [
    77          "//pkg/test/dockerutil",
    78          "//test/benchmarks/harness",
    79          "//test/benchmarks/tools",
    80      ],
    81  )
    82  
    83  benchmark_test(
    84      name = "httpd_test",
    85      srcs = [
    86          "httpd_test.go",
    87      ],
    88      library = ":network",
    89      visibility = ["//:sandbox"],
    90      deps = [
    91          "//pkg/test/dockerutil",
    92          "//pkg/test/testutil",
    93          "//test/benchmarks/harness",
    94          "//test/benchmarks/tools",
    95      ],
    96  )