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

Issue 2821493002: bindings: Add performance test for JS->WebIDL sequence conversions. (Closed)

Created:
3 years, 8 months ago by Raphael Kubo da Costa (rakuco)
Modified:
3 years, 8 months ago
Reviewers:
haraken, bashi, Yuki
CC:
chromium-reviews, blink-reviews
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

bindings: Add performance test for JS->WebIDL sequence conversions. At the moment, we only test it with arrays, as we are still working on the code to convert arbitrary objects with an @@iterator property into sequences. BUG=685754 R=bashi@chromium.org,haraken@chromium.org,yukishiino@chromium.org Review-Url: https://codereview.chromium.org/2821493002 Cr-Commit-Position: refs/heads/master@{#465207} Committed: https://chromium.googlesource.com/chromium/src/+/d54885458b5fbe0ea6a3d9997457cef8e12243dd

Patch Set 1 #

Total comments: 3

Patch Set 2 : Push empty strings into the array #

Unified diffs Side-by-side diffs Delta from patch set Stats (+21 lines, -0 lines) Patch
A third_party/WebKit/PerformanceTests/Bindings/sequence-conversion-array.html View 1 1 chunk +21 lines, -0 lines 0 comments Download

Messages

Total messages: 24 (12 generated)
Raphael Kubo da Costa (rakuco)
PTAL. I also have another test for non-arrays, but it needs to land with https://codereview.chromium.org/2810843002 ...
3 years, 8 months ago (2017-04-13 17:35:54 UTC) #3
haraken
On 2017/04/13 17:35:54, Raphael Kubo da Costa (rakuco) wrote: > PTAL. > > I also ...
3 years, 8 months ago (2017-04-13 23:00:47 UTC) #6
bashi
lgtm but please wait for haraken@'s approval. On 2017/04/13 23:00:47, haraken wrote: > On 2017/04/13 ...
3 years, 8 months ago (2017-04-14 00:19:20 UTC) #7
Yuki
LGTM. https://codereview.chromium.org/2821493002/diff/1/third_party/WebKit/PerformanceTests/Bindings/sequence-conversion-array.html File third_party/WebKit/PerformanceTests/Bindings/sequence-conversion-array.html (right): https://codereview.chromium.org/2821493002/diff/1/third_party/WebKit/PerformanceTests/Bindings/sequence-conversion-array.html#newcode8 third_party/WebKit/PerformanceTests/Bindings/sequence-conversion-array.html:8: dataArray.push('abcdefg foo bar baz'); Will this v8::String be ...
3 years, 8 months ago (2017-04-14 07:50:44 UTC) #8
Raphael Kubo da Costa (rakuco)
On 2017/04/14 00:19:20, bashi wrote: > On 2017/04/13 23:00:47, haraken wrote: > > Just to ...
3 years, 8 months ago (2017-04-14 08:09:01 UTC) #9
Raphael Kubo da Costa (rakuco)
https://codereview.chromium.org/2821493002/diff/1/third_party/WebKit/PerformanceTests/Bindings/sequence-conversion-array.html File third_party/WebKit/PerformanceTests/Bindings/sequence-conversion-array.html (right): https://codereview.chromium.org/2821493002/diff/1/third_party/WebKit/PerformanceTests/Bindings/sequence-conversion-array.html#newcode8 third_party/WebKit/PerformanceTests/Bindings/sequence-conversion-array.html:8: dataArray.push('abcdefg foo bar baz'); On 2017/04/14 07:50:44, Yuki wrote: ...
3 years, 8 months ago (2017-04-14 08:09:10 UTC) #10
Yuki
https://codereview.chromium.org/2821493002/diff/1/third_party/WebKit/PerformanceTests/Bindings/sequence-conversion-array.html File third_party/WebKit/PerformanceTests/Bindings/sequence-conversion-array.html (right): https://codereview.chromium.org/2821493002/diff/1/third_party/WebKit/PerformanceTests/Bindings/sequence-conversion-array.html#newcode8 third_party/WebKit/PerformanceTests/Bindings/sequence-conversion-array.html:8: dataArray.push('abcdefg foo bar baz'); On 2017/04/14 08:09:10, Raphael Kubo ...
3 years, 8 months ago (2017-04-14 08:27:58 UTC) #11
Raphael Kubo da Costa (rakuco)
On 2017/04/14 08:27:58, Yuki wrote: > An empty string makes sense to me. Done. This ...
3 years, 8 months ago (2017-04-14 10:58:57 UTC) #12
haraken
On 2017/04/14 10:58:57, rakuco (OoO on the 17th) wrote: > On 2017/04/14 08:27:58, Yuki wrote: ...
3 years, 8 months ago (2017-04-14 19:03:35 UTC) #17
Raphael Kubo da Costa (rakuco)
Hmm, I tried using Headers here but the numbers went from 70k/second to ~30k/second, most ...
3 years, 8 months ago (2017-04-18 10:52:00 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2821493002/20001
3 years, 8 months ago (2017-04-18 10:52:22 UTC) #21
commit-bot: I haz the power
3 years, 8 months ago (2017-04-18 12:19:23 UTC) #24
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/d54885458b5fbe0ea6a3d9997457...

Powered by Google App Engine
This is Rietveld 408576698