1. 04 Jan, 2020 2 commits
  2. 01 Jan, 2020 4 commits
  3. 31 Dec, 2019 1 commit
  4. 21 Dec, 2019 1 commit
  5. 20 Dec, 2019 3 commits
  6. 19 Dec, 2019 5 commits
  7. 18 Dec, 2019 2 commits
    • Jason Madden's avatar
      Merge pull request #1495 from gevent/issue1493 · ead60793
      Jason Madden authored
      Fix an interaction between the switch interval and libuv that could introduce delays for large batches of callbacks
      ead60793
    • Jason Madden's avatar
      Fix an interaction between the switch interval and libuv that could introduce... · b4ae48f1
      Jason Madden authored
      Fix an interaction between the switch interval and libuv that could introduce delays processing large batches of callbacks.
      
      Specifically, a .3 (idle signal timer) delay as UV_RUN_ONCE would pause if there was no other active timer or IO watcher.
      
      Now, if there are still batches of callbacks to run, we explicitly use UV_RUN_NOWAIT to only poll for IO and queue callbacks without waiting at all.
      
      This gets the time for the synthetic greenlet-launching benchmarks to match libev-cffi and be close to libuv-cext.
      
      Fixes #1493
      b4ae48f1
  8. 17 Dec, 2019 1 commit
    • Jason Madden's avatar
      Get the spawn benchmark working again [skip ci] · 3c453c72
      Jason Madden authored
      Current results:
      
      | Benchmark             | gevent-libev-cext | gevent-libev-cffi             | gevent-libuv-cffi               |
      |-----------------------|-------------------|-------------------------------|---------------------------------|
      | gevent spawn          | 12.5 us           | 13.7 us: 1.10x slower (+10%)  | 14.2 us: 1.14x slower (+14%)    |
      | gevent sleep          | 2.09 us           | 3.16 us: 1.51x slower (+51%)  | 74.4 us: 35.64x slower (+3464%) |
      | geventpool sleep      | 3.46 us           | 6.20 us: 1.79x slower (+79%)  | 151 us: 43.58x slower (+4258%)  |
      | geventraw spawn       | 5.34 us           | 6.54 us: 1.22x slower (+22%)  | 6.38 us: 1.19x slower (+19%)    |
      | geventraw sleep       | 949 ns            | 1.66 us: 1.75x slower (+75%)  | 43.9 us: 46.25x slower (+4525%) |
      | geventpool join       | 1.57 us           | 3.43 us: 2.18x slower (+118%) | 88.2 us: 56.07x slower (+5507%) |
      | gevent spawn kwarg    | 14.2 us           | 12.4 us: 1.15x faster (-13%)  | 14.8 us: 1.04x slower (+4%)     |
      | geventraw spawn kwarg | 7.68 us           | 8.38 us: 1.09x slower (+9%)   | 8.47 us: 1.10x slower (+10%)    |
      | none spawn kwarg      | 771 ns            | 738 ns: 1.04x faster (-4%)    | 734 ns: 1.05x faster (-5%)      |
      
      Not significant (3): geventpool spawn; none spawn; geventpool spawn kwarg
      
      Refs #1493
      3c453c72
  9. 16 Dec, 2019 2 commits
  10. 12 Dec, 2019 1 commit
  11. 11 Dec, 2019 2 commits
  12. 08 Dec, 2019 4 commits
  13. 06 Dec, 2019 5 commits
  14. 05 Dec, 2019 2 commits
  15. 04 Dec, 2019 1 commit
  16. 03 Dec, 2019 2 commits
  17. 02 Dec, 2019 2 commits