- 29 Jan, 2015 10 commits
-
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
The macros would cast to PyObject*, but our functions would just take a PyObject* -- which is an issue if the argument is something else (like a PyListObject*). We need to have wrapper macros that cast and then call the underlying function.
-
Kevin Modzelewski authored
Many of them originally failed due to a missing language feature, but now were failing due to simple reasons like printing out the repr of an object which doesn't define __repr__ and getting something like "<C object at 0x1234567890>" (ie nondeterministic).
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
More gc perf changes
-
Kevin Modzelewski authored
-
- 28 Jan, 2015 14 commits
-
-
Chris Toshok authored
add a PRECISE and HIDDEN_CLASS GCKind, with special visit behavior (visitRange for PRECISE, and HiddenClass::gc_visit for HIDDEN_CLASS). don't scan HiddenClasses or HCAttrs conservatively.
-
Chris Toshok authored
store frequently used values in the Block. also give scanForNext an out from entering the loop at all
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
use a vector of chunks for the TraceStack, instead of a vector of individual pointers.
-
Kevin Modzelewski authored
My theory is that this is because it overflows a signed int in 32-bit builds. This should hopefully fix #272
-
Travis Hance authored
Str just funcs
-
Travis Hance authored
-
Chris Toshok authored
also keep a free list of chunks around to make subsequent collections faster. results in TraceStack::pop and ::push being inlined and disappearing from the perf report (::push was at 3.99% before). Also drops aggregate GC times for ray trace by ~5%. before: gc_collections_us: 2151827 after: gc_collections_us: 2023809
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
Had to modify tempfile to not depend on io, which is a big module (due to importing _io). tempfile seems to barely even use it, and I think I was able to replace its usage with a simpler os.write call.
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
-
- 27 Jan, 2015 6 commits
-
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
The signal module is Python code's interface to signal handling, but also the way that the interpreter accepts and handles signals. This commit just enables the first part, but things will crash if a signal actually gets delivered.
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
fixing #167: using gc allocator for gmp
-
Kevin Modzelewski authored
Add a simple cache for runtime ICs
-
- 26 Jan, 2015 1 commit
-
-
Marius Wachtler authored
spectral_norm.py runtime improves by about 5%: rewriter_attempts: 135109 --> 55133 rewriter_commits: 80138 --> 162 runtime_ics_num: 40003 --> 15 slowpath_binop: 82702 --> 2726
-
- 25 Jan, 2015 1 commit
-
-
Bob Fang authored
-
- 24 Jan, 2015 1 commit
-
-
Kevin Modzelewski authored
ie names that begin with two underscores but don't end in two underscores have the classname added to them. Do this early on in the pipeline so that all the analyses operate post-mangling. The implementation is kind of hacky and I couldn't think of a good way to make it super systematic; there may be more cases I missed.
-
- 23 Jan, 2015 1 commit
-
-
Bob Fang authored
-
- 22 Jan, 2015 6 commits
-
-
Kevin Modzelewski authored
cmake add oprofile and gperftools
-
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
-