{"action":"created","issue":{"url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/issues/3830","labels_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/issues/3830/labels{/name}","comments_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/issues/3830/comments","events_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/issues/3830/events","html_url":"https://github.com/openmicroscopy/openmicroscopy/pull/3830","id":78258557,"number":3830,"title":"Improve rendering of Image metadata details","user":{"login":"chris-allan","id":487082,"avatar_url":"https://avatars.githubusercontent.com/u/487082?v=3","gravatar_id":"","url":"https://api.github.com/users/chris-allan","html_url":"https://github.com/chris-allan","followers_url":"https://api.github.com/users/chris-allan/followers","following_url":"https://api.github.com/users/chris-allan/following{/other_user}","gists_url":"https://api.github.com/users/chris-allan/gists{/gist_id}","starred_url":"https://api.github.com/users/chris-allan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chris-allan/subscriptions","organizations_url":"https://api.github.com/users/chris-allan/orgs","repos_url":"https://api.github.com/users/chris-allan/repos","events_url":"https://api.github.com/users/chris-allan/events{/privacy}","received_events_url":"https://api.github.com/users/chris-allan/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/labels/develop","name":"develop","color":"02e10c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2015-05-19T21:32:44Z","updated_at":"2015-05-26T08:41:26Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/pulls/3830","html_url":"https://github.com/openmicroscopy/openmicroscopy/pull/3830","diff_url":"https://github.com/openmicroscopy/openmicroscopy/pull/3830.diff","patch_url":"https://github.com/openmicroscopy/openmicroscopy/pull/3830.patch"},"body":"This is a fairly straight-forward change that should help improve the rendering\r\nperformance of the right-hand metadata panel for Images. Previously, in order\r\nto get the list of Channel labels to display, the template would have to load\r\nthe image's pixels, the pixel's channels, and then each channel's logical\r\nchannel. With this change, the relevant labels are retrieved directly via HQL\r\nquery.\r\n\r\n### Benchmarking\r\n\r\nThe following are times taken to render the complete template for the right-hand side panel. The first number in each set represents a plate with 3 wells, the last two a fully-populated plate.\r\n\r\n* Before changes:\r\n- 0:00:01.550193\r\n- 0:00:02.114671\r\n- 0:00:02.787666\r\n\r\n* After switching to `getChannelLabels`:\r\n- 0:00:00.118799\r\n- 0:00:02.053346\r\n- 0:00:02.155348\r\n\r\n* `getChannelLabels` combined with `original_file_paths` optimizations from #3695 \r\n- 0:00:00.085634\r\n- 0:00:00.080752\r\n- 0:00:00.080852"},"comment":{"url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/issues/comments/105446379","html_url":"https://github.com/openmicroscopy/openmicroscopy/pull/3830#issuecomment-105446379","issue_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/issues/3830","id":105446379,"user":{"login":"sbesson","id":1355463,"avatar_url":"https://avatars.githubusercontent.com/u/1355463?v=3","gravatar_id":"","url":"https://api.github.com/users/sbesson","html_url":"https://github.com/sbesson","followers_url":"https://api.github.com/users/sbesson/followers","following_url":"https://api.github.com/users/sbesson/following{/other_user}","gists_url":"https://api.github.com/users/sbesson/gists{/gist_id}","starred_url":"https://api.github.com/users/sbesson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sbesson/subscriptions","organizations_url":"https://api.github.com/users/sbesson/orgs","repos_url":"https://api.github.com/users/sbesson/repos","events_url":"https://api.github.com/users/sbesson/events{/privacy}","received_events_url":"https://api.github.com/users/sbesson/received_events","type":"User","site_admin":false},"created_at":"2015-05-26T08:41:26Z","updated_at":"2015-05-26T08:41:26Z","body":"Thanks guys."}}