Closed
Bug 1482052
Opened 7 years ago
Closed 7 years ago
Add more sources to custom damp test for the debugger
Categories
(DevTools :: Debugger, enhancement, P3)
DevTools
Debugger
Tracking
(firefox63 affected)
RESOLVED
FIXED
Firefox 63
| Tracking | Status | |
|---|---|---|
| firefox63 | --- | affected |
People
(Reporter: yulia, Assigned: yulia)
References
Details
Attachments
(1 file)
We recently introduced Lazy scripts to the debugger server, but we have not seen an impact on DAMP that we expected. This is likely due to the fact that none of our example tests have a sufficient number of files being loaded. We should add a large number of sources to the custom test and compare the results of this test to the revision before the lazy scripts landed in bug #1434305
| Assignee | ||
Comment 1•7 years ago
|
||
We do not have a test case in talos that has many files to be loaded on start. This change adds 100
files, each around 1000 lines long.
| Assignee | ||
Updated•7 years ago
|
Assignee: nobody → ystartsev
Comment 2•7 years ago
|
||
* Instead of having 100 distinct files (and increasing m-c repo size),
can we have only one and trick the engine by using query strings like this:
<script type="text/javascript" src="./js/test.js?id=1"></script>
<script type="text/javascript" src="./js/test.js?id=2"></script>
<script type="text/javascript" src="./js/test.js?id=3"></script>
...
* Can you attach links to perfherder compare pages?
* index.html would be more readable with `\n` after each `</script>`
* main.js and main.js.map have been renamed for some reason
| Assignee | ||
Comment 3•7 years ago
|
||
Changes have been made!
Before the lazy script work: https://treeherder.mozilla.org/#/jobs?repo=try&revision=11c3ececa5aa7ccbb731be8d771ff05d4ae09676
After the lazy script work: https://treeherder.mozilla.org/#/jobs?repo=try&revision=ca3fbe8b24c19b1cfa5cc0a9542ebf1377041306
Comparison between before and after: https://treeherder.mozilla.org/perf.html#/comparesubtest?originalProject=try&originalRevision=11c3ececa5aa7ccbb731be8d771ff05d4ae09676&newProject=try&newRevision=ca3fbe8b24c19b1cfa5cc0a9542ebf1377041306&originalSignature=f79b6a4f1f8f53326d3056f6c8008c0ff4de0a94&newSignature=f79b6a4f1f8f53326d3056f6c8008c0ff4de0a94&framework=1
Recent central: https://treeherder.mozilla.org/#/jobs?repo=try&revision=82853ef52634b1b35d7eeeb08a5ac2dad94b632f
Comparison between before and recent central: https://treeherder.mozilla.org/perf.html#/comparesubtest?originalProject=try&originalRevision=11c3ececa5aa7ccbb731be8d771ff05d4ae09676&newProject=try&newRevision=82853ef52634b1b35d7eeeb08a5ac2dad94b632f&originalSignature=f79b6a4f1f8f53326d3056f6c8008c0ff4de0a94&newSignature=f79b6a4f1f8f53326d3056f6c8008c0ff4de0a94&framework=1
| Assignee | ||
Comment 4•7 years ago
|
||
new try run just in case: https://treeherder.mozilla.org/#/jobs?repo=try&revision=e62ff23e57aa296048f22bf4344c3f8ccdfc9131
Comment 5•7 years ago
|
||
console.autocomplete is 2 times slower with this patch.
Could you investigate that?
It is obvious that custom.jsdebugger will be slower.
I can also understand that tests running after debugger will be slightly slower due to GC increase.
But making a 1s test become a 2s one is suspicious.
It would be interesting to request a profile and see if there is any stack traces related to the debugger happening during autocomplete test.
I requested a profile on try run:
https://treeherder.mozilla.org/#/jobs?repo=try&revision=82853ef52634b1b35d7eeeb08a5ac2dad94b632f&filter-searchStr=damp&selectedJob=193637294
Once it is done, it should be available in:
Linux x64 Nightly opt -- T-P-e10s(damp)
Also note that on this try run, you can see an intermittent failure:
PID 2218 | TEST-UNEXPECTED-FAIL | damp | debugger/custom.js: TypeError: source is undefined
Only failed once on OSX:
https://treeherder.mozilla.org/logviewer.html#?job_id=193637294&repo=try
Comment 6•7 years ago
|
||
Comment on attachment 8999868 [details]
Bug 1482052 - add talos test with many files for the debugger; r=ochameau
Alexandre Poirot [:ochameau] has approved the revision.
Attachment #8999868 -
Flags: review+
Pushed by ystartsev@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/9c29ffcfc052
add talos test with many files for the debugger; r=ochameau
Comment 8•7 years ago
|
||
| bugherder | ||
Status: NEW → RESOLVED
Closed: 7 years ago
status-firefox63:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 63
Backout by toros@mozilla.com:
https://hg.mozilla.org/mozilla-central/rev/00a5c0b3923a
Backed out changeset 9c29ffcfc052 for damp test failures a=backout
Comment 10•7 years ago
|
||
Backed out changeset 9c29ffcfc052 (bug 1482052) for damp test failures
Backout: https://hg.mozilla.org/mozilla-central/rev/00a5c0b3923abfcef338f7698c7d73e634395db8
Failure log file: https://treeherder.mozilla.org/logviewer.html#?job_id=195122545&repo=autoland&lineNumber=5083
Flags: needinfo?(ystartsev)
| Assignee | ||
Comment 11•7 years ago
|
||
Try run for fix: https://treeherder.mozilla.org/#/jobs?repo=try&revision=78ca9cccefec17d0bc092e53416e4c090f8ca08e
Flags: needinfo?(ystartsev)
| Assignee | ||
Comment 12•7 years ago
|
||
Comment 13•7 years ago
|
||
Pushed by ystartsev@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/2ab5eba3c686
add talos test with many files for the debugger; r=ochameau
Comment 14•7 years ago
|
||
| bugherder | ||
You need to log in
before you can comment on or make changes to this bug.
Description
•