Bug 185350 - [1.6][compiler] Code generation seems to be much slower than in 1.5 mode
Summary: [1.6][compiler] Code generation seems to be much slower than in 1.5 mode
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.3   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.4 M2   Edit
Assignee: Olivier Thomann CLA
QA Contact:
URL:
Whiteboard:
Keywords: performance
Depends on:
Blocks:
 
Reported: 2007-05-03 10:22 EDT by Olivier Thomann CLA
Modified: 2007-09-18 10:44 EDT (History)
5 users (show)

See Also:


Attachments
Proposed fix + updated regression tests (607.35 KB, patch)
2007-08-28 14:31 EDT, Olivier Thomann CLA
no flags Details | Diff
Updated local tests (1.38 KB, patch)
2007-08-28 14:31 EDT, Olivier Thomann CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Olivier Thomann CLA 2007-05-03 10:22:35 EDT
I compare recompiling the source of the compiler using 1.6 mode and 1.5 mode and the 1.6 mode is around 600ms slower.
Adding a static counter to record the time spent in the code generation, I could see that most of the difference is spent in the code generation.
This requires investigation.
Comment 1 Frederic Fusier CLA 2007-05-03 12:00:34 EDT
Maxime,

I think I remember that Philippe used some windows bat files to compare batch compiler performances against different VMs. Isn't it something we can use for this?
Comment 2 Maxime Daniel CLA 2007-05-04 02:08:45 EDT
I do not think this is about using various VMs, is it?
Comment 3 Olivier Thomann CLA 2007-08-28 14:31:10 EDT
Created attachment 77162 [details]
Proposed fix + updated regression tests
Comment 4 Olivier Thomann CLA 2007-08-28 14:31:36 EDT
Created attachment 77163 [details]
Updated local tests

Update for ConformTests
Comment 5 Olivier Thomann CLA 2007-08-28 14:32:19 EDT
This patch includes the fix for bug 182359
Comment 6 Olivier Thomann CLA 2007-08-31 15:41:00 EDT
Released for 3.4M2.
To verify, an improvement should be noticeable in the performance tests if one test is checking the 1.6 code generation.
Comment 7 David Audel CLA 2007-09-18 10:44:58 EDT
Verified for 3.4M2