AlexaAndroid icon indicating copy to clipboard operation
AlexaAndroid copied to clipboard

Response Speed

Open RamPattikonda opened this issue 7 years ago • 2 comments

A request such as weather takes about 5 seconds on average to hear back from Alexa. While Http request and response is taking about 3 seconds, the parsing of response is taking about 2 seconds. This is a very long time to extract the data. Getting bytes out of ResponseBody (IOUtils.toByteArray in ResponseParser.java) is taking most time. Tried using ResponseBody.bytes to get data, but this also takes similar time. Is there a better way to extract data from ResponseBody from Alexa. Any help would be greatly appreciated.

Thank you, Ram Pattikonda

RamPattikonda avatar Nov 12 '17 13:11 RamPattikonda

Maybe us NDK?

vkreal avatar Nov 12 '17 16:11 vkreal

What device are you using?

willblaschko avatar Dec 01 '17 05:12 willblaschko