08-18-2011 10:16 AM
I work for a bank and we have a secure mobile banking app for blackberry which runs very very slow. The IT team tells me that this is because of a communication lag introduced due the message being routed via the RIM servers (?????) .
I think its the application and the way it is coded is slow and not the actual packet communication . I need to test the same and prove it to them. I do not have the source code and have an internet link from where i can get the app . Is there any tool that can test the same ?
08-18-2011 03:49 PM
What type of application is this? Java, WebWorks, AIR? Is it for BlackBerry Smartphones or the BlackBerry PlayBook?
There are profiling tools available that let you see where in the code the slowdown is occuring, but they do require the source code of the application.
Routing a network connection through BlackBerry Infrastructure should not slow down your connection. You can send a PIN message to yourself to see how quick it can be to travel through that system.
08-19-2011 01:14 AM
I messaged myself and it was delivered to me instantly .. I think it is a Java application for blackberry smartphones. When the application was running i toggled between the app and the Java VM engineering screens - > processes. I saw that this app was consuming close to 200 % or a lil more whenever any action was performed on it ( something like a sin-bell curve).
My goal here is to somehow produce a report that the app is putting stress on the phone hardware thats why it is slow and not because of the stupid reason given to me (that the phone communicates to the central banking server via RIM causing latency).
Any help will be much appreciated ..
08-19-2011 10:44 AM
BlackBerry Device Software version 6.0 and higher shows you the recourses used by an application on the application screen. To view it go to Options, Applications, scroll to the application and scroll horizontally to see different stats.
If you had the source code you could profile the application in the BlackBerry Java Plug-in for Eclipse or BlackBerry JDE to see where the slowdown is occurring.
08-19-2011 11:16 AM
Thanks a lot Mark ... I will ask them to use a profiler and figure it out.
Just wanted to be sure that the reason given to me i.e. "Latency in communication as the message is routed via the RIM infrastructure" is invalid..right?
08-19-2011 11:30 AM
Correct. This shouldn't incur any noticeable delays. The PIN test to yourself is a good way to prove that. It goes from your device, through the RIM infrastructure and back again.