3 ms·
I would be surprised if console.log() made many more syscalls than process.stdout.write. More function calls probably but those aren't being counted and neither
by zamadatix 7y ago
I would be surprised if console.log() made many more syscalls than process.stdout.write. More function calls probably but those aren't being counted and neither is RAM usage. "strace" would let you count and find out though!
The size would be a few bytes larger since node is scripted and that's more characters.