Community
Participate
Working Groups
F2 The update manager takes a long time to download features. This is especially noticeable when the update site is on the machine's local disk, meaning that network speed is not a factor. A quick look at the code shows some low-hanging fruit: - Increase the size of the internal buffer used when copying files. org.eclipse.update.core.Utilities.BUFFER_SIZE is current only 4KB bytes; increasing it to something like 256KB will make it possible to slurp files in large chunks. - Use BufferedOutputSteams for writing files. org.eclipse.update.core.FeatureContentProvider.asLocalReference creates a FileOutputStream for making a local copy, and this would likely benefit from being buffered.
F3 candidate
change in 2.0.2 stream
Change doesn't seem to improve speed at first glance. need to profile it but simple date outuput shows it may even be slower... Leave changed code. need to profile.
suggestion implemented. Further performance improvements should be done under a different defect.