Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 125135

Summary: Performance peek when saving a file
Product: [Eclipse Project] Platform Reporter: Dirk Baeumer <dirk_baeumer>
Component: TeamAssignee: Michael Valenta <Michael.Valenta>
Status: RESOLVED FIXED QA Contact:
Severity: major    
Priority: P3 CC: daniel_megert
Version: 3.2   
Target Milestone: 3.2 M5   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
The HTML trace none

Description Dirk Baeumer CLA 2006-01-25 04:35:22 EST
I20060119-0800

When saving a file (even if I only add a blank to it) I see a CPU consumption of 100% for about 1 - 2 sec on my machine. From the performance snapshot I took it looks like the problem happens in Subscriber#accept. I will attach a HTML version of the snapshot. If you need the "live" snapshot, please let me know.
Comment 1 Dirk Baeumer CLA 2006-01-25 04:35:51 EST
Created attachment 33580 [details]
The HTML trace
Comment 2 Michael Valenta CLA 2006-01-25 06:54:42 EST
A return statement was missing for the dirty calculation so we were doing a bunch of extra work. Fix released to today's I-build.