-
Bug
-
Resolution: Unresolved
-
P4
-
None
-
None
-
None
org.openjdk.skara.process.Execution is currently implemented using file I/O. For every execution, two files are created: one to capture STDOUT and another one to capture STDERR. While such an approach is simple, it's not particularly performant and risks leaving many unattended temporary files.
During a local test run, 283,756 files are created, written to, read, and deleted. A preliminary, ad-hoc testing suggests that changing file I/O to virtual threads saves some 15 seconds of runtime for a local test run.
During a local test run, 283,756 files are created, written to, read, and deleted. A preliminary, ad-hoc testing suggests that changing file I/O to virtual threads saves some 15 seconds of runtime for a local test run.