Hi Thomas,
I use ram disks quite often on linux, expectation wise: if you already
have a NVMe drive you will rarely see any noteworthy speedup.
So I use them for tasks i would have typically used /tmp before. For
example a clone/build/run script for PR reviews. The advantage there is
that ram disks can be instantly wiped for the next PR.
Before trying anything I would do a simple benchmark, clone (or copy,
obviously don't move!) your whole project into a ramdisk and check if
you see any difference during a build. Moving only your output folders
into a ram disk realistically won't do much most likely - but at least
you know what you might expect as best case scenario.
regards,
-mbien
On 05.11.24 18:37, Thomas Wolf wrote:
Hi,
macOS makes it really easy to create a RAM disk, so I thought it might
be interesting to see what kind of build speed improvements I'd see by
letting Netbeans use it for its build artifacts - i.e. the build/ and
dist/ directories within a Netbeans project directory. Is there a way
to do this from within the Netbeans GUI or do I need to hand-edit one
of the nbproject config files (if so, where is it? I'm not familiar
with those files)? I didn't see anything in the GUI project
"properties" screen.
In case anyone's interested - here's how you can create a 2GB RAM disk:
diskutil erasevolume HFS+ "RAMDisk" `hdiutil attach -nomount
ram://4194304` <ram://4194304%60>
Thanks for all info,
Tom
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists