Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(333)

Issue 11414284: Inline gfx::Vector2d* ctors and integer conversions (Closed)

Created:
8 years ago by jamesr
Modified:
8 years ago
Reviewers:
danakj, sky
CC:
chromium-reviews, cc-bugs_chromium.org
Visibility:
Public.

Description

Inline gfx::Vector2d* ctors and integer conversions This speeds up cc_perftests by 2.85%. 0.7% is from the vector constructors, the remainder is from inlining the safe_integer_conversion routines. BUG= Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=170775

Patch Set 1 #

Patch Set 2 : fix compile #

Unified diffs Side-by-side diffs Delta from patch set Stats (+43 lines, -75 lines) Patch
M ui/gfx/safe_integer_conversions.h View 1 1 chunk +39 lines, -5 lines 0 comments Download
D ui/gfx/safe_integer_conversions.cc View 1 chunk +0 lines, -49 lines 0 comments Download
M ui/gfx/vector2d.h View 1 chunk +2 lines, -2 lines 0 comments Download
M ui/gfx/vector2d.cc View 1 chunk +0 lines, -6 lines 0 comments Download
M ui/gfx/vector2d_f.h View 1 chunk +2 lines, -2 lines 0 comments Download
M ui/gfx/vector2d_f.cc View 1 chunk +0 lines, -10 lines 0 comments Download
M ui/ui.gyp View 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 9 (0 generated)
jamesr
More of the same, but a decent enough improvement to be worth it on my ...
8 years ago (2012-12-01 07:19:58 UTC) #1
danakj
LGTM How about Vector3dF?
8 years ago (2012-12-01 19:07:46 UTC) #2
danakj
On 2012/12/01 19:07:46, danakj wrote: > LGTM > > How about Vector3dF? Also, worth trying ...
8 years ago (2012-12-01 19:09:11 UTC) #3
jamesr
On 2012/12/01 19:09:11, danakj wrote: > On 2012/12/01 19:07:46, danakj wrote: > > LGTM > ...
8 years ago (2012-12-01 19:44:41 UTC) #4
danakj
On 2012/12/01 19:44:41, jamesr wrote: > On 2012/12/01 19:09:11, danakj wrote: > > On 2012/12/01 ...
8 years ago (2012-12-01 20:00:18 UTC) #5
sky
LGTM
8 years ago (2012-12-03 15:45:39 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jamesr@chromium.org/11414284/6002
8 years ago (2012-12-03 17:37:37 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jamesr@chromium.org/11414284/6002
8 years ago (2012-12-03 18:51:29 UTC) #8
commit-bot: I haz the power
8 years ago (2012-12-03 19:04:11 UTC) #9
Message was sent while issue was closed.
Change committed as 170775

Powered by Google App Engine
This is Rietveld 408576698