blob: 43b1a4086c53a26fbc967630915692674f81ff39 [file] [log] [blame]
load("//bazel/go:go_test.bzl", "go_test")
load("@io_bazel_rules_go//go:def.bzl", "go_library")
go_library(
name = "samplestats",
srcs = [
"analyze.go",
"metrics.go",
"sort.go",
],
importpath = "go.skia.org/infra/perf/go/samplestats",
visibility = ["//visibility:public"],
deps = [
"//go/paramtools",
"//go/util",
"//perf/go/ingest/parser",
"@com_github_aclements_go_moremath//stats",
],
)
go_test(
name = "samplestats_test",
srcs = [
"analyze_test.go",
"metrics_test.go",
],
embed = [":samplestats"],
deps = [
"//go/paramtools",
"//go/testutils/unittest",
"//perf/go/ingest/parser",
"@com_github_stretchr_testify//assert",
"@com_github_stretchr_testify//require",
],
)