MCPcopy Create free account

hub / github.com/locustio/locust / functions

Functions1,982 in github.com/locustio/locust

↓ 2 callersMethodupsert
(self, data)
locust/contrib/milvus.py:32
↓ 2 callersFunctionuseCreateTheme
()
locust/webui/src/hooks/useCreateTheme.ts:7
↓ 2 callersFunctionuseFetchExceptions
()
locust/webui/src/hooks/useFetchExceptions.ts:9
↓ 2 callersFunctionuseFetchStats
()
locust/webui/src/hooks/useFetchStats.ts:13
↓ 2 callersFunctionuseFetchTasks
()
locust/webui/src/hooks/useFetchTasks.ts:9
↓ 2 callersFunctionuseLogViewer
()
locust/webui/src/components/LogViewer/useLogViewer.ts:15
↓ 2 callersFunctionuseNotifications
( data: any[], { key, shouldNotify }: { key: string; shouldNotify?: (key: string) => boolean }, )
locust/webui/src/hooks/useNotifications.ts:6
↓ 2 callersFunctionuseSortByField
( rows: Row[], { hasTotalRow = false, defaultSortKey = 'name' as keyof Row }: ISortByFieldOptions<Row> = {
locust/webui/src/hooks/useSortByField.ts:27
↓ 2 callersFunctionvalidate
( name: string, value: string, rules: ValidationRules, { onlyDelete } = { onlyDelete: false },
locust/webui/src/hooks/useForm.ts:21
↓ 1 callersMethodSayHello
( request, target, options=(), channel_credentials=None, call_credenti
examples/grpc/hello_pb2_grpc.py:51
↓ 1 callersMethod__exit__
(self, exc, value, traceback)
locust/clients.py:399
↓ 1 callersMethod__init__
(self)
locust/event.py:289
↓ 1 callersMethod__init__
(self, environment: Environment, percentiles_to_report: list[float])
locust/stats.py:1000
↓ 1 callersMethod__init__
(self, environment: Environment)
locust/contrib/mqtt.py:531
↓ 1 callersMethod__init__
(self, *args, **kwargs)
locust/contrib/mongodb.py:36
↓ 1 callersMethod__init__
(self, *args, **kwargs)
locust/contrib/socketio.py:95
↓ 1 callersMethod__init__
(self, *args, **kwargs)
locust/contrib/oai.py:67
↓ 1 callersMethod__init__
(self, environment)
locust/user/users.py:131
↓ 1 callersMethod__init__
(self, host, port)
locust/rpc/zmqrpc.py:78
↓ 1 callersMethod__init__
(self, environment)
examples/grpc/grpc_user.py:54
↓ 1 callersMethod__init__
(self, environment)
examples/custom_xmlrpc_client/xmlrpc_locustfile.py:50
↓ 1 callersMethod__init__
(self, *args, **kwargs)
examples/custom_shape/wait_user_count.py:18
↓ 1 callersMethod_add_users_on_workers
Add users on the workers until the target number of users is reached for the current dispatch iteration :return: The users that we want to ru
locust/dispatch.py:291
↓ 1 callersFunction_aggregate_dispatched_users
(d: dict[str, dict[str, int]])
locust/runners.py:1526
↓ 1 callersMethod_build_url
prepend url with hostname unless it's already an absolute URL
locust/clients.py:126
↓ 1 callersMethod_build_url
prepend url with hostname unless it's already an absolute URL
locust/contrib/fasthttp.py:159
↓ 1 callersMethod_dispatcher
(self)
locust/dispatch.py:152
↓ 1 callersFunction_doctree_to_markdown
Convert a Sphinx doctree to Markdown using sphinx-markdown-builder's translator.
docs/_ext/llms_txt.py:78
↓ 1 callersMethod_fire_recall_event
Emit a Locust request event for recall metric using recall value instead of response time.
locust/contrib/milvus.py:336
↓ 1 callersFunction_generate_llms_full_txt
Generate the llms-full.txt full content.
docs/_ext/llms_txt.py:188
↓ 1 callersFunction_generate_llms_txt
Generate the llms.txt index content.
docs/_ext/llms_txt.py:162
↓ 1 callersFunction_generate_mqtt_event_name
Generate a name to identify publish/subscribe tasks. This will be used to ultimately identify tasks in the Locust web console. This will iden
locust/contrib/mqtt.py:44
↓ 1 callersFunction_generate_random_id
Generate a random ID from the given alphabet. Args: length: the number of random characters to generate. alphabet: the pool of ra
locust/contrib/mqtt.py:31
↓ 1 callersFunction_get_first_paragraph
Extract the first paragraph text from a doctree for use as a description.
docs/_ext/llms_txt.py:91
↓ 1 callersFunction_get_section_groups
Parse the master document's toctree to get section groups. Returns a list of (section_title, [docnames]) pairs based on the master doc structure.
docs/_ext/llms_txt.py:110
↓ 1 callersMethod_log_response_time
(self, response_time: int)
locust/stats.py:391
↓ 1 callersMethod_log_time_of_request
(self, current_time: float)
locust/stats.py:386
↓ 1 callersMethod_loop_selectors
(self, timeout: float = 1.0)
locust/contrib/mqtt.py:343
↓ 1 callersFunction_make_environment
()
locust/test/test_csv_request_logger.py:13
↓ 1 callersMethod_on_subscribe_cb_v3x
( self, client: mqtt.Client, userdata: typing.Any, mid: int, granted_q
locust/contrib/mqtt.py:168
↓ 1 callersMethod_open
Open (or re-open) the CSV file and write the header row.
locust/contrib/csv_request_logger.py:139
↓ 1 callersFunction_parse_locustfile_path
(path: str)
locust/argument_parser.py:169
↓ 1 callersFunction_print_task_ratio
(x, level=0)
locust/user/inspectuser.py:44
↓ 1 callersMethod_remove_users_from_workers
Remove users from the workers until the target number of users is reached for the current dispatch iteration :return: The users that we want
locust/dispatch.py:313
↓ 1 callersMethod_send_request_safe_mode
Send an HTTP request, and catch any exception that might occur due to connection problems. Safe mode has been removed from requests
locust/clients.py:243
↓ 1 callersMethod_send_request_safe_mode
Send an HTTP request, and catch any exception that might occur due to either connection problems, or invalid HTTP status codes
locust/contrib/fasthttp.py:166
↓ 1 callersFunction_setup_auto_instrumentation
()
locust/opentelemetry.py:229
↓ 1 callersFunction_setup_logger_provider
(resource, logs_exporters)
locust/opentelemetry.py:171
↓ 1 callersFunction_setup_meter_provider
(resource, metrics_exporters)
locust/opentelemetry.py:120
↓ 1 callersFunction_setup_tracer_provider
(resource, traces_exporters)
locust/opentelemetry.py:75
↓ 1 callersMethod_sleep
(self, seconds)
locust/user/task.py:470
↓ 1 callersMethod_start
Start running a load test :param user_count: Total number of users to start :param spawn_rate: Number of users to spawn per
locust/runners.py:466
↓ 1 callersMethod_stats_history_data_rows
Write CSV rows with the *current* stats. By default only includes the Aggregated stats entry, but if self.full_history is set to True
locust/stats.py:1195
↓ 1 callersMethod_update_user_classes
(self, user_classes)
locust/web.py:770
↓ 1 callersFunctionaddColumn
(column: string)
locust/webui/src/hooks/useSelectViewColumns.ts:14
↓ 1 callersFunctionaddSpaceToChartsBetweenTests
(charts: ICharts)
locust/webui/src/redux/slice/ui.slice.ts:52
↓ 1 callersFunctioncache_csv
Returns the cache stats as CSV.
examples/web_ui_cache_stats.py:147
↓ 1 callersFunctioncanSubmitSwarmForm
({ isDisabled, isDistributed, workerCount, }: ICanSubmitForm)
locust/webui/src/components/SwarmForm/SwarmForm.tsx:84
↓ 1 callersMethodclose
(self)
locust/contrib/qdrant.py:26
↓ 1 callersMethodclose
(self)
locust/contrib/postgres.py:33
↓ 1 callersMethodconnect
(self, *args, **kwargs)
locust/test/test_socketio.py:13
↓ 1 callersMethodconnect_to_master
(self)
locust/runners.py:1496
↓ 1 callersFunctionconstant_throughput
Returns a function that will track the run time of the tasks, and for each time it's called it will return a wait time that will try to make
locust/user/wait_time.py:63
↓ 1 callersFunctioncontent_length_csv
Returns the content-length stats as CSV.
examples/extend_web_ui.py:125
↓ 1 callersFunctioncreateStore
(initialState = {})
locust/webui/src/test/testUtils.tsx:8
↓ 1 callersFunctioncreateYAxis
({ splitAxis, yAxisLabels, }: Pick<ILineChart<ChartType>, 'splitAxis' | 'yAxisLabels'>)
locust/webui/src/components/LineChart/LineChart.utils.ts:36
↓ 1 callersMethodcreate_collection
(self, vectors_config, **kwargs)
locust/contrib/qdrant.py:29
↓ 1 callersFunctiondecorator_func
(func)
locust/user/task.py:78
↓ 1 callersFunctiondefault_args_dict
()
locust/argument_parser.py:921
↓ 1 callersFunctiondfs
(task_name)
locust/user/markov_taskset.py:201
↓ 1 callersFunctiondownload_locustfile_from_master
(master_host: str, master_port: int)
locust/argument_parser.py:263
↓ 1 callersFunctiondownload_locustfile_from_url
Attempt to download and save locustfile from url. Returns path to downloaded file.
locust/argument_parser.py:192
↓ 1 callersMethodemit
(self, *args, **kwargs)
locust/test/test_socketio.py:14
↓ 1 callersMethodexceptions_flush
(self)
locust/stats.py:1243
↓ 1 callersMethodexecute_task
(self, task)
locust/user/task.py:398
↓ 1 callersMethodfailures_csv
(self, csv_writer: CSVWriter)
locust/stats.py:1072
↓ 1 callersMethodfailures_flush
(self)
locust/stats.py:1240
↓ 1 callersFunctionfilterStructure
(structure: ITableStructure[])
locust/webui/src/hooks/useSelectViewColumns.ts:10
↓ 1 callersFunctionflatten
(array: any[])
locust/webui/src/utils/array.ts:1
↓ 1 callersFunctiongenerate
()
locust/test/testcases.py:123
↓ 1 callersFunctiongetInputValue
(inputElement: HTMLInputElement | HTMLSelectElement)
locust/webui/src/components/Form/Form.tsx:14
↓ 1 callersFunctiongetLogColor
(log: string)
locust/webui/src/components/LogViewer/LogDisplay.tsx:4
↓ 1 callersFunctiongetRatioPercent
(ratio: number)
locust/webui/src/components/SwarmRatios/SwarmRatios.tsx:4
↓ 1 callersFunctionget_cache_stats
This is used by the Cache tab in the extended web UI to show the stats.
examples/web_ui_cache_stats.py:69
↓ 1 callersFunctionget_content_length_stats
This is used by the Content Length tab in the extended web UI to show the stats.
examples/extend_web_ui.py:54
↓ 1 callersFunctionget_error_report_summary
(stats)
locust/stats.py:932
↓ 1 callersFunctionget_markov_tasks
Extracts all Markov tasks from a class dictionary. This function is used internally by MarkovTaskSetMeta to find all methods that have b
locust/user/markov_taskset.py:124
↓ 1 callersFunctionget_percentile_stats_summary
Percentile stats summary will be returned as list of string
locust/stats.py:901
↓ 1 callersFunctionget_poller
()
locust/input_events.py:91
↓ 1 callersMethodget_recall
Calculate recall for V2 client search results.
locust/contrib/milvus.py:200
↓ 1 callersFunctionget_stats_summary
stats summary will be returned as list of string
locust/stats.py:875
↓ 1 callersFunctiongt_zero
(t)
locust/argument_parser.py:435
↓ 1 callersFunctionhandleToggleUserSelected
(name: string)
locust/webui/src/components/SwarmForm/SwarmUserClassPicker.tsx:105
↓ 1 callersMethodhandle_message
(self, client_id: str, msg: Message)
locust/runners.py:1015
↓ 1 callersMethodhandle_message
(self, msg: Message)
locust/runners.py:1365
↓ 1 callersFunctionhandler
(greenlet)
locust/runners.py:69
↓ 1 callersFunctionhelper_function
(session: HttpSession)
examples/test_pytest.py:39
↓ 1 callersMethodindex
(self)
locust/test/test_env.py:77
↓ 1 callersMethodindex_page
(self)
examples/browse_docs_test.py:18
↓ 1 callersFunctioninit
(environment: Environment, **_kwargs: Any)
examples/test_data_management.py:53
← previousnext →301–400 of 1,982, ranked by callers