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

Issue 1866873002: [wasm] Adding metrics for Asm/Wasm. (Closed)

Created:
4 years, 8 months ago by bradnelson
Modified:
4 years, 8 months ago
CC:
Michael Hablich, seththompson, v8-reviews_googlegroups.com
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[wasm] Adding metrics for Asm/Wasm. Collecting: Time histograms for: instantiate, decode module, decode function, compile, compile function. Memory histograms for: decode peak, instantiate peak, compile function peak, min mem pages, max mem pages, function bytes, module bytes. Range histograms of: functions per module. BUG= https://code.google.com/p/v8/issues/detail?id=4203 BUG= https://bugs.chromium.org/p/chromium/issues/detail?id=575167 TEST=None R=ahaas@chromium.org,bmeurer@chromium.org LOG=N Committed: https://crrev.com/53bc649e8862935dc31acf88015d91fb1e2995e0 Cr-Commit-Position: refs/heads/master@{#35467}

Patch Set 1 #

Patch Set 2 : fix #

Patch Set 3 : fix #

Patch Set 4 : fix #

Total comments: 4

Patch Set 5 : fix #

Total comments: 6

Patch Set 6 : fix #

Patch Set 7 : fix #

Patch Set 8 : fix #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+143 lines, -94 lines) Patch
M src/compiler/wasm-compiler.cc View 1 2 3 4 5 6 7 2 chunks +5 lines, -0 lines 0 comments Download
M src/counters.h View 1 2 3 4 5 6 7 5 chunks +26 lines, -9 lines 1 comment Download
M src/wasm/module-decoder.cc View 1 2 3 4 5 6 7 2 chunks +15 lines, -2 lines 0 comments Download
M src/wasm/wasm-module.cc View 1 2 3 4 5 6 4 chunks +91 lines, -75 lines 0 comments Download
M test/unittests/wasm/module-decoder-unittest.cc View 1 4 chunks +6 lines, -8 lines 0 comments Download

Messages

Total messages: 24 (11 generated)
bradn
4 years, 8 months ago (2016-04-08 19:36:57 UTC) #4
ahaas
https://codereview.chromium.org/1866873002/diff/60001/src/wasm/wasm-js.cc File src/wasm/wasm-js.cc (right): https://codereview.chromium.org/1866873002/diff/60001/src/wasm/wasm-js.cc#newcode199 src/wasm/wasm-js.cc:199: static_cast<int>(zone.allocation_size())); What exactly do you want to measure with ...
4 years, 8 months ago (2016-04-11 08:03:08 UTC) #5
bradn
https://codereview.chromium.org/1866873002/diff/60001/src/wasm/wasm-js.cc File src/wasm/wasm-js.cc (right): https://codereview.chromium.org/1866873002/diff/60001/src/wasm/wasm-js.cc#newcode199 src/wasm/wasm-js.cc:199: static_cast<int>(zone.allocation_size())); On 2016/04/11 08:03:08, ahaas wrote: > What exactly ...
4 years, 8 months ago (2016-04-13 00:22:45 UTC) #6
ahaas
On 2016/04/13 at 00:22:45, bradnelson wrote: > https://codereview.chromium.org/1866873002/diff/60001/src/wasm/wasm-js.cc > File src/wasm/wasm-js.cc (right): > > https://codereview.chromium.org/1866873002/diff/60001/src/wasm/wasm-js.cc#newcode199 ...
4 years, 8 months ago (2016-04-13 14:53:38 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1866873002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1866873002/80001
4 years, 8 months ago (2016-04-13 14:56:29 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: v8_presubmit on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_presubmit/builds/13577)
4 years, 8 months ago (2016-04-13 15:00:00 UTC) #11
Mircea Trofin
LGTM for the compiler part, with nits + a comment. https://codereview.chromium.org/1866873002/diff/80001/src/compiler/wasm-compiler.cc File src/compiler/wasm-compiler.cc (right): https://codereview.chromium.org/1866873002/diff/80001/src/compiler/wasm-compiler.cc#newcode2785 ...
4 years, 8 months ago (2016-04-13 17:51:25 UTC) #13
bradnelson
https://codereview.chromium.org/1866873002/diff/80001/src/compiler/wasm-compiler.cc File src/compiler/wasm-compiler.cc (right): https://codereview.chromium.org/1866873002/diff/80001/src/compiler/wasm-compiler.cc#newcode2785 src/compiler/wasm-compiler.cc:2785: isolate->counters()->wasm_compile_function_peak_memory()->AddSample( On 2016/04/13 17:51:25, Mircea Trofin wrote: > I'm ...
4 years, 8 months ago (2016-04-14 07:05:22 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1866873002/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1866873002/140001
4 years, 8 months ago (2016-04-14 07:10:08 UTC) #17
commit-bot: I haz the power
Committed patchset #8 (id:140001)
4 years, 8 months ago (2016-04-14 07:28:27 UTC) #19
commit-bot: I haz the power
Patchset 8 (id:??) landed as https://crrev.com/53bc649e8862935dc31acf88015d91fb1e2995e0 Cr-Commit-Position: refs/heads/master@{#35467}
4 years, 8 months ago (2016-04-14 07:30:26 UTC) #21
Ilya Sherman
https://codereview.chromium.org/1866873002/diff/140001/src/counters.h File src/counters.h (right): https://codereview.chromium.org/1866873002/diff/140001/src/counters.h#newcode593 src/counters.h:593: HR(wasm_functions_per_module, V8.WasmFunctionsPerModule, 0, 10000, 101) Hmm, do you really ...
4 years, 8 months ago (2016-04-14 21:20:11 UTC) #23
bradn
4 years, 8 months ago (2016-04-19 04:14:18 UTC) #24
Message was sent while issue was closed.
No particular reason. Cargo cult from the ones above.
Sorry about that. Should have checked with you guys first.
Sending a CL to reduce.

Powered by Google App Engine
This is Rietveld 408576698