1. 22 Jun, 2015 6 commits
    • Rudi Chen's avatar
      Revert to using gettimeofday to have measurements in us instead of ticks. · 89df764f
      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.
      89df764f
    • Kevin Modzelewski's avatar
      Merge pull request #630 from kmod/gc_fixes · 06a07a2c
      Kevin Modzelewski authored
      fix two minor bugs
      06a07a2c
    • Kevin Modzelewski's avatar
      Support buggy callers of PyString_GET_SIZE · 5592f785
      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.
      5592f785
    • Kevin Modzelewski's avatar
      Switch this to use the safer root registration form · 1f434147
      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.
      1f434147
    • Kevin Modzelewski's avatar
      Merge pull request #628 from kmod/perf3 · 6c273fbe
      Kevin Modzelewski authored
      rewrite wrapperdescriptors
      6c273fbe
    • Kevin Modzelewski's avatar
      Add additional args-in-place check right before jumps · 4d4eeeab
      Kevin Modzelewski authored
      We would check that they're in the right place as part of
      restoreArgs (ie putting them in the right place), but then we
      would do some other work (loading the value to check, loading
      the constant) which could potentially spill registers.
      
      So add an additional check right before we emit the actual
      jump instruction.  I'm surprised this never failed.
      4d4eeeab
  2. 20 Jun, 2015 16 commits
  3. 19 Jun, 2015 12 commits
  4. 18 Jun, 2015 6 commits