{"action":"created","issue":{"url":"https://api.github.com/repos/hawkular/hawkular-inventory/issues/177","labels_url":"https://api.github.com/repos/hawkular/hawkular-inventory/issues/177/labels{/name}","comments_url":"https://api.github.com/repos/hawkular/hawkular-inventory/issues/177/comments","events_url":"https://api.github.com/repos/hawkular/hawkular-inventory/issues/177/events","html_url":"https://github.com/hawkular/hawkular-inventory/pull/177","id":109919167,"number":177,"title":"Query performance 1","user":{"login":"metlos","id":19999,"avatar_url":"https://avatars.githubusercontent.com/u/19999?v=3","gravatar_id":"","url":"https://api.github.com/users/metlos","html_url":"https://github.com/metlos","followers_url":"https://api.github.com/users/metlos/followers","following_url":"https://api.github.com/users/metlos/following{/other_user}","gists_url":"https://api.github.com/users/metlos/gists{/gist_id}","starred_url":"https://api.github.com/users/metlos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/metlos/subscriptions","organizations_url":"https://api.github.com/users/metlos/orgs","repos_url":"https://api.github.com/users/metlos/repos","events_url":"https://api.github.com/users/metlos/events{/privacy}","received_events_url":"https://api.github.com/users/metlos/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-10-06T01:29:49Z","updated_at":"2015-10-08T15:48:27Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/hawkular/hawkular-inventory/pulls/177","html_url":"https://github.com/hawkular/hawkular-inventory/pull/177","diff_url":"https://github.com/hawkular/hawkular-inventory/pull/177.diff","patch_url":"https://github.com/hawkular/hawkular-inventory/pull/177.patch"},"body":"First run is still quite slow.\r\n```\r\n$ curl -u jdoe:password http://localhost:8080/hawkular/inventory/test/localhost/resourceTypes/WildFly%20Server/resources  -w \"\\\\n CN: %{time_connect}\\\\n ST: %{time_starttransfer}\\\\n TT: %{time_total}\"\r\n...\r\n CN: 0.005\r\n ST: 2.065\r\n TT: 2.065\r\n```\r\nBut after that it gets better...\r\n```\r\n$ curl -u jdoe:password http://localhost:8080/hawkular/inventory/test/localhost/resourceTypes/WildFly%20Server/resources  -w \"\\\\n CN: %{time_connect}\\\\n ST: %{time_starttransfer}\\\\n TT: %{time_total}\"\r\n...\r\n CN: 0.005\r\n ST: 0.229\r\n TT: 0.229\r\n```\r\nAnd better...\r\n```\r\n$ curl -u jdoe:password http://localhost:8080/hawkular/inventory/test/localhost/resourceTypes/WildFly%20Server/resources  -w \"\\\\n CN: %{time_connect}\\\\n ST: %{time_starttransfer}\\\\n TT: %{time_total}\"\r\n...\r\n CN: 0.004\r\n ST: 0.130\r\n TT: 0.130\r\n```         \r\n\r\nI've got still some work to do on this WRT eliminating `NoopFilter`s where possible but wanted to show this off. We're slowly getting faster :wink: "},"comment":{"url":"https://api.github.com/repos/hawkular/hawkular-inventory/issues/comments/146585042","html_url":"https://github.com/hawkular/hawkular-inventory/pull/177#issuecomment-146585042","issue_url":"https://api.github.com/repos/hawkular/hawkular-inventory/issues/177","id":146585042,"user":{"login":"metlos","id":19999,"avatar_url":"https://avatars.githubusercontent.com/u/19999?v=3","gravatar_id":"","url":"https://api.github.com/users/metlos","html_url":"https://github.com/metlos","followers_url":"https://api.github.com/users/metlos/followers","following_url":"https://api.github.com/users/metlos/following{/other_user}","gists_url":"https://api.github.com/users/metlos/gists{/gist_id}","starred_url":"https://api.github.com/users/metlos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/metlos/subscriptions","organizations_url":"https://api.github.com/users/metlos/orgs","repos_url":"https://api.github.com/users/metlos/repos","events_url":"https://api.github.com/users/metlos/events{/privacy}","received_events_url":"https://api.github.com/users/metlos/received_events","type":"User","site_admin":false},"created_at":"2015-10-08T15:48:26Z","updated_at":"2015-10-08T15:48:26Z","body":"I will create subsequent PRs for the other optimizations I have in my sleeve so that the PR doesn't become humongous.\r\n\r\nThis is ready to be merged."}}