-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
Hey folks,
I stumbled across this wondering whether async_hooks was still slow or not, since a lot of blog posts from 3-5 years ago suggest that it is.
I checked this repo out and it still runs! [Thank you for creating it!] Here are the results from newer NodeJS versions on my M1 Macbook Pro. Based on these results, I think the performance issues have been mitigated to the point that async_hooks are likely worth the overhead in most scenarios.
NodeJS 9.11.2
regular Bluebird-doxbee: 144 ms.
init Bluebird-doxbee: 286 ms.
full Bluebird-doxbee: 315 ms.
regular Bluebird-parallel: 450 ms.
init Bluebird-parallel: 792 ms.
full Bluebird-parallel: 911 ms.
regular Wikipedia: 816 ms.
init Wikipedia: 1548 ms.
full Wikipedia: 1835 ms.
regular
init
full
regular
init
full
Node 18.12.0
regular Bluebird-doxbee: 44 ms.
init Bluebird-doxbee: 62 ms.
full Bluebird-doxbee: 142 ms.
regular Bluebird-parallel: 60 ms.
init Bluebird-parallel: 102 ms.
full Bluebird-parallel: 297 ms.
regular Wikipedia: 146 ms.
init Wikipedia: 245 ms.
full Wikipedia: 722 ms.
regular
init
full
regular
init
full
Node 20.10.0
regular Bluebird-doxbee: 40 ms.
init Bluebird-doxbee: 53 ms.
full Bluebird-doxbee: 135 ms.
regular Bluebird-parallel: 52 ms.
init Bluebird-parallel: 103 ms.
full Bluebird-parallel: 309 ms.
regular Wikipedia: 135 ms.
init Wikipedia: 235 ms.
full Wikipedia: 606 ms.
regular
init
full
regular
init
full
Node 22.11.0
regular Bluebird-doxbee: 42 ms.
init Bluebird-doxbee: 69 ms.
full Bluebird-doxbee: 162 ms.
regular Bluebird-parallel: 55 ms.
init Bluebird-parallel: 91 ms.
full Bluebird-parallel: 283 ms.
regular Wikipedia: 126 ms.
init Wikipedia: 249 ms.
full Wikipedia: 606 ms.
regular
init
full
regular
init
full
Metadata
Metadata
Assignees
Labels
No labels