- 26 Jun, 2015 5 commits
-
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
Could be faster with templates but seems roughly even for now.
-
Kevin Modzelewski authored
Similar to ArgPassSpec. Previously we kept them on the CLFunction, but there are places where we want to specify a certain parameter signature without having a clfunction available.
-
Kevin Modzelewski authored
travis-ci compile and test in single step
-
Kevin Modzelewski authored
Temporary fix for freeing-classes-before-instances bug
-
- 25 Jun, 2015 7 commits
-
-
Kevin Modzelewski authored
Was running into it, so just added a quick fix that should hopefully get us through until rudi gets in his real fix. This commit just delays freeing the class objects until the end of the sweep. It doesn't deal with a number of corner cases such as if a class and a metaclass get freed at the same time (they both get delayed to the same point), or if we free a class with weakrefs to it (it just gets treated like a normal weakreferent).
-
Kevin Modzelewski authored
Don't have cheetah_test look for system cheetah
-
Kevin Modzelewski authored
do 100 queries per insert instead of 1000 after all inserts.
-
Kevin Modzelewski authored
cheetah's tests do a PATH search for the "cheetah" executable, and since we were appending the test-cheetah's location to PATH, it would find the system cheetah preferentially to the test cheetah. This is fine since on most systems there isn't a system cheetah, but somehow mine has one. The system cheetah will invoke the system python, which will end up passing more of the tests. We could prepend PATH instead of append to it, but it looks like the the tests don't need anything else, so for now don't pass in anything else in PATH.
-
Kevin Modzelewski authored
Include total-tests-run in our test-suite-results checking
-
Kevin Modzelewski authored
I'm seeing fewer failures locally than specified in the file, and I'm guessing it's because I'm somehow skipping some tests, but I'm not sure.
-
Chris Toshok authored
this increases cpython time on _imperative.py to ~2 seconds (and lowers pyston's % from ~480% to ~380%). the declarative benchmark takes 10 seconds for cpython with this change, but it doesn't work on pyston at all yet.
-
- 24 Jun, 2015 11 commits
-
-
Kevin Modzelewski authored
Add debug symbols to release mode.
-
Kevin Modzelewski authored
_U_dyn_register: Use binary search to find insert location
-
Kevin Modzelewski authored
change timers back to ticks
-
Kevin Modzelewski authored
This reverts commit 89df764f.
-
Marius Wachtler authored
-
Kevin Modzelewski authored
Specify /bin/bash for the Makefile, as some distros may have other shells as /bin/sh
-
Leandro Lameiro authored
Specify /bin/bash for the Makefile, as some distros may have other shells (eg, ubuntu image for docker has /bin/dash)
-
Rudi Chen authored
-
Kevin Modzelewski authored
Revert to using gettimeofday to have measurements in us instead of ticks.
-
Kevin Modzelewski authored
Some capi/descr code cleanup
-
Kevin Modzelewski authored
-
- 23 Jun, 2015 8 commits
-
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
I think it now contains the same types that CPython's descrobject.c handles.
-
Kevin Modzelewski authored
more rewriting
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
It needs to reserve some special key values that the caller has to promise to never insert into the map. For integers that's -1 and -2... which we were using and then got some random data back.
-
Kevin Modzelewski authored
don't mmap such small regions
-
Chris Toshok authored
don't mmap such small regions - linux clusters page faults so the larger the regions we mmap the better, and larger regions don't cost us anything
-
- 22 Jun, 2015 9 commits
-
-
Kevin Modzelewski authored
ie in cases that we couldn't rewrite all of the argument conversion, emit a rewrite that's just a call directly to callFunc, so we can skip the earlier parts of the dispatching. I think there is more we can do here though; there are also more places that this kind of approach would be applicable.
-
Rudi Chen authored
Also removing logic in Stats::dump that counts the total number of ticks in timers. It relies on specific timer naming conventions that aren't currently being followed. If, at a later time, we are interested in having the sum of timer ticks, we should refactor the code to have a separate class for counters that log time.
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
fix two minor bugs
-
Kevin Modzelewski authored
In CPython, PyString_GET_SIZE and PyUnicode_GET_SIZE happen to have the same implementation, so it is ok for callers to be wrong about which one they call. For us, previous to this commit, PyString_GET_SIZE would call PyString_Size, which has different behavior than PyString_GET_SIZE for non-strings. For unicode objects it means that we would return the size of the encoded representation of the string rather than the number of unicode characters. It also means that PyString_GET_SIZE can fail for us and return -1, which it never can for CPython, so callers get away with not checking the return value.
-
Kevin Modzelewski authored
Doesn't usually matter, but if we crank up the collection frequency then it's possible to get a collection between the allocation and the registration.
-
Kevin Modzelewski authored
rewrite wrapperdescriptors
-