diff options
author | Eugeniy E. Mikhailov <evgmik@gmail.com> | 2021-06-11 11:31:42 -0400 |
---|---|---|
committer | Eugeniy E. Mikhailov <evgmik@gmail.com> | 2021-06-11 11:31:42 -0400 |
commit | 80c53273e040db9abb7a7a0174327802abb9eb5d (patch) | |
tree | 31b793ff0164d32ea939e3c4216a7f6c34f2cb91 | |
parent | c1fdd96bf5885c5b025327ca8742cbe9cdc3ec14 (diff) | |
download | nodeMCU_rf_source_lmx2487-80c53273e040db9abb7a7a0174327802abb9eb5d.tar.gz nodeMCU_rf_source_lmx2487-80c53273e040db9abb7a7a0174327802abb9eb5d.zip |
remove benchmarking of obsolete code
-rw-r--r-- | bench_lmx2487.lua | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/bench_lmx2487.lua b/bench_lmx2487.lua index 7a9a6d9..6f13117 100644 --- a/bench_lmx2487.lua +++ b/bench_lmx2487.lua @@ -20,27 +20,8 @@ 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)") -bench(function() local tB=toBits(4000000) end, 10 , "toBits(4000000)") - -tB=toBits(4000000) -bench(function() local d=toNum(tB) end, 10 , "toNum") -tB=nil - bench(function() freq2regestersValues(6.834e9) end, 10 , "freq2regestersValues") -sinit= initSettings() -bench(function() local sTmp=copySettings(sinit) end, 10 , "copySettings") -sinit=nil - -tB=toBits(4000000) -bench(function() pad2NumBitsInPlace(tB,22) end, 10 , "pad2NumBitsInPlace") -tB=nil - -tB=toBits(4000000) -tB=pad2NumBitsInPlace(tB,22) -bench(function() local tTmp=bitSlice(tB,13,22) end, 10 , "bitSlice") -tB=nil - -- main time hog set_lmx2487_board_to_default_state() bench(function() FreqToSettings(6.834e9) end, 1, "FreqToSettings") |