From eb6f23ab6138cc132154145720c503d2509ede1f Mon Sep 17 00:00:00 2001 From: Asko Nõmm Date: Fri, 10 Apr 2026 15:55:56 +0300 Subject: Update Jank benchmark baseline and timer interop Refresh Jank benchmark numbers with the latest run and fix the Jank clock helper interop in the benchmark harness so future benchmark runs complete successfully. --- bench/ruuter/bench.cljc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bench/ruuter/bench.cljc') diff --git a/bench/ruuter/bench.cljc b/bench/ruuter/bench.cljc index 71a02eb..de6be46 100644 --- a/bench/ruuter/bench.cljc +++ b/bench/ruuter/bench.cljc @@ -7,7 +7,7 @@ #?(:jank (cpp/raw "#include -int64_t now_ns() +int64_t ruuter_bench_clock_now_ns_cpp() { return std::chrono::duration_cast( std::chrono::high_resolution_clock::now().time_since_epoch() @@ -19,7 +19,7 @@ int64_t now_ns() "Returns the current time in nanoseconds." [] #?(:cljs (* (.now js/performance) 1e6) - :jank (cpp/now_ns) + :jank (cpp/ruuter_bench_clock_now_ns_cpp) :default (System/nanoTime))) (defn- ->long -- cgit v1.2.3