New issue
Advanced search Search tips

Issue 866915 link

Starred by 1 user

Issue metadata

Status: Assigned
Owner:
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 2
Type: Bug



Sign in to add a comment

DevTools performance monitor 'Documents' count inconsistent with # documents on heap (using iframe)

Reported by alan.rew...@gmail.com, Jul 24

Issue description

UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.99 Safari/537.36

Steps to reproduce the problem:
1. Open the sample attached file chromeTest.html (relies on the other 2 attached files being in same folder)
2. Force garbage collection. Perf monitor gives Documents: 4
3. Take heap snapshot.
4. Click the button labelled "Click to reload iframe" on the sample HTML page.
5. Force garbage collection. Perf monitor gives Documents: 5
6. Take heap snapshot.
7. Even though perf monitor says number of documents went up by 1 (from 4 to 5) the number of 'Document' objects on the heap stays the same (as does the number of 'HTMLDocument' objects. You can compare the 2 heap snapshots and the 'delta' column in the summary is zero for both these types of object. So it looks like perf monitor isn't keeping count of the number of documents correctly.

What is the expected behavior?
The performance monitor number of documents should be consistent with the number of 'Document' objects in the heap (or at least shouldn't increase if the number on the heap doesn't increase).

What went wrong?
The performance monitor shows an increasing documents count even though the number of documents on the heap stays the same.

Did this work before? N/A 

Chrome version: 70.0.3501.0 (Official Build) canary (64-bit)  Channel: canary
OS Version: 10.0
Flash Version: 

Please ask if you need more info or diagnostics.
 
chromeTest.html
716 bytes View Download
testContent1.html
41 bytes View Download
testContent2.html
41 bytes View Download
Labels: Needs-Triage-M70
Components: -Platform>DevTools Platform>DevTools>Performance
Owner: alph@chromium.org
Status: Assigned (was: Unconfirmed)

Sign in to add a comment