Revision: 23087
Author:   [email protected]
Date:     Tue Aug 12 17:54:41 2014 UTC
Log:      Fix predictable mode to make time pass faster.

[email protected]

Review URL: https://codereview.chromium.org/460413002
http://code.google.com/p/v8/source/detail?r=23087

Modified:
 /branches/bleeding_edge/src/d8.cc
 /branches/bleeding_edge/src/heap/heap.h
 /branches/bleeding_edge/test/benchmarks/benchmarks.status
 /branches/bleeding_edge/test/benchmarks/testcfg.py

=======================================
--- /branches/bleeding_edge/src/d8.cc   Mon Aug  4 11:34:54 2014 UTC
+++ /branches/bleeding_edge/src/d8.cc   Tue Aug 12 17:54:41 2014 UTC
@@ -332,7 +332,6 @@
     Isolate* v8_isolate = args.GetIsolate();
     i::Heap* heap = reinterpret_cast<i::Isolate*>(v8_isolate)->heap();
     args.GetReturnValue().Set(heap->synthetic_time());
-
   } else {
     base::TimeDelta delta =
         base::TimeTicks::HighResolutionNow() - kInitialTicks;
=======================================
--- /branches/bleeding_edge/src/heap/heap.h     Mon Aug 11 14:22:24 2014 UTC
+++ /branches/bleeding_edge/src/heap/heap.h     Tue Aug 12 17:54:41 2014 UTC
@@ -960,7 +960,7 @@

   // Returns deterministic "time" value in ms. Works only with
   // FLAG_verify_predictable.
-  double synthetic_time() { return allocations_count_ / 100.0; }
+  double synthetic_time() { return allocations_count_ / 2.0; }

   // Print short heap statistics.
   void PrintShortHeapStatistics();
=======================================
--- /branches/bleeding_edge/test/benchmarks/benchmarks.status Tue Aug 12 12:30:22 2014 UTC +++ /branches/bleeding_edge/test/benchmarks/benchmarks.status Tue Aug 12 17:54:41 2014 UTC
@@ -29,7 +29,5 @@
 [ALWAYS, {
   # Too slow in Debug mode.
   'octane/mandreel': [PASS, ['mode == debug', SKIP]],
-  # TODO(mstarzinger,ishell): Timeout with TF in predictable mode.
-  'octane/richards': [PASS, NO_VARIANTS],
 }],  # ALWAYS
 ]
=======================================
--- /branches/bleeding_edge/test/benchmarks/testcfg.py Thu Aug 7 15:26:28 2014 UTC +++ /branches/bleeding_edge/test/benchmarks/testcfg.py Tue Aug 12 17:54:41 2014 UTC
@@ -31,7 +31,6 @@
 import subprocess
 import tarfile

-from testrunner.local import statusfile
 from testrunner.local import testsuite
 from testrunner.objects import testcase

@@ -184,8 +183,6 @@
     os.chdir(old_cwd)

   def VariantFlags(self, testcase, default_flags):
- if testcase.outcomes and statusfile.OnlyStandardVariant(testcase.outcomes):
-      return [[]]
     # Both --nocrankshaft and --stressopt are very slow. Add TF but without
     # always opt to match the way the benchmarks are run for performance
     # testing.

--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to