load("//bazel/rules/cc:defs.bzl", "cc_binary") load("//bazel/rules/risc0:defs.bzl", "risc0_cc_method") cc_binary( name = "benchmark", 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", "//examples/rust/battleship/methods:turn", "//examples/rust/battleship/methods:turn.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", ], )