mirror of
https://github.com/hanzoai/visor.git
synced 2026-09-24 17:04:14 +00:00
The previous set of benchmarks is limited to ffmpeg. This means the profile doesn't cover much of the gVisor codebase. Increasing the set of PGO benchmarks ensures coverage data for network and I/O stuff. PiperOrigin-RevId: 776641891
28 lines
577 B
Python
28 lines
577 B
Python
load("//test/benchmarks:defs.bzl", "benchmark_test")
|
|
load("//tools:defs.bzl", "go_library")
|
|
|
|
package(
|
|
default_applicable_licenses = ["//:license"],
|
|
licenses = ["notice"],
|
|
)
|
|
|
|
go_library(
|
|
name = "database",
|
|
testonly = 1,
|
|
srcs = ["database.go"],
|
|
)
|
|
|
|
benchmark_test(
|
|
name = "redis_test",
|
|
srcs = ["redis_test.go"],
|
|
library = ":database",
|
|
use_for_pgo = True,
|
|
visibility = ["//:sandbox"],
|
|
deps = [
|
|
"//pkg/test/dockerutil",
|
|
"//test/benchmarks/harness",
|
|
"//test/benchmarks/tools",
|
|
"//test/metricsviz",
|
|
],
|
|
)
|