-
-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to know that ramdisk is being used? #9
Comments
You'd have to watch I/o on the virtual disk. If you're not already using memory-fs, and you're outputting to a regular file location on a physical disk, and using ramdisk no longer outputs to that physical disk, you could be fairly certain the virtual disk is being used. It's rare but there are some situations where it may not make much of a difference. |
The normal filesystem cache writes to Using the filesystem cache pretty much cuts my build time in half, so I'm pretty confident ramdisk would make a larger impact. But from what you're saying doesn't sound conclusive it's being used at all. Tried also only including ramdisk and no filesystem cache, and that didn't seem to really do anything to build times (maybe 5s off?). |
Earlier was only including ramdisk into my
|
Sounds like you have a setting that's overriding the ramdisk plugin's behavior. |
Any idea what that could be? If it's within the webpack config versus something inside of
Which doesn't seem like it'd be overriding behavior. So my guess would be it's something within Electron itself. |
So for my Electron project I'm also using the filesystem cache with the following:
I don't have output/path set in my webpack rules. During the build step I see the following:
But ramdisk didn't seem to make any different at all to build times.
Is there a way for me to verify it's being used? I do see the Volume mounted, but I don't know if it's being read.
The text was updated successfully, but these errors were encountered: