{"action":"created","issue":{"url":"https://api.github.com/repos/eReuse/device-inventory/issues/40","repository_url":"https://api.github.com/repos/eReuse/device-inventory","labels_url":"https://api.github.com/repos/eReuse/device-inventory/issues/40/labels{/name}","comments_url":"https://api.github.com/repos/eReuse/device-inventory/issues/40/comments","events_url":"https://api.github.com/repos/eReuse/device-inventory/issues/40/events","html_url":"https://github.com/eReuse/device-inventory/issues/40","id":181648900,"number":40,"title":"Add stress test support","user":{"login":"ivilata","id":420791,"avatar_url":"https://avatars.githubusercontent.com/u/420791?v=3","gravatar_id":"","url":"https://api.github.com/users/ivilata","html_url":"https://github.com/ivilata","followers_url":"https://api.github.com/users/ivilata/followers","following_url":"https://api.github.com/users/ivilata/following{/other_user}","gists_url":"https://api.github.com/users/ivilata/gists{/gist_id}","starred_url":"https://api.github.com/users/ivilata/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ivilata/subscriptions","organizations_url":"https://api.github.com/users/ivilata/orgs","repos_url":"https://api.github.com/users/ivilata/repos","events_url":"https://api.github.com/users/ivilata/events{/privacy}","received_events_url":"https://api.github.com/users/ivilata/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"ivilata","id":420791,"avatar_url":"https://avatars.githubusercontent.com/u/420791?v=3","gravatar_id":"","url":"https://api.github.com/users/ivilata","html_url":"https://github.com/ivilata","followers_url":"https://api.github.com/users/ivilata/followers","following_url":"https://api.github.com/users/ivilata/following{/other_user}","gists_url":"https://api.github.com/users/ivilata/gists{/gist_id}","starred_url":"https://api.github.com/users/ivilata/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ivilata/subscriptions","organizations_url":"https://api.github.com/users/ivilata/orgs","repos_url":"https://api.github.com/users/ivilata/repos","events_url":"https://api.github.com/users/ivilata/events{/privacy}","received_events_url":"https://api.github.com/users/ivilata/received_events","type":"User","site_admin":false},"assignees":[{"login":"ivilata","id":420791,"avatar_url":"https://avatars.githubusercontent.com/u/420791?v=3","gravatar_id":"","url":"https://api.github.com/users/ivilata","html_url":"https://github.com/ivilata","followers_url":"https://api.github.com/users/ivilata/followers","following_url":"https://api.github.com/users/ivilata/following{/other_user}","gists_url":"https://api.github.com/users/ivilata/gists{/gist_id}","starred_url":"https://api.github.com/users/ivilata/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ivilata/subscriptions","organizations_url":"https://api.github.com/users/ivilata/orgs","repos_url":"https://api.github.com/users/ivilata/repos","events_url":"https://api.github.com/users/ivilata/events{/privacy}","received_events_url":"https://api.github.com/users/ivilata/received_events","type":"User","site_admin":false},{"login":"bustawin","id":4247265,"avatar_url":"https://avatars.githubusercontent.com/u/4247265?v=3","gravatar_id":"","url":"https://api.github.com/users/bustawin","html_url":"https://github.com/bustawin","followers_url":"https://api.github.com/users/bustawin/followers","following_url":"https://api.github.com/users/bustawin/following{/other_user}","gists_url":"https://api.github.com/users/bustawin/gists{/gist_id}","starred_url":"https://api.github.com/users/bustawin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bustawin/subscriptions","organizations_url":"https://api.github.com/users/bustawin/orgs","repos_url":"https://api.github.com/users/bustawin/repos","events_url":"https://api.github.com/users/bustawin/events{/privacy}","received_events_url":"https://api.github.com/users/bustawin/received_events","type":"User","site_admin":false}],"milestone":null,"comments":9,"created_at":"2016-10-07T11:46:14Z","updated_at":"2016-11-28T11:05:06Z","closed_at":null,"body":"@dfranquesa suggests that we could run [stress](http://manpages.ubuntu.com/manpages/wily/man1/stress.1.html) on the computer and use its output as some kind of input for benchmark data.  Can you provide further information?\n"},"comment":{"url":"https://api.github.com/repos/eReuse/device-inventory/issues/comments/263243761","html_url":"https://github.com/eReuse/device-inventory/issues/40#issuecomment-263243761","issue_url":"https://api.github.com/repos/eReuse/device-inventory/issues/40","id":263243761,"user":{"login":"ivilata","id":420791,"avatar_url":"https://avatars.githubusercontent.com/u/420791?v=3","gravatar_id":"","url":"https://api.github.com/users/ivilata","html_url":"https://github.com/ivilata","followers_url":"https://api.github.com/users/ivilata/followers","following_url":"https://api.github.com/users/ivilata/following{/other_user}","gists_url":"https://api.github.com/users/ivilata/gists{/gist_id}","starred_url":"https://api.github.com/users/ivilata/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ivilata/subscriptions","organizations_url":"https://api.github.com/users/ivilata/orgs","repos_url":"https://api.github.com/users/ivilata/repos","events_url":"https://api.github.com/users/ivilata/events{/privacy}","received_events_url":"https://api.github.com/users/ivilata/received_events","type":"User","site_admin":false},"created_at":"2016-11-28T11:05:06Z","updated_at":"2016-11-28T11:05:06Z","body":"Sample code for running the stress test and show the progress bar:\r\n\r\n```python\r\np = subprocess.Popen('stress -n 15 -c 2'.split(), stdout=suprocess.PIPE, stderr=subprocess.PIPE, close_fds=True)\r\nfor _ in tqdm.trange(15):\r\n    time.sleep(1)\r\np.wait()\r\ncheck(p.returncode)\r\n```\r\n"}}
{"actor":{"display_login":"ivilata"}}