#include #include #include #include #include #include namespace xrpl::test::bench { namespace { void currentLedgerObjNestedArrayLenImpl(benchmark::State& state) { static constexpr auto kWasmName = std::string_view{"home_le_inner_arr_len"}; benchmarkImpl( state, kWasmName, [] { return Fixtures::instance().signerListHost(); }, [](auto& host) { return host.getCurrentLedgerObjNestedArrayLen(locator({sfSignerEntries.getCode()})); }); } BENCHMARK(currentLedgerObjNestedArrayLenImpl)->UseManualTime()->Iterations(kBenchIterations); } // namespace } // namespace xrpl::test::bench