nanotimer
nanotimer copied to clipboard
add config option to change the setImmediate time usage to improve performance
Changes
add a new config parameter to the constructor to add a value to change the 25ms value which will be used to decide whether to use setTimeout or setInterval
We had an usecase with an interval of les than 24ms which needed to be accurate and the CPU usage was by 100% because of this - with the value changed to 5ms the performance was better