Closed Bug 146342 Opened 24 years ago Closed 24 years ago

forte switches optimize on solaris

Categories

(SeaMonkey :: General, defect)

Sun
Solaris
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: yuedongd, Assigned: yuedongd)

References

Details

(Keywords: perf)

Attachments

(1 file)

Research on optimization of forte on solaris.
Blocks: 146111
Keywords: perf
Summary: forte switches optimize on solaris → forte switches optimize on solaris
There is really work needed to do. Change the status to "New".
Status: UNCONFIRMED → NEW
Ever confirmed: true
Attached file ziped html files —
Test show some combination of swithes give about 10% improvement. attached is the result of 3 test cases: new window, page load and javascript.
mozilla starts, but then aborts immediately with this message: Gdk-WARNING **: gdk_font is NULL or not a fontset. Bus Error How do I make these fonts available? I have the following line in my run-mozilla.sh in order to set the LD_LIBRARY_PATH: LD_LIBRARY_PATH=/opt/TWWfsw/glib12/lib:/opt/TWWfsw/gcc29r/lib:/opt/TWWfsw/gtk+12/lib:${MOZ_DIST_BIN}:${MOZ_DIST_BIN}/plugins${LD_LIBRARY_PATH+":$LD_LIBRARY_PATH"}
I attached the gtk/glib 1.2.6. The binary is built on gtk/glib 1.2.6. The problem is very likely to be you are using a different version of lib. It's my fault. Please download the attachment, and untar it. Then set LD_LIBRARY_PATH to include the lib path before your glib/gtk path. It should be ok. But if there are still problems, please send us follow info: uname -a gtk/glib version Thanks a lot
Sorry, attach failed because the attatchment is too large(6M). I will ask endico help to upload the gtk/glib.
the gtk/glib 1.2.6 is uploaded: ftp://ftp.mozilla.org/pub/mozilla/nightly/experimental/bug-146342/lib.tar.gz You can download and untar it. Then set you LD_LIBRARY_PATH to include the untared lib path. Thanks
The optimized build has passed our QA test, no bugs is introduced by use build optimize steps below. And it also show some improvement(about 7% for mozilla, and 5% for netscape,both for solaris). The build process is: 1.In the environment set FLAGS="-xO5 -xlibmil" CXXFLAGS="-xO5 -xlibmil -xlibmopt" 2.Configure, and don't use '--enable-optimize' as configure parameters, use other parameters as usual. Because '--enable-optimize' when 'configure'will generate -O, which is conflict with -xO5. 3.The lefted build steps are as normal.
The bug is resolved.
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
The comparation of iBench test result of new build to normal build are paste below. It include 3 testcase: javascript, pageload and new window. The test environment: sun blade 100, solaris 8, forte 6u2. std stand for mozilla build by using standard configure and build process. And opt stand for mozilla build by using configure and build process pasted above. java script:(ms) std 32.73 opt 29.27 page load:(s) std 117.01 opt 106.15 new windows (ms) std 1077 opt 987
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: