{"action":"created","issue":{"url":"https://api.github.com/repos/marhel/r68k/issues/74","repository_url":"https://api.github.com/repos/marhel/r68k","labels_url":"https://api.github.com/repos/marhel/r68k/issues/74/labels{/name}","comments_url":"https://api.github.com/repos/marhel/r68k/issues/74/comments","events_url":"https://api.github.com/repos/marhel/r68k/issues/74/events","html_url":"https://github.com/marhel/r68k/issues/74","id":134854014,"number":74,"title":"Improve performance during QC","user":{"login":"marhel","id":2725205,"avatar_url":"https://avatars.githubusercontent.com/u/2725205?v=3","gravatar_id":"","url":"https://api.github.com/users/marhel","html_url":"https://github.com/marhel","followers_url":"https://api.github.com/users/marhel/followers","following_url":"https://api.github.com/users/marhel/following{/other_user}","gists_url":"https://api.github.com/users/marhel/gists{/gist_id}","starred_url":"https://api.github.com/users/marhel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marhel/subscriptions","organizations_url":"https://api.github.com/users/marhel/orgs","repos_url":"https://api.github.com/users/marhel/repos","events_url":"https://api.github.com/users/marhel/events{/privacy}","received_events_url":"https://api.github.com/users/marhel/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":14,"created_at":"2016-02-19T12:26:12Z","updated_at":"2016-02-23T14:45:36Z","closed_at":null,"body":"I think we need to look further into where time is spent when doing QC tests. I have a suspicion that the way we build the handler-table before each individual opcode is costing a lot of time. Later when/if we need to re-run many, or even all of the QC-tests, it would take tens of hours at the current rate, I guess."},"comment":{"url":"https://api.github.com/repos/marhel/r68k/issues/comments/187725135","html_url":"https://github.com/marhel/r68k/issues/74#issuecomment-187725135","issue_url":"https://api.github.com/repos/marhel/r68k/issues/74","id":187725135,"user":{"login":"marhel","id":2725205,"avatar_url":"https://avatars.githubusercontent.com/u/2725205?v=3","gravatar_id":"","url":"https://api.github.com/users/marhel","html_url":"https://github.com/marhel","followers_url":"https://api.github.com/users/marhel/followers","following_url":"https://api.github.com/users/marhel/following{/other_user}","gists_url":"https://api.github.com/users/marhel/gists{/gist_id}","starred_url":"https://api.github.com/users/marhel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marhel/subscriptions","organizations_url":"https://api.github.com/users/marhel/orgs","repos_url":"https://api.github.com/users/marhel/repos","events_url":"https://api.github.com/users/marhel/events{/privacy}","received_events_url":"https://api.github.com/users/marhel/received_events","type":"User","site_admin":false},"created_at":"2016-02-23T14:45:36Z","updated_at":"2016-02-23T14:45:36Z","body":"If you look at https://github.com/marhel/r68k/blob/master/src/musashi.rs#L305 we already use the lazy_static macro, which appears to use Once under the covers, to create global mutexes for serializing the QuickCheck and Musashi operations. I meant that I don't have a good intuition of how \"bad\" this is, or  the performance penalty of accessing this static later ."}}