Closed Bug 673634 Opened 13 years ago Closed 5 years ago

Investigate speeding up /tests/toolkit/components/passwordmgr/test/test_prompt_async.html

Categories

(Toolkit :: Password Manager, defect)

defect
Not set
normal

Tracking

()

RESOLVED INACTIVE

People

(Reporter: jgriffin, Unassigned)

References

(Blocks 1 open bug)

Details

As part of the BuildFaster project (see https://wiki.mozilla.org/ReleaseEngineering/BuildFaster), we are investigating whether certain slow mochitests can be sped up.

test_prompt_async.html is a slow test, average execution time on a recent run (in ms):

	win32-debug, 79560
	linux-opt, 10011
	macosx64-opt, 17023
	win32-opt, 12496
	linux64-debug, 65402
	macosx-opt, 17062
	linux-debug, 68971
	macosx-debug, 90074
Honza, as the original test author of this test, would you be willing to help see if the execution time of this test could be improved, particularly on debug builds?
First would be good to know what is the bottleneck of this test, what to actually fix.  Do you know it?

I'm author of the test but not of the infrastructure used (http://mxr.mozilla.org/mozilla-central/source/toolkit/components/passwordmgr/test/prompt_common.js) that is using timer to poll for dialogs.

Gavin might be a better person here.

I don't see immediately a way to improve this test it self, unless there is some bug in it (e.g. like we poll a long time and nothing happens) that could be fixed.  I could take a look at that but probably nothing more.
Component: Networking → Password Manager
Product: Core → Toolkit
QA Contact: networking → password.manager
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → INACTIVE
You need to log in before you can comment on or make changes to this bug.