Community Questions & Answers

Should I null objects to release memory in alloy?

I'm trying to understand how to manage memory in a titanium alloy application. I'm using the Apple instruments tool to measure and monitor allocations. Imagine I have the following: - controller index.js + index.xml (contains 5 views and 5 labels) -...

Performance of HttpClient (part 2)

Sorry, I accidently marked the original thread, http://developer.appcelerator.com/question/110071/performance-of-httpclient , as answered (and can't find a way to unmark it). To follow up, even with local testing the timer shows almost 2 seconds when the...

How to improve performance by avoiding global scope

Hi guys, I've read a lot on the forums about avoiding global scope and wanted to ask how I can improve my code. I'm writing an application in Alloy that has several view and controllers. The application works, but I'm concerned with performance not being...

Android Performance Slow

I've started building my first Android app and I've noticed that the overall performance is extremely slow and laggy. I'm not testing in the emulator, I'm testing the app on a Nexus 7. So far I have really basic animations were views slide in from the...

Long vertical scrollview performance problem

Hi guys, I'm having serious trouble with scrollview performance and wondering if someone has experience on this can share his strategic solutions. I am developing a pinterest-like app with 2-column scrollview which is the container for a large number of...

Slow Android Emulator

I have an app that I created originally for iOS and now I am porting it to android. I am finding the app to run unusably slow in the emulator. I tried to use mostly titanium objects so they would port properly but I am still seeing extreme slowness and...

Webview Performance vs Safari - Any Tips?

Hi For part of an app that I'm working on, I have a webview that allows the user to interact with an external wwebsite. I know it's not ideal, but it works ok for the most part. The website is powered with Backbone and my problem is that in one...

Click event is very slow in Table View (iOS app)

I am loading 350 records from a remote json file (3 text fields and 1 image field) into table_view, the data loads fast but when i tap on a cel view to go to the detail view, it takes about 20 seconds for the tap to take effect and load the detail...

Bad performance when dragging a window

Hi, i am experiencing some bad performace issues with my app. The app is based on alloy and should have a menu which can be revealed by dragging the top window to the right, like in facebook, path or similar apps. I use the touchstart, touchmove and...

Opening a window very slow

I'm writing a crossplatform App. The app is actually very simple: There's a list and then you can open a details window. Now opening a new window is very slow! On my nexus 7 it just feels not right. Measuring it on the emulator, just the opening part of...

XML Parse and element retrieving performance

Hello, i was just wondering what's the best performance between going through each node and getting what you need using types and names(ie. getNodeType and getNodeName) or just using the getElementsByTagName method on root node. Any hint/opinion is really...

Showing 1-50 of 157 1 2 3 4