MCPcopy Create free account

hub / github.com/benoitc/gunicorn / functions

Functions5,599 in github.com/benoitc/gunicorn

↓ 1 callersFunctionload_entry_point
(distribution, group, name)
gunicorn/util.py:79
↓ 1 callersMethodload_pasteapp
(self)
gunicorn/app/wsgiapp.py:49
↓ 1 callersMethodload_wsgiapp
(self)
gunicorn/app/wsgiapp.py:46
↓ 1 callersMethodlogger_class
(self)
gunicorn/config.py:180
↓ 1 callersFunctionmain
Main entry point for gunicornc CLI.
gunicorn/ctl/cli.py:392
↓ 1 callersFunctionmain
()
scripts/build_settings_doc.py:253
↓ 1 callersFunctionmain
()
tests/docker/asgi_framework_compat/scripts/generate_grid.py:156
↓ 1 callersFunctionmain
()
examples/http2_features/test_http2.py:247
↓ 1 callersFunctionmain
()
examples/dirty_example/test_integration.py:45
↓ 1 callersFunctionmain
Run all tests.
examples/dirty_example/test_stash_integration.py:173
↓ 1 callersFunctionmain
()
benchmarks/dirty_benchmark.py:891
↓ 1 callersFunctionmain
()
benchmarks/run_benchmark.py:180
↓ 1 callersFunctionmain
()
benchmarks/http_parser_benchmark.py:221
↓ 1 callersFunctionmain
()
benchmarks/dirty_streaming.py:728
↓ 1 callersFunctionmain
()
benchmarks/asgi/run.py:268
↓ 1 callersFunctionmain
()
benchmarks/asgi/report.py:127
↓ 1 callersFunctionmain
()
benchmarks/asgi/_launch.py:19
↓ 1 callersFunctionmain
()
benchmarks/asgi/profile_requests.py:251
↓ 1 callersFunctionmake_aiohttp_app
(app)
examples/frameworks/flaskapp_aiohttp_wsgi.py:22
↓ 1 callersFunctionmake_app
()
examples/frameworks/tornadoapp.py:22
↓ 1 callersFunctionmake_protocol
(app)
tests/test_asgi_http2_response.py:19
↓ 1 callersFunctionmake_request
()
tests/test_asgi_http2_response.py:32
↓ 1 callersFunctionmake_settings
(ignore=None)
gunicorn/config.py:31
↓ 1 callersMethodmanage_dirty_arbiter
\ Maintain the dirty arbiter process by respawning if needed.
gunicorn/arbiter.py:991
↓ 1 callersFunctionmap_exception
Map a WSGI exception class to equivalent ASGI parser exceptions. Args: wsgi_exc: The expected WSGI exception class http_parser: P
tests/treq_asgi.py:130
↓ 1 callersMethodmark
Tracebacks logged before this test do not count against it.
tests/test_http2_live.py:88
↓ 1 callersMethodmaybe_promote_master
(self)
gunicorn/arbiter.py:379
↓ 1 callersFunctionmeasure_alloc
Memory still held after ``count`` requests (a leak check), and the peak of traced memory while they ran. tracemalloc snapshots only show what
benchmarks/asgi/profile_requests.py:229
↓ 1 callersFunctionmeasure_calls
(server, request, count, access_log)
benchmarks/asgi/profile_requests.py:196
↓ 1 callersFunctionmeasure_cprofile
(server, request, count, top, access_log)
benchmarks/asgi/profile_requests.py:216
↓ 1 callersFunctionmeasure_time
(server, request, count, batches, access_log)
benchmarks/asgi/profile_requests.py:184
↓ 1 callersMethodmemory_usage
(self, pid)
examples/when_ready.conf.py:21
↓ 1 callersMethodnotify
(self)
gunicorn/workers/ggevent.py:47
↓ 1 callersFunctionnumber_of_workers
()
examples/standalone_app.py:19
↓ 1 callersMethodon_exit
(server)
gunicorn/config.py:2155
↓ 1 callersMethodon_pending_socket_readable
Handle a pending (deferred) connection becoming readable.
gunicorn/workers/gthread.py:341
↓ 1 callersMethodon_reload
(server)
gunicorn/config.py:1927
↓ 1 callersMethodon_starting
(server)
gunicorn/config.py:1911
↓ 1 callersMethodparse
Parse a uWSGI request asynchronously. Args: cfg: gunicorn config object unreader: AsyncUnreader instance
gunicorn/asgi/uwsgi.py:66
↓ 1 callersMethodparse
Parse uWSGI packet header and vars block.
gunicorn/uwsgi/message.py:90
↓ 1 callersFunctionparse_ab_output
Parse ab output to extract metrics.
benchmarks/run_benchmark.py:131
↓ 1 callersMethodparse_chunked
(self, unreader)
gunicorn/http/body.py:100
↓ 1 callersMethodparse_request_line
(self, line_bytes)
gunicorn/http/message.py:921
↓ 1 callersFunctionparse_results
Parse pytest JSON results into framework/category structure.
tests/docker/asgi_framework_compat/scripts/generate_grid.py:37
↓ 1 callersFunctionparse_syslog_address
(addr)
gunicorn/glogging.py:118
↓ 1 callersFunctionparse_wrk_output
Parse wrk output to extract metrics.
benchmarks/run_benchmark.py:112
↓ 1 callersMethodpost_fork
(server, worker)
gunicorn/config.py:1976
↓ 1 callersFunctionpost_request
(worker, req, environ, resp)
tests/test_asgi_config_cache.py:89
↓ 1 callersMethodpost_request
(data)
tests/docker/uwsgi/test_uwsgi_integration.py:259
↓ 1 callersMethodpost_worker_init
(worker)
gunicorn/config.py:1993
↓ 1 callersMethodpre_exec
(server)
gunicorn/config.py:2049
↓ 1 callersMethodpre_fork
(server, worker)
gunicorn/config.py:1959
↓ 1 callersFunctionpreface_match
Compare buffered bytes against the connection preface. Returns ``MATCH`` when the whole preface is present, ``PARTIAL`` when the bytes so far
gunicorn/http2/negotiation.py:29
↓ 1 callersFunctionprint_result
Print benchmark result.
benchmarks/http_parser_benchmark.py:157
↓ 1 callersMethodprocess_headers
(self, headers)
gunicorn/http/wsgi.py:392
↓ 1 callersFunctionprocess_owned_by_us
False when the process is gone or belongs to another user. Uses /proc on Linux. Where /proc is not available, os.kill() itself refuses to si
gunicorn/dirty/pidfile.py:47
↓ 1 callersFunctionproxy_environ
(req)
gunicorn/http/wsgi.py:108
↓ 1 callersMethodproxy_protocol_access_check
Check if proxy protocol is allowed from this peer.
gunicorn/http/message.py:760
↓ 1 callersFunctionrandom_bytes
Generate random bytes for testing.
tests/docker/asgi_framework_compat/conftest.py:195
↓ 1 callersFunctionread_body
Read the full request body.
examples/http2_features/http2_app.py:262
↓ 1 callersFunctionread_body
Read the full request body.
examples/asgi/basic_app.py:87
↓ 1 callersMethodread_line
Read a line from buffer, returning (line, remaining_buffer).
gunicorn/http/message.py:708
↓ 1 callersMethodreceive
()
tests/test_asgi_worker.py:509
↓ 1 callersFunctionredirect
(stream, fd_expect)
gunicorn/util.py:594
↓ 1 callersMethodrefresh_dirs
(self)
gunicorn/reloader.py:125
↓ 1 callersFunctionrender_settings
()
scripts/build_settings_doc.py:220
↓ 1 callersFunctionreqId
()
tests/docker/stress/k6/lib/checks.js:17
↓ 1 callersFunctionrespond
(status, headers, body)
tests/docker/stress/apps/stress_app.py:62
↓ 1 callersMethodrestart_gunicorn
Restart gunicorn in the container.
tests/docker/dirty_arbiter/test_parent_death.py:269
↓ 1 callersFunctionrun
(apply)
tests/test_asgi_request_build.py:209
↓ 1 callersMethodrun
Main master loop.
gunicorn/arbiter.py:241
↓ 1 callersFunctionrun_ab_benchmark
Run Apache Bench benchmark and return results.
benchmarks/run_benchmark.py:99
↓ 1 callersFunctionrun_basic_test
Run a basic test without pytest.
examples/http2_gevent/test_http2_gevent.py:245
↓ 1 callersFunctionrun_benchmark_suite
Run a suite of benchmarks.
benchmarks/run_benchmark.py:144
↓ 1 callersFunctionrun_benchmark_suite
Run a complete benchmark suite for a request type.
benchmarks/http_parser_benchmark.py:171
↓ 1 callersFunctionrun_command
Execute single command and exit. Args: socket_path: Path to control socket command: Command to execute json_output:
gunicorn/ctl/cli.py:269
↓ 1 callersFunctionrun_config_sweep
Sweep through different configurations to find optimal settings. Tests combinations of workers and threads.
benchmarks/dirty_benchmark.py:773
↓ 1 callersMethodrun_for_multiple
(self, timeout)
gunicorn/workers/sync.py:87
↓ 1 callersMethodrun_for_one
(self, timeout)
gunicorn/workers/sync.py:58
↓ 1 callersFunctionrun_full_benchmarks
Run full benchmark suite including stress tests.
benchmarks/dirty_streaming.py:692
↓ 1 callersFunctionrun_h2spec
Run h2spec against one worker inside the compose network. Returns (passed, failed, [failing case descriptions], full output).
tests/docker/h2spec/conftest.py:79
↓ 1 callersFunctionrun_interactive
Run interactive CLI with readline support. Args: socket_path: Path to control socket json_output: If True, output raw JSON
gunicorn/ctl/cli.py:302
↓ 1 callersFunctionrun_isolated_suite
Run the full isolated benchmark suite.
benchmarks/dirty_benchmark.py:525
↓ 1 callersFunctionrun_payload_suite
Run payload size benchmark suite.
benchmarks/dirty_benchmark.py:647
↓ 1 callersMethodrun_python_benchmark
Run benchmark using Python urllib. Fallback when wrk/ab not available.
benchmarks/dirty_benchmark.py:483
↓ 1 callersFunctionrun_quick_benchmarks
Run quick benchmarks.
benchmarks/dirty_streaming.py:674
↓ 1 callersFunctionrun_quick_test
Run a quick smoke test.
benchmarks/dirty_benchmark.py:723
↓ 1 callersFunctionrun_stream
(stream_id)
benchmarks/dirty_streaming.py:334
↓ 1 callersMethodrun_wrk
Run wrk benchmark and parse results.
benchmarks/dirty_benchmark.py:406
↓ 1 callersFunctionrun_wrk_benchmark
Run wrk benchmark and return results.
benchmarks/run_benchmark.py:85
↓ 1 callersFunctionsafe_json_serialize
Recursively convert an object to JSON-serializable form.
tests/docker/asgi_framework_compat/frameworks/starlette_app/app.py:48
↓ 1 callersFunctionsafe_json_serialize
Recursively convert an object to JSON-serializable form.
tests/docker/asgi_framework_compat/frameworks/fastapi_app/app.py:43
↓ 1 callersMethodsame
(self, req, sizer, matcher, exp)
tests/treq.py:291
↓ 1 callersMethodsave_json
(self, filepath)
benchmarks/dirty_streaming.py:198
↓ 1 callersFunctionscenario
(name)
tests/docker/stress/k6/lib/checks.js:78
↓ 1 callersMethodsend
(self, data)
tests/test_gthread.py:45
↓ 1 callersMethodsend
(self)
tests/treq.py:318
↓ 1 callersMethodsend
Send a message to the browser. *message* should be convertible to a string; unicode objects should be encodable as utf-8. Raises soc
examples/websocket/gevent_websocket.py:354
↓ 1 callersMethodsend_email
Send a single email. Equivalent to Celery: @app.task def send_email(to, subject, body): ...
examples/celery_alternative/tasks.py:73
↓ 1 callersFunctionsend_error
Send an error response.
tests/docker/asgi_compliance/apps/lifespan_app.py:284
← previousnext →1,301–1,400 of 5,599, ranked by callers