• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

gevent / gevent
84%
master: 78%

Build:
Build:
LAST BUILD BRANCH: 25.9.1
DEFAULT BRANCH: master
Repo Added 16 Sep 2015 07:09PM UTC
Files 1530
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH opt-greenlet
branch: opt-greenlet
CHANGE BRANCH
x
Reset
  • opt-greenlet
  • 1.3.6
  • 1.3.7
  • 1.3a2
  • 1.4.0
  • 1.5.0
  • 1.5a3
  • 1.5a4
  • 20.04.0
  • 20.5.0
  • 20.5.1
  • 20.5.2
  • 20.6.0
  • 20.6.1
  • 20.6.2
  • 20.9.0
  • 21.12.0
  • 21.8.0
  • 2100
  • 22.08.0
  • 22.10.2
  • 23.7.0
  • 23.9.0
  • 23.9.0.post1
  • 23.9.1
  • 24.10.1
  • 24.10.2
  • 24.10.3
  • 24.11.1
  • 24.2.1
  • 25.4.1
  • 25.4.2
  • 25.5.1
  • 25.8.1
  • 25.9.1
  • 3.7.0b3
  • 37b4
  • RLock-acquire-timeout
  • add-contextvars
  • appease-pylint
  • appveyor-37
  • ares-win
  • better-chunked-handling
  • cares-1.17.1
  • ccache
  • cffi-win
  • combine-tests
  • completely-remove-fast-math
  • config-issue1090
  • configure-caching
  • cov-test
  • cython-3rc2
  • cython-def-goes-away
  • cython-tracer
  • cython-waiter
  • cython28b1
  • cython29
  • dependabot/github_actions/github-actions-088cad1836
  • dependabot/github_actions/github-actions-13fff53659
  • dependabot/github_actions/github-actions-5da8da3d55
  • dependabot/github_actions/github-actions-5e72becc27
  • dependabot/github_actions/github-actions-a331d3ec2d
  • dev-mode-tests
  • dnspython
  • dnspython-hosts
  • dnspython-nonmonkey
  • drop-obsolete-py
  • drop-path-import-support
  • faster-locals
  • faster-stack
  • fileobject-37-testing
  • github-actions
  • github-workflow-pypy
  • greenlet0417
  • greenlet10a1
  • issue-1909
  • issue1004
  • issue1012
  • issue1062
  • issue1084
  • issue1089
  • issue1098
  • issue1103
  • issue1105
  • issue1108
  • issue1112
  • issue1118
  • issue1127
  • issue1136
  • issue1157
  • issue1172
  • issue1180
  • issue1182
  • issue1185
  • issue1195
  • issue1197
  • issue1201
  • issue1211
  • issue1212
  • issue1217
  • issue1227
  • issue1233
  • issue1236
  • issue1248
  • issue1252
  • issue1258
  • issue1260
  • issue1266
  • issue1275
  • issue1282
  • issue1287
  • issue1293
  • issue1295
  • issue1296
  • issue1302
  • issue1306
  • issue1308
  • issue1310
  • issue1318
  • issue1321
  • issue1324
  • issue1331
  • issue1349
  • issue1363
  • issue1365
  • issue1366
  • issue1367
  • issue1371
  • issue1372
  • issue1373
  • issue1373-2
  • issue1389
  • issue1395
  • issue1400
  • issue1409
  • issue1410
  • issue1411
  • issue1412
  • issue1437
  • issue1461
  • issue1464
  • issue1466
  • issue1473
  • issue1480
  • issue1482
  • issue1484
  • issue1487
  • issue1493
  • issue1507
  • issue1510
  • issue1520
  • issue1532
  • issue1540
  • issue1542
  • issue1564
  • issue1569
  • issue1570
  • issue1572
  • issue1587
  • issue1588
  • issue1597
  • issue1599
  • issue1599redux
  • issue1601
  • issue1606
  • issue1619
  • issue1621
  • issue1623
  • issue1624
  • issue1628
  • issue1631
  • issue1634
  • issue1637
  • issue1641
  • issue1648
  • issue1659
  • issue1663
  • issue1686
  • issue1698
  • issue1704
  • issue1708
  • issue1711
  • issue1712
  • issue1724
  • issue1735
  • issue1739.py
  • issue1745
  • issue1760
  • issue1798
  • issue1814
  • issue1837
  • issue1839
  • issue1843
  • issue1847
  • issue1851
  • issue1895
  • issue1948-cares-1_19_1
  • issue1957
  • issue1985
  • issue2068
  • issue2070
  • issue2076
  • issue2084
  • issue2102
  • issue2111
  • issue2114
  • issue2136
  • issue2139
  • issue755
  • issue_2126
  • issue_747
  • jam-py311-wip
  • libev-4.31
  • libev-4.33
  • libev-cffi-cleanup
  • libev-regen
  • libev425
  • libuv-1,24
  • libuv-1.20.1
  • libuv-1.23.2
  • libuv-1.34.0
  • libuv-1.40
  • libuv-1.51
  • libuv-queue
  • libuv-warning-cleanup
  • libuv-win-default
  • libuv1.19.2
  • libuv1.21
  • libuv120
  • libuv127
  • limit-ssl-warning
  • locals-debug
  • macos_std
  • maint/1.1.x
  • master
  • mem-monitor
  • monitor-events
  • monitor-threads
  • os_nb_write_read_closes_event
  • plugins
  • point-release-breaks-threads
  • ppc-support
  • py-367-371
  • py-ver-updates
  • py2-future-shadow
  • py310final
  • py311leakchecks
  • py313
  • py314a7
  • py3_12_1
  • pylint
  • pylintissues
  • pypy-subproc-error
  • python-updates
  • python3.12
  • python3.14b1
  • sendall-py3-pypy
  • socket-close-fix
  • source-reorg
  • stages
  • static-libuv-patch
  • stop-switching-to-hub-after-fork
  • support-3.10
  • test-newer-psutil-pypy
  • test-updates
  • test36
  • threadpool-opts
  • travis-updates
  • update-3.7.0b2
  • update-config
  • update-local-mac-build
  • update-pypy
  • update-travis-python
  • urllib3-deadlock
  • ver-updates
  • win-pypy6
  • y/file-readinto

