- 13 Oct, 2015 3 commits
-
-
Kevin Modzelewski authored
disable moderate opt and pyston passes and increase reopt threshold
-
Kevin Modzelewski authored
Add module "readline" and update CPython test notes.
-
Kevin Modzelewski authored
handle the situation which provide a directory to pyston
-
- 12 Oct, 2015 2 commits
-
-
Marius Wachtler authored
My sym entry llvm stackmap patch contains a bug where it will emit stackmap entries with the wrong offset into the large constants array. The problem is that the code assumes that the symbolic stack map constants are emitted at the end of the constants array, but doen't take into consideration that "normal" large constants can be added after symbolic entries. Thereby making the assigned offsets point to the wrong constants. To fix this issue I'm calculating the offset for symbolic entries now at the very end when we know that the number of constants can't change anymore. A nicer fix would be to not emit the symbolic entries inside the large cosntants array but instead into a special one. But I think this is overkill for now and would like to todo this when the stackmap v2 code landed inside llvm in order to not have to implement it twice.
-
Marius Wachtler authored
-
- 10 Oct, 2015 7 commits
-
-
Boxiang Sun authored
-
Kevin Modzelewski authored
Try to fix "enforce return conventions" perf regression
-
Kevin Modzelewski authored
Misc perf improvements
-
Kevin Modzelewski authored
Pending review: add __call__ attribute to builtin functions and methods
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
We can rewrite a callattr where the getattr was done via a getattro, if we are in CXX mode. This got lost in the "enforce return conventions" PR and resulted in a 4% slowdown on pyxl bench.
-
- 09 Oct, 2015 1 commit
-
-
Boxiang Sun authored
-
- 08 Oct, 2015 3 commits
-
-
Boxiang Sun authored
-
Boxiang Sun authored
-
Marius Wachtler authored
-
- 07 Oct, 2015 5 commits
-
-
Marius Wachtler authored
-
Marius Wachtler authored
-
Marius Wachtler authored
Add rewrite support for calls which use keyword args
-
Marius Wachtler authored
-
Marius Wachtler authored
-
- 06 Oct, 2015 12 commits
-
-
Kevin Modzelewski authored
Test against an old 0.5-series version of sqlalchemy
-
Kevin Modzelewski authored
Use callattr inside PyObject_CallMethod*
-
Kevin Modzelewski authored
After much investigation, I think this is the best option for now. We might need to patch sqlalchemy or switch to refcounting. The issue is that there's a dangling cursor that's left open, and under cpython it will get closed quickly. But for us, it's left open, which keeps the connection open. This leaves the table its referencing locked. But only in old versions of sqlite! Newer versions are smart enough to know that 'select current_timestamp() from table' does not need to lock the table, so even though that select statement is still running, it doesn't end up locking the table. PyPy has a different issue with the test, where it closes the cursor too early (not sure why).
-
Marius Wachtler authored
-
Marius Wachtler authored
Use travis_wait to workaround the no output received error
-
Marius Wachtler authored
-
Marius Wachtler authored
Add more Rewritable template args to functions
-
Marius Wachtler authored
django_template3.py 2.7s (4) 2.7s (4) -0.3% pyxl_bench.py 2.3s (4) 2.2s (4) -4.1% sqlalchemy_imperative2.py 2.7s (4) 2.6s (4) -1.4% geomean 2.5s 2.5s -2.0%
-
Kevin Modzelewski authored
This exposed some other issues for us.
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
microptimize callFunc() by only calling getFunctionName() when necessary
-
- 05 Oct, 2015 1 commit
-
-
Marius Wachtler authored
even though getFunctionName() is fast it showed up in the profiler because it get's called very often, but most of the time the actual value is not used.
-
- 04 Oct, 2015 2 commits
-
-
Marius Wachtler authored
use a template to remove rewriter checks inside our most important runtime funcs
-
Marius Wachtler authored
when we know that the rewrite_args are NULL origin/rewritable~: origin/rewritable: django_template3.py 2.7s (4) 2.7s (4) -1.3% pyxl_bench.py 2.2s (4) 2.2s (4) -1.7% sqlalchemy_imperative2.py 2.7s (4) 2.6s (4) -2.4% geomean 2.5s 2.5s -1.8%
-
- 02 Oct, 2015 3 commits
-
-
Kevin Modzelewski authored
Add more asserts to aggressively enforce return conventions
-
Kevin Modzelewski authored
You can't get the return value from a RewriteArgs without looking at the return convention. Debug mode will check the return convention during the execution of rewrites. Split "VALID_RETURN" into "HAS_RETURN" and "CAPI_RETURN" since some places used it to mean either. Hopefully this helps keep things clean. There are a lot of places that were implictly assuming a certain return convention, but now that they have to explicitly assume it, the issues are more obvious. Plus they will get checked in the debug builds. Also tried to fix things up while going through and doing this refactoring; I think I found a number of issues.
-
Kevin Modzelewski authored
add m2crypto test + fix missing stuff
-
- 01 Oct, 2015 1 commit
-
-
Kevin Modzelewski authored
IsType fix
-