From 71d9bd22e280bf3496287d3b12f18b4b504bfb96 Mon Sep 17 00:00:00 2001 From: "Eugeniy E. Mikhailov" Date: Fri, 11 Jun 2021 14:18:50 -0400 Subject: benchmark of microwire interface --- bench_lmx2487.lua | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bench_lmx2487.lua b/bench_lmx2487.lua index 65d25fc..d1221d4 100644 --- a/bench_lmx2487.lua +++ b/bench_lmx2487.lua @@ -20,6 +20,10 @@ bench(function() local t={1}; t[2]=2; t[3]=3 end, 10 , "table expand by 2 elemen bench(function() bit.rshift(4000000,1) end, 10 , "bit.rshift(4000000,1)") +-- 8560613 corresponds to R2 settings +bench(function(x) microwire_send_data( 8560613 ) end, 10, "microwire_send_data") +bench(function(x) lmx2487_need_update[3]=true; send_register_lmx2487(2) end, 10, "send_register_lmx2487") + bench(function() freq2regestersValues(6.834e9) end, 10 , "freq2regestersValues") -- main time hog -- cgit v1.2.3