Message from JavaScript discussions

October 2018

— In your case was useless

— 

Also, counting the actual threads of the node process showed maybe 10 threads when there were 6000 active fibers

— Anyway my point was only to share related info with the main discussion

— Related to Dani's Hz

— Well, 6000 coroutines is a lot

— 10 threads is 600 routines per thread which is understandable

— Yes, and they shouldn't even be there, because they were supposed to be promises

— But because Meteor has monkey-patched promises to use fibers, I got fibers

— I even wrote a pure nodejs test script for the same problem, using non-fucked promises

— 1 second

— 😂

— Https://jsperf.com/es6-map-vs-object-lookup