- 05 May, 2015 3 commits
-
-
Kevin Modzelewski authored
On the simple test of `pyston -c "import pip"`, it reduces memory usage from 194MB to 153MB (20% of the memory previously was cached analysis data). It also increases our benchmark geomean by ~1%, which isn't great, but I think we can get that back eventually and I don't think it's worth blocking this memory improvement for that.
-
Kevin Modzelewski authored
I guess in CPython, __file__ will be the path to the pyc if that's how the library was loaded. (We don't do that but that difference isn't the issue here.) So that makes these tests, which print __file__, sensitive to whether the last run of the test was through cpython (pyc exists and __file__ ends in pyc) or through pyston (pyc exists but was wasn't valid for cpython, and __file__ ends in py) Just do some canonicalization when printing
-
Kevin Modzelewski authored
- make heap dumping work again - refactor some of the heap statistics to work in OOM scenarios (ie be able to not collect the ones that would require allocation to track) - collect some hcls statistics as well - print stats to stderr rather than stdout - I think this makes more sense since it is not really part of the program output; it also makes it more likely that "PYSTON_RUN_ARGS=s" will work
-
- 03 May, 2015 4 commits
-
-
Kevin Modzelewski authored
prohibit _PyTuple_Resize for objects that are subclasses of tuple
-
Kevin Modzelewski authored
implement `real` and `imag` for `int`, `long`, and `float`
-
Kevin Modzelewski authored
ignore untracked files in the gflags submodule
-
Kevin Modzelewski authored
remove ununsed class BoxedUnicode
-
- 02 May, 2015 11 commits
-
-
Kevin Modzelewski authored
Add PyGC_AddRoot calls any time we assign to a static variable
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
It seems like there's only one potentially bad one (zip_directory_cache), and the rest are more or less benign (most of the occurrences are added to the module as well as attributes), but it's probably good practice.
-
Kevin Modzelewski authored
run gflags unittests
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
gflags test is passing Also add file.name
-
Kevin Modzelewski authored
It provides overrides for some of the values in the "string" module, which ends up mattering for the gflags tests.
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
Just another HAVE_foo define we were missing.
-
Kevin Modzelewski authored
-
- 30 Apr, 2015 13 commits
-
-
Kevin Modzelewski authored
Otherwise git keeps asking me what I want to do with the modifications in the pycrypto submodule.
-
Kevin Modzelewski authored
Conflicts: src/runtime/types.cpp
-
Kevin Modzelewski authored
Add a pycrypto integration test
-
Kevin Modzelewski authored
A quick (40s) sanity test to run before sending it off to travis-ci for the full test.
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
Fix misc smaller issues
-
Marius Wachtler authored
-
Kevin Modzelewski authored
This lets us support `exec compile(ast.parse(s))`. Also, add 3-arg eval() support, and simple support for the _ast module.
-
Marius Wachtler authored
-
Kevin Modzelewski authored
gflags support
-
Kevin Modzelewski authored
Put these defines earlier. I don't like that Make doesn't warn on undefined variables
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
With the goal of making `assert obj.__dict__ is obj.__dict__` work. I haven't seen people do that, but people (gflags, doctest? others?) definitely need `assert globals() is globals()` to pass, which uses the same mechanism.
-
- 29 Apr, 2015 9 commits
-
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
The CMake build system doesn't have support for building the extension modules, so use the self-hosting ability here. Also, remove ext_pyston from run_deps since I think this would become pretty anoying for debugging, where you can't run your test if setup.py wouldn't run. It's pretty rare that we actually use these modules anyway.
-
Marius Wachtler authored
LLVM has a limit of about ~255 operands per machine instructions, which we could exceed with our patchpoints usage.
-
Marius Wachtler authored
-
Marius Wachtler authored
-
Marius Wachtler authored
and add a pycrypto integration test. In additon fix an assert inside CompiledFunction::speculationFailed
-
Kevin Modzelewski authored
add pkg-config to the install instructions
-
Kevin Modzelewski authored
pyc number bump since we fixed the tuple parsing issue
-