1. 22 Ock, 2018 1 kayıt (commit)
  2. 23 Kas, 2017 1 kayıt (commit)
  3. 24 Eki, 2017 1 kayıt (commit)
    • Victor Stinner's avatar
      bpo-30768: Recompute timeout on interrupted lock (GH-4103) · 850a18e0
      Victor Stinner yazdı
      Fix the pthread+semaphore implementation of
      PyThread_acquire_lock_timed() when called with timeout > 0 and
      intr_flag=0: recompute the timeout if sem_timedwait() is interrupted
      by a signal (EINTR).
      
      See also the PEP 475.
      
      The pthread implementation of PyThread_acquire_lock() now fails with
      a fatal error if the timeout is larger than PY_TIMEOUT_MAX, as done
      in the Windows implementation.
      
      The check prevents any risk of overflow in PyThread_acquire_lock().
      
      Add also PY_DWORD_MAX constant.
      850a18e0
  4. 29 Eyl, 2017 1 kayıt (commit)
  5. 12 Eyl, 2017 1 kayıt (commit)
  6. 07 Eyl, 2017 1 kayıt (commit)
  7. 21 Nis, 2017 1 kayıt (commit)
  8. 08 Mar, 2017 1 kayıt (commit)
  9. 03 Mar, 2017 1 kayıt (commit)
  10. 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
  11. 05 Ock, 2017 1 kayıt (commit)
  12. 08 Ara, 2016 2 kayıt (commit)
  13. 15 Kas, 2016 1 kayıt (commit)
  14. 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
  15. 21 Eyl, 2016 1 kayıt (commit)
  16. 20 Eyl, 2016 1 kayıt (commit)
  17. 19 Eyl, 2016 2 kayıt (commit)
  18. 13 Eyl, 2016 1 kayıt (commit)
  19. 08 Eyl, 2016 1 kayıt (commit)
  20. 07 Eyl, 2016 1 kayıt (commit)
  21. 06 Eyl, 2016 5 kayıt (commit)
  22. 15 Agu, 2016 2 kayıt (commit)
  23. 22 May, 2016 1 kayıt (commit)
  24. 14 Nis, 2015 1 kayıt (commit)
  25. 12 Nis, 2015 1 kayıt (commit)
  26. 24 Mar, 2015 1 kayıt (commit)
  27. 17 Nis, 2014 1 kayıt (commit)
  28. 23 Kas, 2013 1 kayıt (commit)
  29. 20 Kas, 2013 1 kayıt (commit)
  30. 19 Eki, 2013 2 kayıt (commit)
  31. 27 Agu, 2013 1 kayıt (commit)
  32. 24 Haz, 2013 1 kayıt (commit)