Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

The nodejs code doesn't actually work in parallel. The code being tested is only creating new timeouts but it is working on a single V8 thread.

It has a clock thread on the C++ part of the engine and when it timeouts it pushes the continuations on the event loop, and that is it



Came here to say that, not sure if it actually would improve the test but at least it would be correct. Also, Node 12 was released 4 years ago.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: