1. 15 May, 2018 1 commit
  2. 11 May, 2018 3 commits
  3. 07 May, 2018 6 commits
  4. 05 May, 2018 1 commit
  5. 04 May, 2018 2 commits
    • Jason Madden's avatar
      Update config.guess/sub to latest versions. · 99de56bb
      Jason Madden authored
      99de56bb
    • Jason Madden's avatar
      Run leakchecks on Python 3.7. · e199273c
      Jason Madden authored
      Fixes #1197
      
      Switch to objgraph to handle the measurement for us. That cleared up a
      few of the obscure issues with references to
      functions/getset_descriptors and the like. (Possibly because it keys
      by string names and we were keeping type objects alive.)
      
      Many of the real failures were due to re-using exception instances,
      which is bad because of chaining.
      
      Most of the @ignore_leakcheck are for performance, only one is for a
      real issue---and that test was skipped already on CI anyway for being
      too flaky.
      e199273c
  6. 03 May, 2018 6 commits
  7. 29 Apr, 2018 1 commit
  8. 27 Apr, 2018 2 commits
  9. 26 Apr, 2018 5 commits
  10. 25 Apr, 2018 5 commits
  11. 23 Apr, 2018 6 commits
    • Jason Madden's avatar
      Merge pull request #1190 from gevent/cython-tracer · ab5272c5
      Jason Madden authored
      Compile the monitor greenlet tracer with Cython
      ab5272c5
    • Jason Madden's avatar
      Compile the monitor greenlet tracer with Cython. · aa911ed0
      Jason Madden authored
      This makes things 54% faster. In fact, the monitor tracer is now faster than a trivial tracer implemented in python (settrace(lambda e, a: None)).
      
      +-------------------+-----------------+-----------------------------+
      | Benchmark         | 37_bench_tracer | 37_bench_tracer_cython_opt3 |
      +===================+=================+=============================+
      | monitor tracer    | 1.62 us         | 739 ns: 2.20x faster (-54%) |
      +-------------------+-----------------+-----------------------------+
      | max switch tracer | 3.06 us         | 874 ns: 3.50x faster (-71%) |
      +-------------------+-----------------+-----------------------------+
      | hub switch tracer | 2.16 us         | 815 ns: 2.66x faster (-62%) |
      +-------------------+-----------------+-----------------------------+
      
      Not significant (2): no tracer; trivial tracer
      aa911ed0
    • Jason Madden's avatar
      Move the greenlet tracers to their own file and compile with cython. · 4231079a
      Jason Madden authored
      Unoptimized still makes them 25% faster:
      
      +-------------------+-----------------+------------------------------+
      | Benchmark         | 37_bench_tracer | 37_bench_tracer_first_cython |
      +===================+=================+==============================+
      | trivial tracer    | 792 ns          | 786 ns: 1.01x faster (-1%)   |
      +-------------------+-----------------+------------------------------+
      | monitor tracer    | 1.62 us         | 1.24 us: 1.31x faster (-24%) |
      +-------------------+-----------------+------------------------------+
      | max switch tracer | 3.06 us         | 1.89 us: 1.62x faster (-38%) |
      +-------------------+-----------------+------------------------------+
      | hub switch tracer | 2.16 us         | 1.68 us: 1.29x faster (-22%) |
      +-------------------+-----------------+------------------------------+
      4231079a
    • Jason Madden's avatar
      Add benchmark for greenlet tracers. [skip ci] · 596773a1
      Jason Madden authored
      Current numbers on 3.7b3:
      
      no tracer: Mean +- std dev: 414 ns +- 10 ns
      trivial tracer: Mean +- std dev: 792 ns +- 16 ns
      monitor tracer: Mean +- std dev: 1.62 us +- 0.12 us
      max switch tracer: Mean +- std dev: 3.06 us +- 0.12 us
      hub switch tracer: Mean +- std dev: 2.16 us +- 0.04 us
      596773a1
    • Jason Madden's avatar
      Merge pull request #1189 from felixonmars/patch-2 · 58754ba8
      Jason Madden authored
      Fix a typo [skip ci]
      58754ba8
    • Felix Yan's avatar
      Fix a typo · 9633ecc9
      Felix Yan authored
      9633ecc9
  12. 20 Apr, 2018 2 commits
    • Jason Madden's avatar
      Merge pull request #1187 from gevent/static-libuv-patch · c733e399
      Jason Madden authored
      Make the libuv run QUEUE part of the loop.
      c733e399
    • Jason Madden's avatar
      Make the libuv run QUEUE part of the loop. · 0df38a9b
      Jason Madden authored
      Benchmarking (link in the email) showed that malloc/free had substantial and widely varying overhead.
      
      I didn't really see much of a difference in the gevent benchmarks, but I didn't run them all. However, if any patch gets upstreamed, it will probably be something like this.
      
      The link referenced in the email contains the discussion on the libuv mailing list.
      0df38a9b