pending completion
2662

push

travis-ci

jamadden
Introduce GEVENT_TRACK_GREENLET_TREE to disable greenlet tree features

As a performance optimization for applications where spawning
greenlets is critical. Plus some other optimizations to speed up
spawning in the general case.

CPython 3.6 with 1.2.2 vs these changes with tracking disabled:

| Benchmark              | 36_122_bench_spawn | 36config_bench_spawn_tree_off |
+------------------------+--------------------+-------------------------------+
| eventlet spawn         | 12.6 us            | 12.2 us: 1.04x faster (-4%)   |
| eventlet sleep         | 5.22 us            | 4.97 us: 1.05x faster (-5%)   |
| gevent spawn           | 4.27 us            | 5.06 us: 1.19x slower (+19%)  |
| gevent sleep           | 2.63 us            | 1.25 us: 2.11x faster (-53%)  |
| geventpool spawn       | 9.00 us            | 8.31 us: 1.08x faster (-8%)   |
| geventpool sleep       | 4.82 us            | 2.83 us: 1.70x faster (-41%)  |
| geventraw spawn        | 2.51 us            | 2.81 us: 1.12x slower (+12%)  |
| geventraw sleep        | 649 ns             | 679 ns: 1.05x slower (+5%)    |
| geventpool join        | 3.47 us            | 1.42 us: 2.44x faster (-59%)  |
| geventpool spawn kwarg | 11.0 us            | 8.95 us: 1.23x faster (-19%)  |
| geventraw spawn kwarg  | 3.87 us            | 4.20 us: 1.08x slower (+8%)   |

The differences compared to master are hard to quantify because the
standard deviation ends up being more than 10% of the mean in many
cases---and about a 10% improvement is what we typically see, so it
goes back and forth.

74 of 74 new or added lines in 4 files covered. (100.0%)

9226 of 11008 relevant lines covered (83.81%)

2.02 hits per line

Relevant lines Covered
Build:
Build:
11008 RELEVANT LINES 9226 COVERED LINES
2.02 HITS PER LINE
Source Files on opt-greenlet
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
2662 opt-greenlet Introduce GEVENT_TRACK_GREENLET_TREE to disable greenlet tree features As a performance optimization for applications where spawning greenlets is critical. Plus some other optimizations to speed up spawning in the general case. CPython 3.6 with ... push 17 Mar 2018 07:03PM UTC jamadden travis-ci pending completion  
See All Builds (2178)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc