{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/WebDriverAgent/issues/311","repository_url":"https://api.github.com/repos/facebook/WebDriverAgent","labels_url":"https://api.github.com/repos/facebook/WebDriverAgent/issues/311/labels{/name}","comments_url":"https://api.github.com/repos/facebook/WebDriverAgent/issues/311/comments","events_url":"https://api.github.com/repos/facebook/WebDriverAgent/issues/311/events","html_url":"https://github.com/facebook/WebDriverAgent/issues/311","id":180608315,"number":311,"title":"Slow /tap and /elements round-trip request time to real devices.","user":{"login":"sleekweasel","id":1412078,"avatar_url":"https://avatars.githubusercontent.com/u/1412078?v=3","gravatar_id":"","url":"https://api.github.com/users/sleekweasel","html_url":"https://github.com/sleekweasel","followers_url":"https://api.github.com/users/sleekweasel/followers","following_url":"https://api.github.com/users/sleekweasel/following{/other_user}","gists_url":"https://api.github.com/users/sleekweasel/gists{/gist_id}","starred_url":"https://api.github.com/users/sleekweasel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sleekweasel/subscriptions","organizations_url":"https://api.github.com/users/sleekweasel/orgs","repos_url":"https://api.github.com/users/sleekweasel/repos","events_url":"https://api.github.com/users/sleekweasel/events{/privacy}","received_events_url":"https://api.github.com/users/sleekweasel/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-10-03T10:30:43Z","updated_at":"2016-10-17T09:51:43Z","closed_at":null,"body":"I'm seeing something similar to issue #291 in the WireShark log between my laptop and my device, where /tap (by coordinate) and /elements request/response pairs take between 4 and 10 seconds.\r\n\r\nFor example a request like, http://192.168.19.45:8100/session/033796C0-C3AE-4BDA-940F-C160E44D8029/tap/1CB182CC-FBF7-4C50-8AD1-B56E2A34E502 which doesn't do any obvious XML path stuff and presumably knows exactly where to look, took 7.6 seconds. (Needless to say, each tests needs more than 4 clicks, and 30 seconds per test means we can only run the essential suite on devices.)\r\n\r\nIn #291, it mentioned excessive logging, but looking at the device syslog while running the tests at the moment, I can't see any logging (excessive or otherwise) that shows up when these slow calls are made that could be causing 10 second delays. Where should I be looking for that?\r\n\r\nI'm happy to try to look into this in the agent's code if it's not a priority for you guys, but I'd like to know that I'd not be duplicating effort already expended by my betters!\r\n\r\nThanks."},"comment":{"url":"https://api.github.com/repos/facebook/WebDriverAgent/issues/comments/254163248","html_url":"https://github.com/facebook/WebDriverAgent/issues/311#issuecomment-254163248","issue_url":"https://api.github.com/repos/facebook/WebDriverAgent/issues/311","id":254163248,"user":{"login":"marekcirkos","id":1397422,"avatar_url":"https://avatars.githubusercontent.com/u/1397422?v=3","gravatar_id":"","url":"https://api.github.com/users/marekcirkos","html_url":"https://github.com/marekcirkos","followers_url":"https://api.github.com/users/marekcirkos/followers","following_url":"https://api.github.com/users/marekcirkos/following{/other_user}","gists_url":"https://api.github.com/users/marekcirkos/gists{/gist_id}","starred_url":"https://api.github.com/users/marekcirkos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marekcirkos/subscriptions","organizations_url":"https://api.github.com/users/marekcirkos/orgs","repos_url":"https://api.github.com/users/marekcirkos/repos","events_url":"https://api.github.com/users/marekcirkos/events{/privacy}","received_events_url":"https://api.github.com/users/marekcirkos/received_events","type":"User","site_admin":false},"created_at":"2016-10-17T09:51:43Z","updated_at":"2016-10-17T09:51:43Z","body":"@sleekweasel any update here?"}}
{"actor":{"display_login":"marekcirkos"}}