8

After writing ~200 lines of code and then unit testing it

THE TESTS ALL PASS!!!

then I run them again just to be sure and they all pass but mocha is saying I am getting 40ms lag on some of my tests...

Noooo!!!

This is meant to be an async message passing system; I cannot have an input lag of 40ms :(

Comments
  • 0
    Shhh... No one cares about 40 ms ;)
  • 0
    @liverreich. Trying to tell my self that :)
  • 0
    @-ScratchOs you may have thread creation overhead for the time being so long, or worse disk io
  • 0
    @QCat I think it was just that I had too many tabs open in chrome and not a very powerful computer
  • 0
    @-ScratchOs even with a pentium 4,if you have no rescheduling of you message queue, it must be faster than that. Since on my Atom processor with win 10 thread creation overhead is 120us and plate rotation of disk is between 15 and 60 ms, you can investigate
Add Comment