{"id":16139440,"url":"https://github.com/networkop/cue-ansible","last_synced_at":"2025-03-18T16:31:11.359Z","repository":{"id":50021037,"uuid":"517713080","full_name":"networkop/cue-ansible","owner":"networkop","description":"CUE vs Ansible ","archived":false,"fork":false,"pushed_at":"2022-08-12T14:59:38.000Z","size":11462,"stargazers_count":19,"open_issues_count":0,"forks_count":1,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-03-16T22:02:40.389Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/networkop.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-07-25T15:07:58.000Z","updated_at":"2024-02-17T01:16:19.000Z","dependencies_parsed_at":"2022-08-12T20:51:01.165Z","dependency_job_id":null,"html_url":"https://github.com/networkop/cue-ansible","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/networkop%2Fcue-ansible","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/networkop%2Fcue-ansible/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/networkop%2Fcue-ansible/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/networkop%2Fcue-ansible/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/networkop","download_url":"https://codeload.github.com/networkop/cue-ansible/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244259919,"owners_count":20424635,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-09T23:49:04.658Z","updated_at":"2025-03-18T16:31:09.960Z","avatar_url":"https://github.com/networkop.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CUE vs Ansible \nExploring the following topics:\n\n* Comparing CUE with Ansible\n* Migrating from Ansible to CUE\n    * [Using CUE to validate Ansible host variables](./validation)\n    * [Migrating Jinja template to CUE and using CUE scripting for inventory management.](./jinja)\n    * [Data transformation with CUE](./transformation)\n\n\n## Resource Utilisation Comparison\n\n\u003e Memory utilisation is measured with mprof since `time` doesn't catch the memory used by Ansible's forked processes.\n\n### Configuring a single device\n\nAverage CPU, time and max peak memory over 10 measurements:\n\n| A/C | CPU% | Max Mem (MB) | Time (mm:ss.0) | \n| ----|------|--------------|------|\n| [Ansible (HTTP)](./test-results/ansible.csv) | 82 | [131.820](./mprofile_ansible.dat) | 00:02.7 |\n| [CUE](./test-results/cue.csv) (API) | 17 | [24.504](./mprofile_cue.dat) | 00:01.2 |\n\n\n### Configuring 20 devices\n\n\nAverage CPU, time and max peak memory over 10 measurements:\n\n| A/C | CPU% | Max Mem (MB) | Time (mm:ss.0) | \n| ----|------|--------------|------|\n| [CUE API](./test-results/cue20.csv) | 114 | [155.230](./test-results/mprofile_cue20.dat) | 00:03.2 |\n| [CUE SSH](./test-results/cue_cli20.csv) | 10 | [208.504](./test-results/mprofile_cue_cli20.dat) | 00:08.3 |\n| [Ansible (HTTP)](./test-results/ansible20-http.csv) | 157 | [1927.906](./test-results/mprofile_ansible20-http.dat) | 00:10.7 |\n| [Ansible (SSH)](./test-results/ansible20-csv.csv) | 32 | [1175.422]((./test-results/mprofile_ansible20-cli.dat)) | 00:08.3 |\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnetworkop%2Fcue-ansible","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnetworkop%2Fcue-ansible","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnetworkop%2Fcue-ansible/lists"}