Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mitogen is slower than Ansible for a single ping #1125

Open
1 task
moreati opened this issue Sep 21, 2024 · 0 comments
Open
1 task

Mitogen is slower than Ansible for a single ping #1125

moreati opened this issue Sep 21, 2024 · 0 comments
Labels
affects-0.3 Issues related to 0.3.X Mitogen releases bug Code feature that hinders desired execution outcome performance Performance problems

Comments

@moreati
Copy link
Member

moreati commented Sep 21, 2024

Vanilla Ansible takes 0.42 seconds

$ time ANSIBLE_STRATEGY=linear ansible --one-line localhost -mping
[WARNING]: No inventory was parsed, only implicit localhost is available
localhost | SUCCESS => {"changed": false,"ping": "pong"}
ANSIBLE_STRATEGY=linear ansible --one-line localhost -mping  0.42s user 0.13s system 98% cpu 0.562 total

Mitogen + Ansible takes 0.97 seconds

$ time ANSIBLE_STRATEGY=mitogen_linear ansible --one-line localhost -mping
[WARNING]: No inventory was parsed, only implicit localhost is available
localhost | SUCCESS => {"changed": false,"ping": "pong"}
ANSIBLE_STRATEGY=mitogen_linear ansible --one-line localhost -mping  0.97s user 0.15s system 92% cpu 1.215 total

Suspected contributing factors

@moreati moreati added bug Code feature that hinders desired execution outcome performance Performance problems affects-0.3 Issues related to 0.3.X Mitogen releases labels Sep 21, 2024
@moreati moreati changed the title Mitogen is slower than Ansible for a single ping. Mitogen is slower than Ansible for a single ping Sep 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
affects-0.3 Issues related to 0.3.X Mitogen releases bug Code feature that hinders desired execution outcome performance Performance problems
Projects
None yet
Development

No branches or pull requests

1 participant