Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(540)

Side by Side Diff: tools/run-tests.py

Issue 681713004: Revert "Enable turbofan deoptimization by default." (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « test/mjsunit/mjsunit.status ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/usr/bin/env python 1 #!/usr/bin/env python
2 # 2 #
3 # Copyright 2012 the V8 project authors. All rights reserved. 3 # Copyright 2012 the V8 project authors. All rights reserved.
4 # Redistribution and use in source and binary forms, with or without 4 # Redistribution and use in source and binary forms, with or without
5 # modification, are permitted provided that the following conditions are 5 # modification, are permitted provided that the following conditions are
6 # met: 6 # met:
7 # 7 #
8 # * Redistributions of source code must retain the above copyright 8 # * Redistributions of source code must retain the above copyright
9 # notice, this list of conditions and the following disclaimer. 9 # notice, this list of conditions and the following disclaimer.
10 # * Redistributions in binary form must reproduce the above 10 # * Redistributions in binary form must reproduce the above
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 } 80 }
81 81
82 TIMEOUT_DEFAULT = 60 82 TIMEOUT_DEFAULT = 60
83 TIMEOUT_SCALEFACTOR = {"debug" : 4, 83 TIMEOUT_SCALEFACTOR = {"debug" : 4,
84 "release" : 1 } 84 "release" : 1 }
85 85
86 # Use this to run several variants of the tests. 86 # Use this to run several variants of the tests.
87 VARIANT_FLAGS = { 87 VARIANT_FLAGS = {
88 "default": [], 88 "default": [],
89 "stress": ["--stress-opt", "--always-opt"], 89 "stress": ["--stress-opt", "--always-opt"],
90 "turbofan": ["--turbo-asm", "--turbo-filter=*", "--always-opt", "--turbo-deo ptimization"], 90 "turbofan": ["--turbo-asm", "--turbo-filter=*", "--always-opt"],
91 "nocrankshaft": ["--nocrankshaft"]} 91 "nocrankshaft": ["--nocrankshaft"]}
92 92
93 VARIANTS = ["default", "stress", "turbofan", "nocrankshaft"] 93 VARIANTS = ["default", "stress", "turbofan", "nocrankshaft"]
94 94
95 MODE_FLAGS = { 95 MODE_FLAGS = {
96 "debug" : ["--nohard-abort", "--nodead-code-elimination", 96 "debug" : ["--nohard-abort", "--nodead-code-elimination",
97 "--nofold-constants", "--enable-slow-asserts", 97 "--nofold-constants", "--enable-slow-asserts",
98 "--debug-code", "--verify-heap"], 98 "--debug-code", "--verify-heap"],
99 "release" : ["--nohard-abort", "--nodead-code-elimination", 99 "release" : ["--nohard-abort", "--nodead-code-elimination",
100 "--nofold-constants"]} 100 "--nofold-constants"]}
(...skipping 485 matching lines...) Expand 10 before | Expand all | Expand 10 after
586 exit_code = runner.Run(options.j) 586 exit_code = runner.Run(options.j)
587 overall_duration = time.time() - start_time 587 overall_duration = time.time() - start_time
588 588
589 if options.time: 589 if options.time:
590 verbose.PrintTestDurations(suites, overall_duration) 590 verbose.PrintTestDurations(suites, overall_duration)
591 return exit_code 591 return exit_code
592 592
593 593
594 if __name__ == "__main__": 594 if __name__ == "__main__":
595 sys.exit(Main()) 595 sys.exit(Main())
OLDNEW
« no previous file with comments | « test/mjsunit/mjsunit.status ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698