Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gevent
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
gevent
Commits
c2e65dbc
Commit
c2e65dbc
authored
Mar 24, 2018
by
Jason Madden
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add benchmark for plain greenlet pools.
parent
c61eb0a3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
0 deletions
+16
-0
benchmarks/bench_pool.py
benchmarks/bench_pool.py
+16
-0
No files found.
benchmarks/bench_pool.py
0 → 100644
View file @
c2e65dbc
# -*- coding: utf-8 -*-
"""
Benchmarks for greenlet pool.
"""
from
__future__
import
absolute_import
from
__future__
import
division
from
__future__
import
print_function
import
gevent.pool
import
bench_threadpool
bench_threadpool
.
ThreadPool
=
gevent
.
pool
.
Pool
if
__name__
==
'__main__'
:
bench_threadpool
.
main
()
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment