Profiles don't include samples from inline modules |
|||
Issue descriptionUserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.39 Safari/537.36 Steps to reproduce the problem: 1. Do some work in an inline module (script/type=module) 2. Record a profile 3. Notice nothing in the flame chart or or profiles See a reproduction here: https://jsbin.com/cirijawoyu/1/edit?html,console,output What is the expected behavior? Samples in flame chart and profile aggregation What went wrong? No data appears Did this work before? No Chrome version: 61.0.3163.39 Channel: beta OS Version: OS X 10.12.5 Flash Version:
,
Aug 12 2017
Sorry, I got the association with inline modules wrong, the problem occurs still with external modules. The real issue is that samples aren't shown for code that executes in the first event loop for a script. Wrap the example in the jsbin in a setTimeout or microtask, and samples are visible.
,
Aug 13 2017
+marja who's started doing some modules benchmarking recently.
,
Oct 16 2017
,
Nov 16 2017
|
|||
►
Sign in to add a comment |
|||
Comment 1 by adamk@chromium.org
, Aug 12 2017Owner: kozyatinskiy@chromium.org
Status: Assigned (was: Unconfirmed)