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

Issue 502353002: Move WebSocket masking benchmarks to net_perftests (Closed)

Created:
6 years, 3 months ago by Adam Rice
Modified:
6 years, 3 months ago
CC:
chromium-reviews, cbentzel+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Move WebSocket masking benchmarks to net_perftests Previously WebSocketFrameTestMaskBenchmark.* were included in net_unittests (with a small number of iterations to avoid slowing down testing). Move them to net_perftests. Also remove the command-line option to control the number of iterations, and use the standard base::PerfTimeLogger output instead of custom logging. BUG=407445 TEST=net_unittests, net_perftests Committed: https://crrev.com/b2ab006098714c5b96b2c816b9e969f38bad3825 Cr-Commit-Position: refs/heads/master@{#292856}

Patch Set 1 #

Patch Set 2 : Fix compile on iOS. #

Total comments: 2

Patch Set 3 : Use vector<char> instead of scoped_ptr<char[]> #

Total comments: 3

Patch Set 4 : Remove confusing comment from net.gyp #

Patch Set 5 : Fix indentation in net.gyp. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+70 lines, -73 lines) Patch
M net/net.gyp View 1 2 3 4 2 chunks +6 lines, -0 lines 0 comments Download
M net/websockets/README View 2 chunks +2 lines, -1 line 0 comments Download
A net/websockets/websocket_frame_perftest.cc View 1 2 1 chunk +58 lines, -0 lines 0 comments Download
M net/websockets/websocket_frame_test.cc View 3 chunks +4 lines, -72 lines 0 comments Download

Messages

Total messages: 15 (1 generated)
Adam Rice
ricea@chromium.org changed reviewers: + yhirano@chromium.org
6 years, 3 months ago (2014-08-27 06:55:27 UTC) #1
Adam Rice
6 years, 3 months ago (2014-08-27 06:55:27 UTC) #2
yhirano
https://codereview.chromium.org/502353002/diff/20001/net/websockets/websocket_frame_perftest.cc File net/websockets/websocket_frame_perftest.cc (right): https://codereview.chromium.org/502353002/diff/20001/net/websockets/websocket_frame_perftest.cc#newcode53 net/websockets/websocket_frame_perftest.cc:53: scoped_ptr<char[]> payload(new char[kLongPayloadSize]); How about using std::vector<char> payload(kLongPayloadSize, 'a') ...
6 years, 3 months ago (2014-08-27 07:22:33 UTC) #3
Adam Rice
https://codereview.chromium.org/502353002/diff/20001/net/websockets/websocket_frame_perftest.cc File net/websockets/websocket_frame_perftest.cc (right): https://codereview.chromium.org/502353002/diff/20001/net/websockets/websocket_frame_perftest.cc#newcode53 net/websockets/websocket_frame_perftest.cc:53: scoped_ptr<char[]> payload(new char[kLongPayloadSize]); On 2014/08/27 07:22:33, yhirano wrote: > ...
6 years, 3 months ago (2014-08-27 07:39:42 UTC) #4
yhirano
lgtm
6 years, 3 months ago (2014-08-27 07:53:24 UTC) #5
Adam Rice
ricea@chromium.org changed reviewers: + rvargas@chromium.org
6 years, 3 months ago (2014-08-28 02:24:17 UTC) #6
Adam Rice
+rvargas Sorry for the trouble. PTAL.
6 years, 3 months ago (2014-08-28 02:24:17 UTC) #7
rvargas (doing something else)
lgtm after the nit, thanks! https://codereview.chromium.org/502353002/diff/40001/net/net.gyp File net/net.gyp (right): https://codereview.chromium.org/502353002/diff/40001/net/net.gyp#newcode881 net/net.gyp:881: # The websockets/ directory ...
6 years, 3 months ago (2014-08-28 17:59:30 UTC) #8
Adam Rice
https://codereview.chromium.org/502353002/diff/40001/net/net.gyp File net/net.gyp (right): https://codereview.chromium.org/502353002/diff/40001/net/net.gyp#newcode881 net/net.gyp:881: # The websockets/ directory is not compiled in on ...
6 years, 3 months ago (2014-08-29 17:24:19 UTC) #9
rvargas (doing something else)
Thanks https://codereview.chromium.org/502353002/diff/40001/net/net.gyp File net/net.gyp (right): https://codereview.chromium.org/502353002/diff/40001/net/net.gyp#newcode881 net/net.gyp:881: # The websockets/ directory is not compiled in ...
6 years, 3 months ago (2014-08-29 18:27:16 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ricea@chromium.org/502353002/80001
6 years, 3 months ago (2014-09-01 08:09:52 UTC) #12
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_dbg_tests_recipe on tryserver.chromium.linux ...
6 years, 3 months ago (2014-09-01 09:04:56 UTC) #13
commit-bot: I haz the power
Committed patchset #5 (id:80001) as dea9ed7407958c5c46d660024bcef167fe1aca01
6 years, 3 months ago (2014-09-01 10:00:53 UTC) #14
commit-bot: I haz the power
6 years, 3 months ago (2014-09-10 03:16:19 UTC) #15
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/b2ab006098714c5b96b2c816b9e969f38bad3825
Cr-Commit-Position: refs/heads/master@{#292856}

Powered by Google App Engine
This is Rietveld 408576698