Bug 4800 - Timings vs. Sun JDK on image loading/creation/drawing (1GIVMG8)
Summary: Timings vs. Sun JDK on image loading/creation/drawing (1GIVMG8)
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 2.0   Edit
Hardware: All Windows All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Silenio Quarti CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-10-11 14:23 EDT by Mike Wilson CLA
Modified: 2008-04-12 15:35 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Wilson CLA 2001-10-11 14:23:13 EDT
PJM (8/22/2001 4:14:57 PM)
	David Whiteman did a few tests timing image related stuff between JDK 
AWT, our AWT, and 
	SWT.  
NOTES:

PJM (8/22/2001 4:17:48 PM)
	Andrew Sandstrom did some looking at AOT'ing and JIT'ing bits and 
pieces.  Here are
	the relevant notes:

        Using a pretty vanilla Smartlinker feedback  directed optimization loop 
I can get about the 
        same performance (1.8-1.9 sec) and ony 53K bigger.

        Here is what you can do.

        Run the app once with the following option:

        -Xrunslprof:fn=D:\SmartlinkerProfiling\out,of=xml,pm=cpu,sp=1,st=true

        Then add the following options to your jxeLinkOptions file:

        -cp D:\SmartlinkerProfiling\
        -feedbackProfile out
        -precompileByGain 100

        You can replace "D:\SmartlinkerProfiling" with any directory

        I tried different scenarios with running multiple times, profiling 
calls and adding 
        -inlineHotCallSites, etc, but I didn't get much benefit beyond the 
simple straightforward 
        approach.

        -Andrew

	MVM - (28/08/01 9:28:04 AM)
		We all know that AOT and JITing only helps on Win and AIX.  I 
would like to see 
		the C version personally, especially as SWT for Palm now uses 
some image loading etc.. and will not
		benefit from this, and is currently extremely slow due to this. 

	
Comment 1 DJ Houghton CLA 2001-10-29 16:39:30 EST
PRODUCT VERSION:

	SWT 2.002 Windows on NT 4.0

Comment 2 Mike Wilson CLA 2008-04-12 15:35:03 EDT
We have fixed numerous image performance issues over the years. I'm going to assume this has been fixed.