Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
Pyston
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
Pyston
Commits
20c2cd35
Commit
20c2cd35
authored
Oct 07, 2015
by
Marius Wachtler
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
disable moderate opt and pyston passes and increase reopt threshold
parent
764b2da7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
src/codegen/ast_interpreter.cpp
src/codegen/ast_interpreter.cpp
+2
-1
src/core/options.cpp
src/core/options.cpp
+2
-2
No files found.
src/codegen/ast_interpreter.cpp
View file @
20c2cd35
...
...
@@ -1733,7 +1733,8 @@ Box* astInterpretFunction(CLFunction* clfunc, Box* closure, Box* generator, Box*
&&
(
FORCE_OPTIMIZE
||
!
ENABLE_INTERPRETER
||
clfunc
->
times_interpreted
>
REOPT_THRESHOLD_BASELINE
)))
{
clfunc
->
times_interpreted
=
0
;
EffortLevel
new_effort
=
EffortLevel
::
MODERATE
;
// EffortLevel new_effort = EffortLevel::MODERATE;
EffortLevel
new_effort
=
EffortLevel
::
MAXIMAL
;
// always use max opt (disabled moderate opt tier)
if
(
FORCE_OPTIMIZE
)
new_effort
=
EffortLevel
::
MAXIMAL
;
...
...
src/core/options.cpp
View file @
20c2cd35
...
...
@@ -53,7 +53,7 @@ bool FORCE_LLVM_CAPI_THROWS = false;
int
OSR_THRESHOLD_INTERPRETER
=
25
;
int
REOPT_THRESHOLD_INTERPRETER
=
25
;
int
OSR_THRESHOLD_BASELINE
=
2500
;
int
REOPT_THRESHOLD_BASELINE
=
1
0
00
;
int
REOPT_THRESHOLD_BASELINE
=
1
5
00
;
int
OSR_THRESHOLD_T2
=
10000
;
int
REOPT_THRESHOLD_T2
=
10000
;
int
SPECULATION_THRESHOLD
=
100
;
...
...
@@ -78,7 +78,7 @@ bool ENABLE_OSR = 1 && _GLOBAL_ENABLE;
bool
ENABLE_LLVMOPTS
=
1
&&
_GLOBAL_ENABLE
;
bool
ENABLE_INLINING
=
1
&&
_GLOBAL_ENABLE
;
bool
ENABLE_REOPT
=
1
&&
_GLOBAL_ENABLE
;
bool
ENABLE_PYSTON_PASSES
=
1
&&
_GLOBAL_ENABLE
;
bool
ENABLE_PYSTON_PASSES
=
0
&&
_GLOBAL_ENABLE
;
bool
ENABLE_TYPE_FEEDBACK
=
1
&&
_GLOBAL_ENABLE
;
bool
ENABLE_RUNTIME_ICS
=
1
&&
_GLOBAL_ENABLE
;
bool
ENABLE_JIT_OBJECT_CACHE
=
1
&&
_GLOBAL_ENABLE
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment