Bug 532190 - XMLWriter - Unbuffered writing
Summary: XMLWriter - Unbuffered writing
Status: CLOSED FIXED
Alias: None
Product: Equinox
Classification: Eclipse Project
Component: p2 (show other bugs)
Version: 4.8.0 Photon   Edit
Hardware: PC Mac OS X
: P3 normal (vote)
Target Milestone: Photon M6   Edit
Assignee: P2 Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: performance
Depends on:
Blocks:
 
Reported: 2018-03-08 11:35 EST by Karsten Thoms CLA
Modified: 2018-03-08 13:15 EST (History)
1 user (show)

See Also:


Attachments
Screenshot: Profiler (998.07 KB, image/png)
2018-03-08 11:35 EST, Karsten Thoms CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Karsten Thoms CLA 2018-03-08 11:35:37 EST
Created attachment 273042 [details]
Screenshot: Profiler

I took a profile snapshot while performing Help / Check for Updates and updating my developer IDE.

There is a hot spot in writing to XMLWriter while saving in 
- SimpleArtifactRepositoryIO#write
- ProfileWriter#writeProfile

The XMLWriter uses a PrintWriter without buffering. It likely improves speed when wrapping it into a BufferedWriter.
Comment 1 Eclipse Genie CLA 2018-03-08 11:42:42 EST
New Gerrit change created: https://git.eclipse.org/r/119025