mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-25 04:47:18 +00:00
d04399ea96
* Begin to refactor benchmark files to testutil * Complete most of refactoring * Fix file path * gofmt * Fix path * Move generatego to tools/ * Move gen util to tools/benchmark-files-gen * Add comments to pregen funcs * Make function names consistent * Update README * Redo benchmarks with 16384 validators
29 lines
1006 B
Python
29 lines
1006 B
Python
load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library")
|
|
|
|
go_library(
|
|
name = "go_default_library",
|
|
testonly = True,
|
|
srcs = ["main.go"],
|
|
importpath = "github.com/prysmaticlabs/prysm/tools/benchmark-files-gen",
|
|
visibility = ["//visibility:private"],
|
|
deps = [
|
|
"//beacon-chain/core/helpers:go_default_library",
|
|
"//beacon-chain/core/state:go_default_library",
|
|
"//proto/beacon/p2p/v1:go_default_library",
|
|
"//shared/benchutil:go_default_library",
|
|
"//shared/interop:go_default_library",
|
|
"//shared/params:go_default_library",
|
|
"//shared/testutil:go_default_library",
|
|
"@com_github_pkg_errors//:go_default_library",
|
|
"@com_github_prysmaticlabs_ethereumapis//eth/v1alpha1:go_default_library",
|
|
"@com_github_prysmaticlabs_go_ssz//:go_default_library",
|
|
],
|
|
)
|
|
|
|
go_binary(
|
|
name = "benchmark-files-gen",
|
|
testonly = True,
|
|
embed = [":go_default_library"],
|
|
visibility = ["//visibility:public"],
|
|
)
|