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

Issue 2772773004: Separate module instantiate counter for asm and wasm. (Closed)

Created:
3 years, 9 months ago by kschimpf
Modified:
3 years, 9 months ago
CC:
v8-reviews_googlegroups.com, wasm-v8_google.com
Target Ref:
refs/heads/master
Project:
v8
Visibility:
Public.

Description

Separate module instantiate counter for asm and wasm. Currently, v8 uses the same flag to collect time for instantiating wasm modules from js asm and wasm. This separates the v8 counter into two separate counters, and then uses the appropriate counter when instantiating a module. BUG=chromium:704922 R=aseemgarg@chromium.org,bradnelson@chromium.org,bbudge@chromium.org Review-Url: https://codereview.chromium.org/2772773004 Cr-Commit-Position: refs/heads/master@{#44122} Committed: https://chromium.googlesource.com/v8/v8/+/c7ec5bf414023242e03a5118c808844164e86542

Patch Set 1 #

Patch Set 2 : Fix switch default fallthru. #

Total comments: 5

Patch Set 3 : Simplify use of scope. #

Total comments: 2

Patch Set 4 : Simplify code back to previous form #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -2 lines) Patch
M src/counters.h View 1 chunk +4 lines, -1 line 2 comments Download
M src/wasm/wasm-module.cc View 1 2 3 1 chunk +4 lines, -1 line 1 comment Download

Messages

Total messages: 48 (37 generated)
Karl
3 years, 9 months ago (2017-03-23 20:39:00 UTC) #5
aseemgarg
lgtm
3 years, 9 months ago (2017-03-23 21:45:58 UTC) #18
bbudge
https://codereview.chromium.org/2772773004/diff/20001/src/counters.h File src/counters.h (right): https://codereview.chromium.org/2772773004/diff/20001/src/counters.h#newcode961 src/counters.h:961: HT(wasm_instantiate_wasm_module_time, V8.WasmInstantiateModuleMicroSeconds, \ It seems strange to me to ...
3 years, 9 months ago (2017-03-23 22:04:58 UTC) #19
bbudge
https://codereview.chromium.org/2772773004/diff/20001/src/wasm/wasm-module.cc File src/wasm/wasm-module.cc (right): https://codereview.chromium.org/2772773004/diff/20001/src/wasm/wasm-module.cc#newcode1165 src/wasm/wasm-module.cc:1165: } On 2017/03/23 22:04:58, bbudge wrote: > Why not ...
3 years, 9 months ago (2017-03-23 22:14:48 UTC) #20
bbudge
https://codereview.chromium.org/2772773004/diff/40001/src/wasm/wasm-module.cc File src/wasm/wasm-module.cc (right): https://codereview.chromium.org/2772773004/diff/40001/src/wasm/wasm-module.cc#newcode1161 src/wasm/wasm-module.cc:1161: return BuildInstance(); Now that there's only a single call, ...
3 years, 9 months ago (2017-03-23 22:43:59 UTC) #23
Karl
https://codereview.chromium.org/2772773004/diff/20001/src/counters.h File src/counters.h (right): https://codereview.chromium.org/2772773004/diff/20001/src/counters.h#newcode961 src/counters.h:961: HT(wasm_instantiate_wasm_module_time, V8.WasmInstantiateModuleMicroSeconds, \ On 2017/03/23 22:04:58, bbudge wrote: > ...
3 years, 9 months ago (2017-03-24 16:49:19 UTC) #33
bradnelson
https://codereview.chromium.org/2772773004/diff/60001/src/counters.h File src/counters.h (right): https://codereview.chromium.org/2772773004/diff/60001/src/counters.h#newcode959 src/counters.h:959: HT(wasm_instantiate_asm_module_time, V8.WasmInstantiateModuleMicroSeconds, \ You need to make up separate ...
3 years, 9 months ago (2017-03-24 17:25:10 UTC) #34
bradnelson
lgtm https://codereview.chromium.org/2772773004/diff/60001/src/counters.h File src/counters.h (right): https://codereview.chromium.org/2772773004/diff/60001/src/counters.h#newcode959 src/counters.h:959: HT(wasm_instantiate_asm_module_time, V8.WasmInstantiateModuleMicroSeconds, \ On 2017/03/24 17:25:10, bradnelson wrote: ...
3 years, 9 months ago (2017-03-24 17:33:14 UTC) #37
bbudge
Thanks Karl, lgtm
3 years, 9 months ago (2017-03-24 18:39:21 UTC) #42
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/2772773004/60001
3 years, 9 months ago (2017-03-24 18:45:18 UTC) #45
commit-bot: I haz the power
3 years, 9 months ago (2017-03-24 18:47:03 UTC) #48
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/v8/v8/+/c7ec5bf414023242e03a5118c808844164e...

Powered by Google App Engine
This is Rietveld 408576698