Closed sebastianrath closed 2 years ago
Here we use the crypto module to calculate the content of a file.
crypto
https://github.com/Snowtrack/SnowFS/blob/4a2bfbdb352af1578fbf96c87d5d522e1c376f48/src/common.ts#L74-L90
It turns out that the standalone executable of SnowFS executes the update function faster than in Snowtrack, which means something is fishy here.
SnowFS
update
Furthermore you see a close-up of the update call here: Around 2.49ms per call.
If I execute the same function on the same file inside Electron the overall graph looks very similar:
But different Electron versions show different runtimes. Instead of 2.5ms, both Electron versions are considerably slower:
Electron 8.5.5:
Electron 13.1.6:
I reported the issue also to Electron, see here.
Here we use the
crypto
module to calculate the content of a file.https://github.com/Snowtrack/SnowFS/blob/4a2bfbdb352af1578fbf96c87d5d522e1c376f48/src/common.ts#L74-L90
It turns out that the standalone executable of
SnowFS
executes theupdate
function faster than in Snowtrack, which means something is fishy here.1GB Commit Test
Furthermore you see a close-up of the
update
call here: Around 2.49ms per call.Actual Behavior
If I execute the same function on the same file inside Electron the overall graph looks very similar:
But different Electron versions show different runtimes. Instead of 2.5ms, both Electron versions are considerably slower:
Electron 8.5.5:
Electron 13.1.6:
I reported the issue also to Electron, see here.