{"action":"created","issue":{"url":"https://api.github.com/repos/realm/realm-js/issues/390","repository_url":"https://api.github.com/repos/realm/realm-js","labels_url":"https://api.github.com/repos/realm/realm-js/issues/390/labels{/name}","comments_url":"https://api.github.com/repos/realm/realm-js/issues/390/comments","events_url":"https://api.github.com/repos/realm/realm-js/issues/390/events","html_url":"https://github.com/realm/realm-js/issues/390","id":148902018,"number":390,"title":"Updates on extremely slow and clog main thread with React-Native Android using chrome debugger","user":{"login":"MichaelDanielTom","id":5520838,"avatar_url":"https://avatars.githubusercontent.com/u/5520838?v=3","gravatar_id":"","url":"https://api.github.com/users/MichaelDanielTom","html_url":"https://github.com/MichaelDanielTom","followers_url":"https://api.github.com/users/MichaelDanielTom/followers","following_url":"https://api.github.com/users/MichaelDanielTom/following{/other_user}","gists_url":"https://api.github.com/users/MichaelDanielTom/gists{/gist_id}","starred_url":"https://api.github.com/users/MichaelDanielTom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MichaelDanielTom/subscriptions","organizations_url":"https://api.github.com/users/MichaelDanielTom/orgs","repos_url":"https://api.github.com/users/MichaelDanielTom/repos","events_url":"https://api.github.com/users/MichaelDanielTom/events{/privacy}","received_events_url":"https://api.github.com/users/MichaelDanielTom/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/realm/realm-js/labels/S:Waiting%20For%20User","name":"S:Waiting For User","color":"e6e6e6"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2016-04-16T23:29:32Z","updated_at":"2016-05-07T20:45:44Z","closed_at":null,"body":"Hey guys,\r\nWhile using realm for RN Android, I'm trying to write/update around 50 of objects like: \r\n```\r\nrealm.write(() => {\r\n    results.forEach(function (dict, i) {\r\n        realm.create('MyObj', {\r\n            pk: dict.pk,\r\n            someProp: dict.someProp\r\n        })\r\n     })\r\n})\r\n```\r\nWithout debugging in chrome it's lightning fast, but when I debug in chrome, it takes around half a second to write each object, blocking the UI, and rendering the app completely unresponsive for over 20 seconds. Any idea of why this is?"},"comment":{"url":"https://api.github.com/repos/realm/realm-js/issues/comments/217667807","html_url":"https://github.com/realm/realm-js/issues/390#issuecomment-217667807","issue_url":"https://api.github.com/repos/realm/realm-js/issues/390","id":217667807,"user":{"login":"MichaelDanielTom","id":5520838,"avatar_url":"https://avatars.githubusercontent.com/u/5520838?v=3","gravatar_id":"","url":"https://api.github.com/users/MichaelDanielTom","html_url":"https://github.com/MichaelDanielTom","followers_url":"https://api.github.com/users/MichaelDanielTom/followers","following_url":"https://api.github.com/users/MichaelDanielTom/following{/other_user}","gists_url":"https://api.github.com/users/MichaelDanielTom/gists{/gist_id}","starred_url":"https://api.github.com/users/MichaelDanielTom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MichaelDanielTom/subscriptions","organizations_url":"https://api.github.com/users/MichaelDanielTom/orgs","repos_url":"https://api.github.com/users/MichaelDanielTom/repos","events_url":"https://api.github.com/users/MichaelDanielTom/events{/privacy}","received_events_url":"https://api.github.com/users/MichaelDanielTom/received_events","type":"User","site_admin":false},"created_at":"2016-05-07T20:45:44Z","updated_at":"2016-05-07T20:45:44Z","body":"@appden It's a little better, but at this stage in my app's development (I'm making the android version of [Radiate](https://itunes.apple.com/us/app/radiate/id939284774?mt=8)) There seems to be too much data for chrome debugging to be a feasible option, without significant dev setup :/ as in there are just a ton of background fetches that are saving to realm during normal app navigation.\r\n\r\nOn an unrelated note, I want to find other people who are developing apps with react-native, and Realm who just wanna talk through stuff, what do you think the best way of doing that is? Is there a slack channel or something? If not I'd be down to start one."}}