On Thursday, October 11, 2012 1:24:12 AM UTC-5, Tim Oxley wrote: > Great writeup! Most these points are right on. > > > Thanks Tim! Positive feedback is welcome. > > >> But I've also been severely bitten by >> the performance and race-condition implications of this. > > ... >> I've seen many cases where it's better and simpler to >> just call right away. > > > Can you give me an example? > > Tim, we ended up with some nextTick benchmarks a while back. Here is my latest output for node v0.8.11:
loopsPerSecond: 431034482.8, nextTicksPerSecond: 1616854.4, ratio: 266.6x times faster loopsPerSecond: 434782608.7, nextTicksPerSecond: 1580382.8, ratio: 275.1x times faster loopsPerSecond: 432900432.9, nextTicksPerSecond: 1582450.1, ratio: 273.6x times faster loopsPerSecond: 436681222.7, nextTicksPerSecond: 1591237.3, ratio: 274.4x times faster benchmark here: https://gist.github.com/1512111 (forked from https://gist.github.com/1511972) discussion here: https://groups.google.com/forum/#!topic/nodejs/PErl27A4e-A/discussion -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en
