Author: [email protected]
Date: Tue May 26 07:28:08 2009
New Revision: 2059

Modified:
    branches/bleeding_edge/test/cctest/test-log.cc

Log:
Run script in ProfLazyMode test longer to improve stability.

Prior to this change debug version of the test crashed 2 of 1000 times.  
After the change no crashes (out of 1000 runs) occured.

Review URL: http://codereview.chromium.org/115772


Modified: branches/bleeding_edge/test/cctest/test-log.cc
==============================================================================
--- branches/bleeding_edge/test/cctest/test-log.cc      (original)
+++ branches/bleeding_edge/test/cctest/test-log.cc      Tue May 26 07:28:08 2009
@@ -165,9 +165,9 @@
                    "for (var i = 0; i < 1000; ++i) { "
                    "(function(x) { return %d * x; })(i); }",
                    log_pos);
-  // Run code for 100 msecs to get some ticks.
+  // Run code for 200 msecs to get some ticks.
    const int64_t started_us = i::OS::Ticks();
-  while (i::OS::Ticks() - started_us < 100 * 1000) {
+  while (i::OS::Ticks() - started_us < 200 * 1000) {
      CompileAndRunScript(script_src.start());
    }


--~--~---------~--~----~------------~-------~--~----~
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
-~----------~----~----~----~------~----~------~--~---

Reply via email to