Skip to content

add config option to change the setImmediate time usage to improve performance#28

Open
Trickfilm400 wants to merge 2 commits intoKrb686:masterfrom
Trickfilm400:master
Open

add config option to change the setImmediate time usage to improve performance#28
Trickfilm400 wants to merge 2 commits intoKrb686:masterfrom
Trickfilm400:master

Conversation

@Trickfilm400
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant