Enable TF for testing benchmarks.

BUG=
R=mstarzinger@chromium.org

Review URL: https://codereview.chromium.org/440383002

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22976 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 846a5f28
...@@ -25,9 +25,12 @@ ...@@ -25,9 +25,12 @@
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
# Too slow in Debug mode.
[ [
[ALWAYS, { [ALWAYS, {
'octane/mandreel': [PASS, ['mode == debug', SKIP]], # Too slow in Debug mode. TODO(mstarzinger): Too slow for TF.
'octane/mandreel': [PASS, NO_VARIANTS, ['mode == debug', SKIP]],
# TODO(mstarzinger): Out of mem with TF.
'octane/zlib': [PASS, NO_VARIANTS],
}], # ALWAYS }], # ALWAYS
] ]
...@@ -31,6 +31,7 @@ import shutil ...@@ -31,6 +31,7 @@ import shutil
import subprocess import subprocess
import tarfile import tarfile
from testrunner.local import statusfile
from testrunner.local import testsuite from testrunner.local import testsuite
from testrunner.objects import testcase from testrunner.objects import testcase
...@@ -183,8 +184,12 @@ class BenchmarksTestSuite(testsuite.TestSuite): ...@@ -183,8 +184,12 @@ class BenchmarksTestSuite(testsuite.TestSuite):
os.chdir(old_cwd) os.chdir(old_cwd)
def VariantFlags(self, testcase, default_flags): def VariantFlags(self, testcase, default_flags):
# Both --nocrankshaft and --stressopt are very slow. if testcase.outcomes and statusfile.OnlyStandardVariant(testcase.outcomes):
return [[]] 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.
return [[], ["--turbo-filter=*"]]
def GetSuite(name, root): def GetSuite(name, root):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment