Closed Bug 1312737 Opened 8 years ago Closed 7 years ago

Add DAMP stress test for Reps

Categories

(DevTools :: Shared Components, enhancement)

enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1358180

People

(Reporter: linclark, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(2 files)

Currently mounting reps is slow. I'm not sure how much we can do to affect this, but if we add a test we can at least see what we can do.
Attached patch Bug1312737.patchSplinter Review
This test outputs a single console message with 1000 numbers.

On my machine, I get these numbers.

Old console: 105ms
New console w/ reps: 709ms

I'll give it a try with the new console, but not using reps, to see whether new console itself is causing any of that.
On my machine, new console without reps is 301, so we definitely have some optimization to do in Reps.
In case you want to run the tests yourself, here's the console without reps code, plus some temporary DAMP changes.
Blocks: 1333131
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → DUPLICATE
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: