From 9801f6dae2717cb5dd46abb7bfc098fd37cc5794 Mon Sep 17 00:00:00 2001 From: AJ Heller Date: Wed, 20 Nov 2024 14:34:02 -0800 Subject: [PATCH] [deps] Upgrade google/benchmark to v1.9.0 (#38163) This pulls in a patch that increases the max iteration limit, which is useful for extra-small microbenchmarks. Closes #38163 PiperOrigin-RevId: 698524219 --- bazel/grpc_deps.bzl | 9 +++++---- third_party/benchmark | 2 +- tools/run_tests/sanity/check_submodules.sh | 2 +- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/bazel/grpc_deps.bzl b/bazel/grpc_deps.bzl index 245f6abf7ec..539be2bdd43 100644 --- a/bazel/grpc_deps.bzl +++ b/bazel/grpc_deps.bzl @@ -109,11 +109,12 @@ def grpc_deps(): if "com_github_google_benchmark" not in native.existing_rules(): http_archive( name = "com_github_google_benchmark", - sha256 = "8e7b955f04bc6984e4f14074d0d191474f76a6c8e849e04a9dced49bc975f2d4", - strip_prefix = "benchmark-344117638c8ff7e239044fd0fa7085839fc03021", + sha256 = "11f344710a80fd73db0fc686b4fe40867dc34d914d9cdfd7a4b416a65d1e692f", + strip_prefix = "benchmark-12235e24652fc7f809373e7c11a5f73c5763fc4c", urls = [ - "https://storage.googleapis.com/grpc-bazel-mirror/github.com/google/benchmark/archive/344117638c8ff7e239044fd0fa7085839fc03021.tar.gz", - "https://github.com/google/benchmark/archive/344117638c8ff7e239044fd0fa7085839fc03021.tar.gz", + # v1.9.0 + "https://storage.googleapis.com/grpc-bazel-mirror/github.com/google/benchmark/archive/12235e24652fc7f809373e7c11a5f73c5763fc4c.tar.gz", + "https://github.com/google/benchmark/archive/12235e24652fc7f809373e7c11a5f73c5763fc4c.tar.gz", ], ) diff --git a/third_party/benchmark b/third_party/benchmark index 344117638c8..12235e24652 160000 --- a/third_party/benchmark +++ b/third_party/benchmark @@ -1 +1 @@ -Subproject commit 344117638c8ff7e239044fd0fa7085839fc03021 +Subproject commit 12235e24652fc7f809373e7c11a5f73c5763fc4c diff --git a/tools/run_tests/sanity/check_submodules.sh b/tools/run_tests/sanity/check_submodules.sh index 9629ff4df9d..db3051dfe2f 100755 --- a/tools/run_tests/sanity/check_submodules.sh +++ b/tools/run_tests/sanity/check_submodules.sh @@ -26,7 +26,7 @@ want_submodules=$(mktemp /tmp/submXXXXXX) git submodule | sed 's/+//g' | awk '{ print $2 " " $1 }' | sort >"$submodules" cat <"$want_submodules" third_party/abseil-cpp 4447c7562e3bc702ade25105912dce503f0c4010 -third_party/benchmark 344117638c8ff7e239044fd0fa7085839fc03021 +third_party/benchmark 12235e24652fc7f809373e7c11a5f73c5763fc4c third_party/bloaty 60209eb1ccc34d5deefb002d1b7f37545204f7f2 third_party/boringssl-with-bazel b8b3e6e11166719a8ebfa43c0cde9ad7d57a84f6 third_party/cares/cares 6360e96b5cf8e5980c887ce58ef727e53d77243a