distriqt / airnativeextensions

DEPRECATED: Original repository of the distriqt native extensions and is no longer maintained. Please see our site for the latest ANEs
https://airnativeextensions.com
2 stars 0 forks source link

Beacon Performance Issue #241

Closed peteshand closed 9 years ago

peteshand commented 9 years ago

Morning Distriqt

We recently purchased your Beacon ANE. Overall it's been great little ANE. However we've run into an issue that is crippling our application. After a bit of digging it's become clear that the issue is being produced by: Beacon.getRegionFromXML (com.distriqt.extension.beacon) and Beacon.getBeaconsFromXML (com.distriqt.extension.beacon)

Download scout profile file. http://peteshand.net/downloads/Scout-Output-Beacon-Issue.zip

We have a huge number of beacons being used in the space where the tablet applications live, so my best guess is that parsing XML for 19 beacons is a heavy process. However without access to the source code I can't look into this in any more depth.

What are our options for getting this issue resolved? Is this something you can look at? or can we come to some kind of arrangement and get access to the source code to try and make a fix ourselves?

Regards Pete Shand

marchbold commented 9 years ago

Hi,

I've had a quick look through and yeah I think you're right. We're passing an xml string back from the native side describing the beacons. I might have to look into a way of optimising this process for time critical events.

Which platform are you experiencing this issue on?

peteshand commented 9 years ago

That would be really awesome! We're using it on Android

marchbold commented 9 years ago

Let me know how this performance update goes but it was ~10x faster in my tests.