1. 21 Nis, 2017 1 kayıt (commit)
  2. 08 Mar, 2017 1 kayıt (commit)
  3. 03 Mar, 2017 1 kayıt (commit)
  4. 11 Ock, 2017 1 kayıt (commit)
    • Victor Stinner's avatar
      Disable _PyStack_AsTuple() inlining · b915bc35
      Victor Stinner yazdı
      Issue #29234: Inlining _PyStack_AsTuple() into callers increases their stack
      consumption, Disable inlining to optimize the stack consumption.
      
      Add _Py_NO_INLINE: use __attribute__((noinline)) of GCC and Clang.
      
      It reduces the stack consumption, bytes per call, before => after:
      
      test_python_call: 1040 => 976 (-64 B)
      test_python_getitem: 976 => 912 (-64 B)
      test_python_iterator: 1120 => 1056 (-64 B)
      
      => total: 3136 => 2944 (- 192 B)
      b915bc35
  5. 05 Ock, 2017 1 kayıt (commit)
  6. 08 Ara, 2016 2 kayıt (commit)
  7. 15 Kas, 2016 1 kayıt (commit)
  8. 11 Kas, 2016 1 kayıt (commit)
    • Victor Stinner's avatar
      Issue #28618: Make hot functions using __attribute__((hot)) · c6944e7e
      Victor Stinner yazdı
      When Python is not compiled with PGO, the performance of Python on call_simple
      and call_method microbenchmarks depend highly on the code placement. In the
      worst case, the performance slowdown can be up to 70%.
      
      The GCC __attribute__((hot)) attribute helps to keep hot code close to reduce
      the risk of such major slowdown. This attribute is ignored when Python is
      compiled with PGO.
      
      The following functions are considered as hot according to statistics collected
      by perf record/perf report:
      
      * _PyEval_EvalFrameDefault()
      * call_function()
      * _PyFunction_FastCall()
      * PyFrame_New()
      * frame_dealloc()
      * PyErr_Occurred()
      c6944e7e
  9. 21 Eyl, 2016 1 kayıt (commit)
  10. 20 Eyl, 2016 1 kayıt (commit)
  11. 19 Eyl, 2016 2 kayıt (commit)
  12. 13 Eyl, 2016 1 kayıt (commit)
  13. 08 Eyl, 2016 1 kayıt (commit)
  14. 07 Eyl, 2016 1 kayıt (commit)
  15. 06 Eyl, 2016 5 kayıt (commit)
  16. 15 Agu, 2016 2 kayıt (commit)
  17. 22 May, 2016 1 kayıt (commit)
  18. 14 Nis, 2015 1 kayıt (commit)
  19. 12 Nis, 2015 1 kayıt (commit)
  20. 24 Mar, 2015 1 kayıt (commit)
  21. 17 Nis, 2014 1 kayıt (commit)
  22. 23 Kas, 2013 1 kayıt (commit)
  23. 20 Kas, 2013 1 kayıt (commit)
  24. 19 Eki, 2013 2 kayıt (commit)
  25. 27 Agu, 2013 1 kayıt (commit)
  26. 24 Haz, 2013 1 kayıt (commit)
  27. 23 Haz, 2013 1 kayıt (commit)
  28. 22 Haz, 2013 1 kayıt (commit)
  29. 04 Haz, 2013 1 kayıt (commit)
  30. 13 May, 2013 1 kayıt (commit)
  31. 11 Mar, 2013 1 kayıt (commit)
  32. 11 Ara, 2012 1 kayıt (commit)
    • Gregory P. Smith's avatar
      Fix the internals of our hash functions to used unsigned values during hash · 27cbcd62
      Gregory P. Smith yazdı
      computation as the overflow behavior of signed integers is undefined.
      
      In practice we require compiling everything with -fwrapv which forces overflow
      to be defined as twos compliment but this keeps the code cleaner for checkers
      or in the case where someone has compiled it without -fwrapv or their
      compiler's equivalent.
      
      Found by Clang trunk's Undefined Behavior Sanitizer (UBSan).
      
      Cleanup only - no functionality or hash values change.
      27cbcd62