{"action":"created","issue":{"url":"https://api.github.com/repos/commercialhaskell/stack/issues/1808","repository_url":"https://api.github.com/repos/commercialhaskell/stack","labels_url":"https://api.github.com/repos/commercialhaskell/stack/issues/1808/labels{/name}","comments_url":"https://api.github.com/repos/commercialhaskell/stack/issues/1808/comments","events_url":"https://api.github.com/repos/commercialhaskell/stack/issues/1808/events","html_url":"https://github.com/commercialhaskell/stack/issues/1808","id":134710571,"number":1808,"title":"`stack bench --profile` disables SMP mode","user":{"login":"ldcasillas-progreso","id":8095446,"avatar_url":"https://avatars.githubusercontent.com/u/8095446?v=3","gravatar_id":"","url":"https://api.github.com/users/ldcasillas-progreso","html_url":"https://github.com/ldcasillas-progreso","followers_url":"https://api.github.com/users/ldcasillas-progreso/followers","following_url":"https://api.github.com/users/ldcasillas-progreso/following{/other_user}","gists_url":"https://api.github.com/users/ldcasillas-progreso/gists{/gist_id}","starred_url":"https://api.github.com/users/ldcasillas-progreso/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ldcasillas-progreso/subscriptions","organizations_url":"https://api.github.com/users/ldcasillas-progreso/orgs","repos_url":"https://api.github.com/users/ldcasillas-progreso/repos","events_url":"https://api.github.com/users/ldcasillas-progreso/events{/privacy}","received_events_url":"https://api.github.com/users/ldcasillas-progreso/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/commercialhaskell/stack/milestones/8","html_url":"https://github.com/commercialhaskell/stack/milestones/Support","labels_url":"https://api.github.com/repos/commercialhaskell/stack/milestones/8/labels","id":1208081,"number":8,"title":"Support","description":"Issues without clear work items for the codebase","creator":{"login":"snoyberg","id":49415,"avatar_url":"https://avatars.githubusercontent.com/u/49415?v=3","gravatar_id":"","url":"https://api.github.com/users/snoyberg","html_url":"https://github.com/snoyberg","followers_url":"https://api.github.com/users/snoyberg/followers","following_url":"https://api.github.com/users/snoyberg/following{/other_user}","gists_url":"https://api.github.com/users/snoyberg/gists{/gist_id}","starred_url":"https://api.github.com/users/snoyberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/snoyberg/subscriptions","organizations_url":"https://api.github.com/users/snoyberg/orgs","repos_url":"https://api.github.com/users/snoyberg/repos","events_url":"https://api.github.com/users/snoyberg/events{/privacy}","received_events_url":"https://api.github.com/users/snoyberg/received_events","type":"User","site_admin":false},"open_issues":11,"closed_issues":103,"state":"open","created_at":"2015-07-14T20:38:48Z","updated_at":"2016-02-21T00:05:45Z","due_on":null,"closed_at":null},"comments":5,"created_at":"2016-02-18T22:09:16Z","updated_at":"2016-02-21T19:06:48Z","closed_at":null,"body":"    Version 1.0.3, Git revision 3f7b50fe598ec83eda5d393fe5b08a99ce5ac1e9 x86_64\r\n\r\nWith the repo [here](https://github.com/sacundim/tau-sigma), as of [this commit](https://github.com/sacundim/tau-sigma/commit/74f29874b6223ecdf81f3ce4e2e549370dccefe1), I observe the following behavior.  When I run this command, the benchmark runs in SMP mode:\r\n\r\n    stack bench --benchmark-arguments='theo1'\r\n\r\nBut when I run this command it runs in single-processor mode:\r\n\r\n    stack bench --profile --benchmark-arguments='theo1'\r\n\r\nThis can be seen from OS CPU usage report and the benchmarks themselves, which are testing the SMP speedup."},"comment":{"url":"https://api.github.com/repos/commercialhaskell/stack/issues/comments/186891332","html_url":"https://github.com/commercialhaskell/stack/issues/1808#issuecomment-186891332","issue_url":"https://api.github.com/repos/commercialhaskell/stack/issues/1808","id":186891332,"user":{"login":"mgsloan","id":22570,"avatar_url":"https://avatars.githubusercontent.com/u/22570?v=3","gravatar_id":"","url":"https://api.github.com/users/mgsloan","html_url":"https://github.com/mgsloan","followers_url":"https://api.github.com/users/mgsloan/followers","following_url":"https://api.github.com/users/mgsloan/following{/other_user}","gists_url":"https://api.github.com/users/mgsloan/gists{/gist_id}","starred_url":"https://api.github.com/users/mgsloan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mgsloan/subscriptions","organizations_url":"https://api.github.com/users/mgsloan/orgs","repos_url":"https://api.github.com/users/mgsloan/repos","events_url":"https://api.github.com/users/mgsloan/events{/privacy}","received_events_url":"https://api.github.com/users/mgsloan/received_events","type":"User","site_admin":false},"created_at":"2016-02-21T19:06:48Z","updated_at":"2016-02-21T19:06:48Z","body":"Strange!  In the past I've had a case where something reproduced with `-N` but not `-N -p`.  Could be a related issue."}}