miho / VWorkflows

Flow Visualization Library for JavaFX and VRL-Studio
http://vworkflows.mihosoft.eu
Other
294 stars 67 forks source link

Use only a single timerthread #56

Closed cbvms123 closed 7 years ago

cbvms123 commented 7 years ago

Since every event did create a new thread the library was very thread intensive. With this change, only a single thread is used. This significantly improves the performance for complex flows.

coveralls commented 7 years ago

Coverage Status

Coverage decreased (-0.003%) to 18.015% when pulling f43279ace62c027e094576e93d541d20eda28d27 on cbvms123:timer_threads into 2f617077008cc8afecc6f24445ca0bdd8574b824 on miho:master.

miho commented 7 years ago

Well spotted. Thanks for the contribution.