Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
beaconstudios
on March 3, 2021
|
parent
|
context
|
favorite
| on:
fs.promises.readFile is 40% slower than fs.readFil...
Not enough to add 40% overhead to a 1mb file read, I can tell you that much.
javajosh
on March 4, 2021
[–]
It depends. If disks got so fast that function call overhead starts to dominate, then you might see an effect like this. But I have to imagine reading from an SSD is still 1000x slower (at least) than a function invocation in Javascript.
beaconstudios
on March 4, 2021
|
parent
[–]
I don't see that basically ever being the case.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: