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

Issue 1288773003: SSE2 Optimization for ParamEvent::SetTarget (Closed)

Created:
5 years, 4 months ago by adrian.belgun
Modified:
5 years, 4 months ago
CC:
blink-reviews
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

SSE2 Optimization for ParamEvent::SetTarget Optimized with SSE2 and obtained 4.37x speedup. Standard: 2.900553 seconds SSE2 (fp32): 0.662973 seconds Speedup (fp32): 4.375067 Due to multiple multiplications with a small discreteTimeConstant, some divergences appear versus the serialized version. Test adjusted accordingly. BUG=512376 TEST=Run webaudio/audioparam-setTargetAtTime.html Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=200726

Patch Set 1 #

Total comments: 7

Patch Set 2 : Added extra comments. #

Total comments: 2

Patch Set 3 : Calculate constants using Horner's rule. #

Patch Set 4 : Added missing header. #

Patch Set 5 : Include SSE2 header only on x86/x86_64. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+38 lines, -1 line) Patch
M LayoutTests/webaudio/audioparam-setTargetAtTime.html View 1 chunk +1 line, -1 line 0 comments Download
M Source/modules/webaudio/AudioParamTimeline.cpp View 1 2 3 4 2 chunks +37 lines, -0 lines 0 comments Download

Messages

Total messages: 23 (8 generated)
adrian.belgun
rtoy@chromium.org: Please review changes in Source/modules/webaudio/AudioParamTimeline.cpp Could you please recommend a reviewer for the test? ...
5 years, 4 months ago (2015-08-13 09:27:13 UTC) #2
Raymond Toy
On 2015/08/13 09:27:13, adrian.belgun wrote: > mailto:rtoy@chromium.org: Please review changes in > Source/modules/webaudio/AudioParamTimeline.cpp > > ...
5 years, 4 months ago (2015-08-13 15:36:02 UTC) #3
Raymond Toy
+hongchan@: FYI
5 years, 4 months ago (2015-08-13 15:36:24 UTC) #5
Raymond Toy
https://codereview.chromium.org/1288773003/diff/1/Source/modules/webaudio/AudioParamTimeline.cpp File Source/modules/webaudio/AudioParamTimeline.cpp (right): https://codereview.chromium.org/1288773003/diff/1/Source/modules/webaudio/AudioParamTimeline.cpp#newcode353 Source/modules/webaudio/AudioParamTimeline.cpp:353: // Necessary for unrolling.. As in the other panner ...
5 years, 4 months ago (2015-08-13 15:42:56 UTC) #6
adrian.belgun
Are you OK with this approach? I would like to also try to optimize other ...
5 years, 4 months ago (2015-08-14 07:49:21 UTC) #7
Raymond Toy
https://codereview.chromium.org/1288773003/diff/1/Source/modules/webaudio/AudioParamTimeline.cpp File Source/modules/webaudio/AudioParamTimeline.cpp (right): https://codereview.chromium.org/1288773003/diff/1/Source/modules/webaudio/AudioParamTimeline.cpp#newcode357 Source/modules/webaudio/AudioParamTimeline.cpp:357: const float c3 = 4 * c0 - 6 ...
5 years, 4 months ago (2015-08-14 16:00:03 UTC) #8
Raymond Toy
On 2015/08/14 07:49:21, adrian.belgun wrote: > Are you OK with this approach? I would like ...
5 years, 4 months ago (2015-08-14 16:00:43 UTC) #9
adrian.belgun
Updated new patch set addressing the issues below. https://codereview.chromium.org/1288773003/diff/1/Source/modules/webaudio/AudioParamTimeline.cpp File Source/modules/webaudio/AudioParamTimeline.cpp (right): https://codereview.chromium.org/1288773003/diff/1/Source/modules/webaudio/AudioParamTimeline.cpp#newcode357 Source/modules/webaudio/AudioParamTimeline.cpp:357: const ...
5 years, 4 months ago (2015-08-17 07:58:14 UTC) #10
Raymond Toy
lgtm. While it's unfortunate that the threshold had to be increased, I don't think it's ...
5 years, 4 months ago (2015-08-17 15:54:51 UTC) #11
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1288773003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1288773003/40001
5 years, 4 months ago (2015-08-18 10:02:36 UTC) #13
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: cast_shell_linux on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/cast_shell_linux/builds/43174) linux_chromium_gn_rel on ...
5 years, 4 months ago (2015-08-18 10:19:35 UTC) #15
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1288773003/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1288773003/80001
5 years, 4 months ago (2015-08-18 11:23:37 UTC) #17
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 4 months ago (2015-08-18 12:32:21 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1288773003/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1288773003/80001
5 years, 4 months ago (2015-08-18 12:42:12 UTC) #22
commit-bot: I haz the power
5 years, 4 months ago (2015-08-18 12:47:01 UTC) #23
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=200726

Powered by Google App Engine
This is Rietveld 408576698