{"action":"closed","issue":{"url":"https://api.github.com/repos/t-woerner/firewalld/issues/132","repository_url":"https://api.github.com/repos/t-woerner/firewalld","labels_url":"https://api.github.com/repos/t-woerner/firewalld/issues/132/labels{/name}","comments_url":"https://api.github.com/repos/t-woerner/firewalld/issues/132/comments","events_url":"https://api.github.com/repos/t-woerner/firewalld/issues/132/events","html_url":"https://github.com/t-woerner/firewalld/issues/132","id":162276116,"number":132,"title":"Using subprocess module to run programs leads to huge speedup","user":{"login":"SunilMohanAdapa","id":1535496,"avatar_url":"https://avatars.githubusercontent.com/u/1535496?v=3","gravatar_id":"","url":"https://api.github.com/users/SunilMohanAdapa","html_url":"https://github.com/SunilMohanAdapa","followers_url":"https://api.github.com/users/SunilMohanAdapa/followers","following_url":"https://api.github.com/users/SunilMohanAdapa/following{/other_user}","gists_url":"https://api.github.com/users/SunilMohanAdapa/gists{/gist_id}","starred_url":"https://api.github.com/users/SunilMohanAdapa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SunilMohanAdapa/subscriptions","organizations_url":"https://api.github.com/users/SunilMohanAdapa/orgs","repos_url":"https://api.github.com/users/SunilMohanAdapa/repos","events_url":"https://api.github.com/users/SunilMohanAdapa/events{/privacy}","received_events_url":"https://api.github.com/users/SunilMohanAdapa/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-06-25T11:03:20Z","updated_at":"2016-06-27T14:54:54Z","closed_at":"2016-06-27T14:54:54Z","body":"When `core/prog.py:runProg()` is replaced with a simpler implementation using Python's subprocess module, there is a significant speed up in startup and shutdown time.\r\n\r\nUsing os.fork() and 1024 os.close() calls:\r\n```\r\nreal    0m22.993s\r\nuser    0m18.952s\r\nsys     0m1.124s\r\n```\r\nUsing subprocess module:\r\n```\r\nreal    0m4.323s\r\nuser    0m1.000s\r\nsys     0m0.624s\r\n```"}}
{"actor":{"display_login":"t-woerner"}}