{"action":"created","issue":{"url":"https://api.github.com/repos/cta-observatory/dragonboard_testbench/issues/24","repository_url":"https://api.github.com/repos/cta-observatory/dragonboard_testbench","labels_url":"https://api.github.com/repos/cta-observatory/dragonboard_testbench/issues/24/labels{/name}","comments_url":"https://api.github.com/repos/cta-observatory/dragonboard_testbench/issues/24/comments","events_url":"https://api.github.com/repos/cta-observatory/dragonboard_testbench/issues/24/events","html_url":"https://github.com/cta-observatory/dragonboard_testbench/issues/24","id":143488878,"number":24,"title":"offset_calculation.py parallel?","user":{"login":"dneise","id":8200858,"avatar_url":"https://avatars.githubusercontent.com/u/8200858?v=3","gravatar_id":"","url":"https://api.github.com/users/dneise","html_url":"https://github.com/dneise","followers_url":"https://api.github.com/users/dneise/followers","following_url":"https://api.github.com/users/dneise/following{/other_user}","gists_url":"https://api.github.com/users/dneise/gists{/gist_id}","starred_url":"https://api.github.com/users/dneise/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dneise/subscriptions","organizations_url":"https://api.github.com/users/dneise/orgs","repos_url":"https://api.github.com/users/dneise/repos","events_url":"https://api.github.com/users/dneise/events{/privacy}","received_events_url":"https://api.github.com/users/dneise/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/cta-observatory/dragonboard_testbench/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-25T12:23:04Z","updated_at":"2016-03-25T17:17:41Z","closed_at":null,"body":"When executing `offset_calculation.py` I see that it uses a single core, which is at 100% load. This means it is not slow, because the disk cannot deliver the data faster, but it is slow because it needs more processing power ... \r\n\r\nSo I was wondering if one can write it in a way so it uses more cores on my machine. I tried `multiprocessing` but I cannot get it to work... so I give it up for now.\r\n\r\nMaybe somebody else is interested? Please assign yourself."},"comment":{"url":"https://api.github.com/repos/cta-observatory/dragonboard_testbench/issues/comments/201375002","html_url":"https://github.com/cta-observatory/dragonboard_testbench/issues/24#issuecomment-201375002","issue_url":"https://api.github.com/repos/cta-observatory/dragonboard_testbench/issues/24","id":201375002,"user":{"login":"dneise","id":8200858,"avatar_url":"https://avatars.githubusercontent.com/u/8200858?v=3","gravatar_id":"","url":"https://api.github.com/users/dneise","html_url":"https://github.com/dneise","followers_url":"https://api.github.com/users/dneise/followers","following_url":"https://api.github.com/users/dneise/following{/other_user}","gists_url":"https://api.github.com/users/dneise/gists{/gist_id}","starred_url":"https://api.github.com/users/dneise/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dneise/subscriptions","organizations_url":"https://api.github.com/users/dneise/orgs","repos_url":"https://api.github.com/users/dneise/repos","events_url":"https://api.github.com/users/dneise/events{/privacy}","received_events_url":"https://api.github.com/users/dneise/received_events","type":"User","site_admin":false},"created_at":"2016-03-25T17:17:41Z","updated_at":"2016-03-25T17:17:41Z","body":"Okay I got it ... together with some \"improvements\" here and there I was able to reduce runtime from ~15min to ~1.5min ... \r\n\r\nHowever, this comes at a price ... the code becomes less readable (well this might be possible to improve a little bit, by choosing better names here and there...) and longer.\r\n\r\nI am not sure at all, if we like this, but I wanted to test how much I can achieve. \r\n\r\nWould be happy, if you had a look at the stuff .. maybe we want a part of it... "}}