| Index: test/mjsunit/timer.js
|
| diff --git a/test/mjsunit/timer.js b/test/mjsunit/timer.js
|
| index bac474cfc1314c6901f5775e5b409f59bc05d49d..0b035501e7642963a20d134df20732ca44a66c44 100644
|
| --- a/test/mjsunit/timer.js
|
| +++ b/test/mjsunit/timer.js
|
| @@ -25,8 +25,15 @@
|
| // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
| // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
|
| +// Flags: --allow-natives-syntax
|
| +
|
| // Tests timer milliseconds granularity.
|
|
|
| +// Don't run this test in gc stress mode. Time differences may be long
|
| +// due to garbage collections.
|
| +%SetFlags("--gc-interval=-1");
|
| +%SetFlags("--nostress-compaction");
|
| +
|
| (function run() {
|
| var start_test = Date.now();
|
| // Let the retry run for maximum 100ms to reduce flakiness.
|
|
|