{"action":"created","issue":{"url":"https://api.github.com/repos/trueadm/inferno/issues/205","repository_url":"https://api.github.com/repos/trueadm/inferno","labels_url":"https://api.github.com/repos/trueadm/inferno/issues/205/labels{/name}","comments_url":"https://api.github.com/repos/trueadm/inferno/issues/205/comments","events_url":"https://api.github.com/repos/trueadm/inferno/issues/205/events","html_url":"https://github.com/trueadm/inferno/issues/205","id":151990503,"number":205,"title":"Provide a guide for benchmarking a UI","user":{"login":"gajus","id":973543,"avatar_url":"https://avatars.githubusercontent.com/u/973543?v=3","gravatar_id":"","url":"https://api.github.com/users/gajus","html_url":"https://github.com/gajus","followers_url":"https://api.github.com/users/gajus/followers","following_url":"https://api.github.com/users/gajus/following{/other_user}","gists_url":"https://api.github.com/users/gajus/gists{/gist_id}","starred_url":"https://api.github.com/users/gajus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gajus/subscriptions","organizations_url":"https://api.github.com/users/gajus/orgs","repos_url":"https://api.github.com/users/gajus/repos","events_url":"https://api.github.com/users/gajus/events{/privacy}","received_events_url":"https://api.github.com/users/gajus/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/trueadm/inferno/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-04-29T23:58:22Z","updated_at":"2016-04-30T22:25:26Z","closed_at":null,"body":"This is a rather generic question. However, it would be useful to an average developer when considering whether the performance boost when switching from React to Inferno is worth the migration.\r\n\r\nExample:\r\n\r\nHere is a real application using dummy data, https://applaudience.com/demo/showtime-app/#date=2016-04-30&latitude=48.845729&longitude=2.332658&zoom=11.\r\n\r\nHow would I record a series of events (e.g. interactive with the map, finding a new location), record the memory/ redraw time and then replicate the same test using again for comparison purposes between React and Inferno implementations?"},"comment":{"url":"https://api.github.com/repos/trueadm/inferno/issues/comments/215999699","html_url":"https://github.com/trueadm/inferno/issues/205#issuecomment-215999699","issue_url":"https://api.github.com/repos/trueadm/inferno/issues/205","id":215999699,"user":{"login":"trueadm","id":1519870,"avatar_url":"https://avatars.githubusercontent.com/u/1519870?v=3","gravatar_id":"","url":"https://api.github.com/users/trueadm","html_url":"https://github.com/trueadm","followers_url":"https://api.github.com/users/trueadm/followers","following_url":"https://api.github.com/users/trueadm/following{/other_user}","gists_url":"https://api.github.com/users/trueadm/gists{/gist_id}","starred_url":"https://api.github.com/users/trueadm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trueadm/subscriptions","organizations_url":"https://api.github.com/users/trueadm/orgs","repos_url":"https://api.github.com/users/trueadm/repos","events_url":"https://api.github.com/users/trueadm/events{/privacy}","received_events_url":"https://api.github.com/users/trueadm/received_events","type":"User","site_admin":false},"created_at":"2016-04-30T22:25:26Z","updated_at":"2016-04-30T22:25:26Z","body":"@gajus My company heavily uses integration test software to determine performance metrics. You can then monitor the memory usage and FPS on the Chrome window as you action tests in a BDD style. For example:\r\n\r\nUse case: \"given user is logged in, when user opens menu from X\":\r\nOutput: passed: <true/false> timeTaken <int> memoryUsage <int>\r\n\r\nYou can then use the tools to report this to you in terms of performance problems/memory leaks. This kind of workflow requires you writing test cases for such events but it's an industry standard in my eyes."}}