From ca97c98b680456bdb416317f49149d54dd47dee9 Mon Sep 17 00:00:00 2001 From: TimothyBanks Date: Thu, 23 Jul 2026 09:39:41 -0400 Subject: [PATCH] feat: Add some performance tests for escrow wasm functions --- src/libxrpl/tx/wasm/WasmVM.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libxrpl/tx/wasm/WasmVM.cpp b/src/libxrpl/tx/wasm/WasmVM.cpp index b1d94953c0..94a1e5b508 100644 --- a/src/libxrpl/tx/wasm/WasmVM.cpp +++ b/src/libxrpl/tx/wasm/WasmVM.cpp @@ -134,7 +134,7 @@ runEscrowWasm( // microseconds is intentional. The resolution of the StatsD is milliseconds, // but this runs too fast for that. - hfs.executionTimeEvent("runEscrowWasm") + hfs.executionTimeEvent("runEscrowWasm_us") .notify( std::chrono::milliseconds{std::chrono::duration_cast( std::chrono::steady_clock::now() - start) @@ -172,7 +172,7 @@ preflightEscrowWasm( // microseconds is intentional. The resolution of the StatsD is milliseconds, // but this runs too fast for that. - hfs.executionTimeEvent("preflightEscrowWasm") + hfs.executionTimeEvent("preflightEscrowWasm_us") .notify( std::chrono::milliseconds{std::chrono::duration_cast( std::chrono::steady_clock::now() - start)