Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Fix #780: improve fixed rate scheduling on JS #790
This is a simple fix that seems to give most consistency. The idea is basically to add scheduling lag time to task execution time. Test is a bit non-deterministic (and I don't know how Travis would accept these), but change seems to reduce the accumulated error by a factor of magnitude in this simple scenario.
@@ Coverage Diff @@ ## master #790 +/- ## ========================================== + Coverage 90.38% 90.48% +0.09% ========================================== Files 426 426 Lines 12308 12308 Branches 2264 2264 ========================================== + Hits 11125 11137 +12 + Misses 1183 1171 -12