Files
Michael Lippautz 9729069a16 Add benchmark for bindings operations
Adds a benchmark representing bindings setup.

Results:
------------------------------------------------------------------
Benchmark                                     Time             CPU
------------------------------------------------------------------
OldBindings/AccessorReturningWrapper    1510244 ns      1510078 ns
NewBindings/AccessorReturningWrapper    1248103 ns      1247787 ns
OldBindings/AccessorReturningSmi         622348 ns       622332 ns
NewBindings/AccessorReturningSmi         581722 ns       581705 ns

Bug: chromium:328117814
Change-Id: I6557a39b4c05c69e3751f6d0b7e172b29e47126c
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/5382158
Reviewed-by: Anton Bikineev <bikineev@chromium.org>
Reviewed-by: Igor Sheludko <ishell@chromium.org>
Commit-Queue: Michael Lippautz <mlippautz@chromium.org>
Cr-Commit-Position: refs/heads/main@{#93075}
2024-03-27 19:54:45 +00:00

9 lines
258 B
Python

include_rules = [
"+src/base",
"+third_party/google_benchmark_chrome/src/include/benchmark/benchmark.h",
# TODO(chromium: 328117814) Temporarily allow internals until the API has
# landed.
"+src/api/api-inl.h",
"+src/objects/js-objects-inl.h",
]