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

Issue 227473005: Performance related change, Optimization for / and % operator. (Closed)

Created:
6 years, 8 months ago by h.joshi
Modified:
6 years, 8 months ago
CC:
blink-reviews, jamesr, krit, dsinclair, jbroman, danakj, Rik, Stephen Chennney, pdr., rwlbuis
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Performance related change, Optimization for / and % operator. Checked following links https://code.google.com/p/chromium/issues/detail?id=294671 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43721 Performance improvement was obtained, on average around 5% improvement is observed, some data from Performance test is following: ShapeOutsideRaster:Time Old: 533.72 ± 1.02% New: 504.91 ± 0.29% Performance: 5.40% Better ShapeOutsideRasterWithMargin:Time Old: 568.17 ± 1.47% New:532.16 ± 0.18% Performance: 6.34% Better ShapeOutsideSVGWithMargin:Time Old: 597.98 ± 1.24% New: 565.87 ± 0.29% Performance: 5.37% Better ShapeOutsideSimplePolygon:Time Old: 252.58 ± 3.69% New: 231.28 ± 0.36% Performance: 8.43% Better ShapeOutsideStackedPolygons:Time Old: 363.39 ± 2.44% New: 337.00 ± 0.24% Performance: 7.26% Better BUG= Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=171031

Patch Set 1 #

Total comments: 5

Patch Set 2 : Commet fixes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -4 lines) Patch
M Source/platform/fonts/GlyphPage.h View 1 1 chunk +3 lines, -2 lines 0 comments Download
M Source/platform/fonts/SimpleFontData.cpp View 1 1 chunk +3 lines, -2 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
h.joshi
This is patch in progress, from initial reading performance is improved Below is reading from ...
6 years, 8 months ago (2014-04-07 13:13:50 UTC) #1
jungshik at Google
https://codereview.chromium.org/227473005/diff/1/Source/platform/fonts/SimpleFontData.cpp File Source/platform/fonts/SimpleFontData.cpp (right): https://codereview.chromium.org/227473005/diff/1/Source/platform/fonts/SimpleFontData.cpp#newcode164 Source/platform/fonts/SimpleFontData.cpp:164: int val = character >> 8; Hmm... compiler was ...
6 years, 8 months ago (2014-04-07 17:13:57 UTC) #2
Stephen Chennney
It would be best if there were a nice way to define one number, say ...
6 years, 8 months ago (2014-04-07 18:02:49 UTC) #3
eseidel
Please give performance numbers in your CL description.
6 years, 8 months ago (2014-04-07 23:11:35 UTC) #4
hj
https://codereview.chromium.org/227473005/diff/1/Source/platform/fonts/SimpleFontData.cpp File Source/platform/fonts/SimpleFontData.cpp (right): https://codereview.chromium.org/227473005/diff/1/Source/platform/fonts/SimpleFontData.cpp#newcode164 Source/platform/fonts/SimpleFontData.cpp:164: int val = character >> 8; Okey, will make ...
6 years, 8 months ago (2014-04-08 02:56:50 UTC) #5
hj
Okey, will edit and update CL description On 2014/04/07 23:11:35, eseidel wrote: > Please give ...
6 years, 8 months ago (2014-04-08 02:57:32 UTC) #6
h.joshi
Patch with comment fixes, pls review. On 2014/04/08 02:57:32, hj wrote: > Okey, will edit ...
6 years, 8 months ago (2014-04-08 04:57:32 UTC) #7
eseidel
lgtm Thanks for linking to the gcc bug.
6 years, 8 months ago (2014-04-08 05:06:25 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/h.joshi@samsung.com/227473005/20001
6 years, 8 months ago (2014-04-08 05:06:28 UTC) #9
commit-bot: I haz the power
6 years, 8 months ago (2014-04-08 07:25:54 UTC) #10
Message was sent while issue was closed.
Change committed as 171031

Powered by Google App Engine
This is Rietveld 408576698