{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/react-native/issues/5551","labels_url":"https://api.github.com/repos/facebook/react-native/issues/5551/labels{/name}","comments_url":"https://api.github.com/repos/facebook/react-native/issues/5551/comments","events_url":"https://api.github.com/repos/facebook/react-native/issues/5551/events","html_url":"https://github.com/facebook/react-native/issues/5551","id":128802707,"number":5551,"title":"Start/Stop Profiling doesn't seem to work on iOS 9.2","user":{"login":"gr4yscale","id":1342396,"avatar_url":"https://avatars.githubusercontent.com/u/1342396?v=3","gravatar_id":"","url":"https://api.github.com/users/gr4yscale","html_url":"https://github.com/gr4yscale","followers_url":"https://api.github.com/users/gr4yscale/followers","following_url":"https://api.github.com/users/gr4yscale/following{/other_user}","gists_url":"https://api.github.com/users/gr4yscale/gists{/gist_id}","starred_url":"https://api.github.com/users/gr4yscale/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gr4yscale/subscriptions","organizations_url":"https://api.github.com/users/gr4yscale/orgs","repos_url":"https://api.github.com/users/gr4yscale/repos","events_url":"https://api.github.com/users/gr4yscale/events{/privacy}","received_events_url":"https://api.github.com/users/gr4yscale/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-01-26T12:12:32Z","updated_at":"2016-01-26T12:34:54Z","closed_at":null,"body":"I'm generally confused about how to go about how to profile for performance on React Native with iOS.\r\n\r\nI noticed a \"JSC profiler is not supported\" error, so then looked through the code of RCTJSCProfiler.m and realized it's trying to load a dylib (which as far as I know, I didn't have installed).\r\n\r\nThis led me to discovering that there is a JSCLegacyProfiler directory in the repo, so I ran the make script \"make ios9\" and got the dylibs needed.\r\n\r\nI also did the brew install trace2html\r\n\r\nAfter this, when running my project I got some crashes and general unpredicable behavior...the packager crashing sometimes, and lots of intermittent bad access on my app.\r\n\r\nDoes this functionality work with the latest release? If so, can someone give a quick summary of the steps to get it working in a stable manner? Should I try running this against an older version of iOS perhaps?"},"comment":{"url":"https://api.github.com/repos/facebook/react-native/issues/comments/174986602","html_url":"https://github.com/facebook/react-native/issues/5551#issuecomment-174986602","issue_url":"https://api.github.com/repos/facebook/react-native/issues/5551","id":174986602,"user":{"login":"gr4yscale","id":1342396,"avatar_url":"https://avatars.githubusercontent.com/u/1342396?v=3","gravatar_id":"","url":"https://api.github.com/users/gr4yscale","html_url":"https://github.com/gr4yscale","followers_url":"https://api.github.com/users/gr4yscale/followers","following_url":"https://api.github.com/users/gr4yscale/following{/other_user}","gists_url":"https://api.github.com/users/gr4yscale/gists{/gist_id}","starred_url":"https://api.github.com/users/gr4yscale/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gr4yscale/subscriptions","organizations_url":"https://api.github.com/users/gr4yscale/orgs","repos_url":"https://api.github.com/users/gr4yscale/repos","events_url":"https://api.github.com/users/gr4yscale/events{/privacy}","received_events_url":"https://api.github.com/users/gr4yscale/received_events","type":"User","site_admin":false},"created_at":"2016-01-26T12:34:54Z","updated_at":"2016-01-26T12:34:54Z","body":"On simulator I'm not seeing crashes consistently, but after selecting \"Stop Profiling\" in the menu I see an error from the json2trace script \"maximun recursion depth exceeded while decoding a JSON object from a byte string\"\r\n\r\n![simulator screen shot 26 jan 2016 12 32 13](https://cloud.githubusercontent.com/assets/1342396/12580632/070864da-c429-11e5-93f9-4383303af38f.png)\r\n"}}