Community
Participate
Working Groups
Created attachment 189765 [details] patch for HEAD I may miss something obvious, but I think AdaptorUtil#readFile could use a buffered output stream, which should enhance performance when writing big files. This method seems to be called often by the framework, through org.eclipse.osgi.baseadaptor.bundlefile.ZipBundleFile.
It is already using a 1KB buffer for writing, so an extra buffered stream isn't needed. Although for what it's worth, when I tested this in the past I found a larger buffer such as 4-8KB was much faster than a 1KB buffer, but that depends on the size of the file you're writing.
(In reply to comment #1) > It is already using a 1KB buffer for writing, so an extra buffered stream isn't > needed. Clearly see it today, sorry for the noise, missed something obvious.