Closed
Bug 540512
Opened 15 years ago
Closed 9 months ago
Replace bogus "timejit < timenonjit" tests
Categories
(Core :: JavaScript Engine, defect)
Core
JavaScript Engine
Tracking
()
RESOLVED
FIXED
People
(Reporter: jruderman, Assigned: jruderman)
References
(Depends on 1 open bug)
Details
Attachments
(1 file)
1.45 KB,
patch
|
Details | Diff | Splinter Review |
I'm disabling a set of JS "unit tests" that were attempting to ensure the JIT was faster than the interpreter. These tests were slow and failing intermittently. Unit tests should never depend on timing: http://joblivious.wordpress.com/2009/02/20/handling-intermittence-how-to-survive-test-driven-development/ We should make sure that whatever they were intended to test is covered by at least one of (1) talos performance tests, e.g. part of sunspider (2) non-time-dependent unit tests, e.g. based on jitstats and then remove the files.
Assignee | ||
Comment 1•15 years ago
|
||
(Tests disabled in http://hg.mozilla.org/mozilla-central/rev/06a14da370af)
Assignee | ||
Comment 2•15 years ago
|
||
Btw one of the tests was failing due to something actually being slower than it was supposed to be; see bug 482914.
Comment 3•14 years ago
|
||
(In reply to comment #1) > (Tests disabled in http://hg.mozilla.org/mozilla-central/rev/06a14da370af) Jesse, can you land this on 1.9.2 as well?
Assignee | ||
Comment 4•14 years ago
|
||
Attachment #430156 -
Flags: approval1.9.2.2?
Comment 5•14 years ago
|
||
do we need approval 1.9.2 for npotb test only changes?
Assignee | ||
Comment 6•14 years ago
|
||
Comment on attachment 430156 [details] [diff] [review] 1.9.2 branch patch Gavin Sharp says "test-only changes never require approval anywhere".
Attachment #430156 -
Flags: approval1.9.2.2?
Assignee | ||
Comment 7•14 years ago
|
||
Tests disabled: http://hg.mozilla.org/releases/mozilla-1.9.2/rev/52e50d6be739
Updated•10 years ago
|
Assignee: general → nobody
Updated•2 years ago
|
Severity: minor → S4
Updated•9 months ago
|
Status: NEW → RESOLVED
Closed: 9 months ago
Resolution: --- → FIXED
Updated•9 months ago
|
Assignee: nobody → jruderman
You need to log in
before you can comment on or make changes to this bug.
Description
•