feat: Add some performance tests for escrow wasm functions

This commit is contained in:
TimothyBanks
2026-07-23 09:39:41 -04:00
parent 26f9488b5d
commit ca97c98b68

View File

@@ -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::microseconds>(
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::microseconds>(
std::chrono::steady_clock::now() - start)