load("//bazel/rules/cc:defs.bzl", "cc_test") load("//bazel/rules/risc0:defs.bzl", "risc0_cc_method") cc_test( name = "bench", srcs = ["benchmark.cpp"], data = [ ":bench_sha", ":bench_sha.id", ":bench_simple_loop", ":bench_simple_loop.id", "//examples/cpp/battleship:turn_method", "//examples/cpp/battleship:turn_method.id", ], deps = [ "//examples/cpp/battleship:core", "//risc0/zkvm/sdk/cpp/host", "@com_google_benchmark//:benchmark", ], ) risc0_cc_method( name = "bench_simple_loop", srcs = ["bench_simple_loop.cpp"], deps = [ "//risc0/zkvm/sdk/cpp/guest", ], ) risc0_cc_method( name = "bench_sha", srcs = ["bench_sha.cpp"], deps = [ "//risc0/zkvm/sdk/cpp/guest", ], )