Closed
Bug 449130
Opened 17 years ago
Closed 17 years ago
consider forcing -O2 for lcms on all platforms
Categories
(Core :: Graphics: Color Management, defect)
Core
Graphics: Color Management
Tracking
()
RESOLVED
FIXED
People
(Reporter: bholley, Assigned: bholley)
References
Details
Attachments
(1 file, 1 obsolete file)
|
683 bytes,
patch
|
vlad
:
review+
|
Details | Diff | Splinter Review |
right now mac builds lcms with -O2, win32 builds with -O1, and linux builds with -Os. I'm running perf numbers to see if there's a benefit to forcing -O2 on any platform.
| Assignee | ||
Comment 2•17 years ago
|
||
This looks like a win. I just got the numbers back from the tryserver. Using the numbers I got on tuesday as a reference, we get 553->520 on linux, 607->597 on windows, and 358->358 on mac (this gives me some confidence in the numbers, since this patch should have zero effect on mac).
One thing to determine is how much effect this patch will have after precaching (presumably, most of the wins could be in code that became non-critical with that patch). I'm putting that on the tryserver now.
| Assignee | ||
Comment 3•17 years ago
|
||
The results with precaching are less exciting. We get 335->334 on mac, 490->488 on linux, and 498->495 on windows. To me this suggests that most of the perf win was in the linear interpolation, which is no longer on the critical path. Still, I think it's probably a good thing to have overall, though I could easily be persuaded otherwise. Flagging vlad for review.
Attachment #332407 -
Flags: review?(vladimir)
Comment on attachment 332407 [details] [diff] [review]
proposed patch to force lcms to build -O2 on all platforms
You just need it in the src dir, not in lcms/Makefile.in or lcms/include/Makefile.in ... Also, put the MODULE_OPTIMIZE_FLAGS much later in the makefile, probably right before REQUIRES.
Attachment #332407 -
Flags: review?(vladimir) → review-
| Assignee | ||
Comment 5•17 years ago
|
||
updated patch
Attachment #332407 -
Attachment is obsolete: true
Attachment #332789 -
Flags: review?(vladimir)
Attachment #332789 -
Flags: review?(vladimir) → review+
| Assignee | ||
Comment 6•17 years ago
|
||
perf numbers look good even with other optimizations. flagging checkin-needed.
Keywords: checkin-needed
| Assignee | ||
Comment 7•17 years ago
|
||
pushed in fb356c4d33a1
Updated•17 years ago
|
Product: Core → Core Graveyard
| Assignee | ||
Updated•17 years ago
|
Component: GFX → GFX: Color Management
Product: Core Graveyard → Core
QA Contact: general → color-management
You need to log in
before you can comment on or make changes to this bug.
Description
•