{"action":"created","issue":{"url":"https://api.github.com/repos/catapult-project/catapult/issues/1131","labels_url":"https://api.github.com/repos/catapult-project/catapult/issues/1131/labels{/name}","comments_url":"https://api.github.com/repos/catapult-project/catapult/issues/1131/comments","events_url":"https://api.github.com/repos/catapult-project/catapult/issues/1131/events","html_url":"https://github.com/catapult-project/catapult/issues/1131","id":98656025,"number":1131,"title":"Build tiny slices into the slice hierarchy correctly","user":{"login":"catapult-bot","id":13457154,"avatar_url":"https://avatars.githubusercontent.com/u/13457154?v=3","gravatar_id":"","url":"https://api.github.com/users/catapult-bot","html_url":"https://github.com/catapult-bot","followers_url":"https://api.github.com/users/catapult-bot/followers","following_url":"https://api.github.com/users/catapult-bot/following{/other_user}","gists_url":"https://api.github.com/users/catapult-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/catapult-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/catapult-bot/subscriptions","organizations_url":"https://api.github.com/users/catapult-bot/orgs","repos_url":"https://api.github.com/users/catapult-bot/repos","events_url":"https://api.github.com/users/catapult-bot/events{/privacy}","received_events_url":"https://api.github.com/users/catapult-bot/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":13,"created_at":"2015-08-03T02:05:07Z","updated_at":"2015-08-11T17:52:00Z","closed_at":null,"body":"<a href=\"https://github.com/yuhao\"><img src=\"https://avatars.githubusercontent.com/u/989505?v=3\" align=\"left\" width=\"96\" height=\"96\" hspace=\"10\"></img></a> **Issue by [yuhao](https://github.com/yuhao)**\n_Friday Jul 24, 2015 at 21:37 GMT_\n_Originally opened as https://github.com/google/trace-viewer/issues/1131_\n\n----\n\nBy tiny slices, I mean instant events or X events with duration of 0.\r\n\r\nCurrently, there are cases where tiny slices are not correctly built into the hierarchy.\r\n\r\nAs an example, in this trace (https://github.com/natduca/measurmt-traces/blob/master/mobile/googlemaps_ipc_newbinding.html), there is an 'X' event TaskGraphRunner::CollectCompletedTasks (starting at 1,935.145 ms) with duration of 0, and an 'I' event DidUpdateVisibleTiles right (starting at 1,935.175 ms). Both tiny slices are misplaced with respect to the entire slice hierarchy.\r\n\n"},"comment":{"url":"https://api.github.com/repos/catapult-project/catapult/issues/comments/129990849","html_url":"https://github.com/catapult-project/catapult/issues/1131#issuecomment-129990849","issue_url":"https://api.github.com/repos/catapult-project/catapult/issues/1131","id":129990849,"user":{"login":"dj2","id":9611,"avatar_url":"https://avatars.githubusercontent.com/u/9611?v=3","gravatar_id":"","url":"https://api.github.com/users/dj2","html_url":"https://github.com/dj2","followers_url":"https://api.github.com/users/dj2/followers","following_url":"https://api.github.com/users/dj2/following{/other_user}","gists_url":"https://api.github.com/users/dj2/gists{/gist_id}","starred_url":"https://api.github.com/users/dj2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dj2/subscriptions","organizations_url":"https://api.github.com/users/dj2/orgs","repos_url":"https://api.github.com/users/dj2/repos","events_url":"https://api.github.com/users/dj2/events{/privacy}","received_events_url":"https://api.github.com/users/dj2/received_events","type":"User","site_admin":false},"created_at":"2015-08-11T17:52:00Z","updated_at":"2015-08-11T17:52:00Z","body":"Do we need something as complicated as depth, or, in the cases where we have this hierarchy issue, just use B/E instead of X? This is an issue specific with very short nested X events."}}