Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitaly.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWill Chandler <wchandler@gitlab.com>2023-01-06 06:39:49 +0300
committerWill Chandler <wchandler@gitlab.com>2023-01-17 20:28:17 +0300
commitf4bbc120cc27cd3f4600e803225f9d4a12e52cc2 (patch)
tree38e8ad8848bf3181ae80253347cdc5ab27c1d5dd /_support
parent7e80ece2ebfd82776285c83362e6874dacb5b26a (diff)
benchmarking: Add Ansible config
Ansible can run slowly when performing a large number of operations, and determining which tasks are slow is difficult with the default output. Mitigate these issues by enabling pipelining[0], which speeds things up dramatically and is compatible with the Ubuntu 22.04 hosts we're using, and the `profile_tasks` callback[1] which print the start time of each task during execution and a summary of task times on completion. [0] https://docs.ansible.com/ansible/latest/reference_appendices/config.html#ansible-pipelining [1] https://docs.ansible.com/ansible/latest/collections/ansible/posix/profile_tasks_callback.html
Diffstat (limited to '_support')
-rw-r--r--_support/benchmarking/ansible.cfg5
1 files changed, 5 insertions, 0 deletions
diff --git a/_support/benchmarking/ansible.cfg b/_support/benchmarking/ansible.cfg
new file mode 100644
index 000000000..9eec3508d
--- /dev/null
+++ b/_support/benchmarking/ansible.cfg
@@ -0,0 +1,5 @@
+[ssh_connection]
+pipelining = True
+
+[defaults]
+callbacks_enabled = profile_tasks