Titanium Community Questions & Answer Archive

We felt that 6+ years of knowledge should not die so this is the Titanium Community Questions & Answer Archive

1.3.3 becoming slower and slower?

i know it is a work in progress, but way back at the beginning of the 1.3.2 ordeal, i caught a tweet that said there were massive speed improvements already done (maybe 2 days after 1.3.2 was released). so, first 1.3.3 i tried did seem about 2x faster than 1.3 - mainly tableviews loaded quite quickly. but, for me, there were insurmountable bugs a week or so ago.

so, maybe end of last week, finally caught a build that fixed my worst bug. but, tableviews seems to load a bit slower. and, after testing, again… a few random freezes appeared.

well, just tried a couple more 1.3.3 builds (last one - commit 24460f4e109fda60047e)- and, things seem really stable now. but, the tableview loads are maybe 2-4x slower than they were with 1.3.2 or 1.3. so much so, that it seems to be a bug. the user perception would be that i am loading data from the web, when i am not. it is really that slow.

just wondering… anyone else noticing this?

and, if so, is this going to improve (and thus, must keep waiting)? or, is this just how it will be?

— asked July 21st 2010 by paul seymour
  • 1.3.3
  • 4
  • ios
  • iphone
  • mobile
1 Comment
  • i am now using 1.4 - and, i see performance to be the same as 1.3.2 - no improvements. but, i just caught a @appcelerator retweet that says a titanium user sees 10x performance in tableviews. is there some undocumented trick that enables this? anyone know? (the documentation page for tableviews in the API guide still says 0.8 - so, nothing new there). thanks!

    — commented August 2nd 2010 by paul seymour

5 Answers

  • (subscribing, interested in answer too)

    — answered July 21st 2010 by Jean-Philippe Boily
    permalink
    0 Comments
  • If tableview performance hasn't improved since 1.3.2, I'm going to have to remove my apps from the app store and scrap my apps (no sense in rewriting everything in Obj-C…I haven't made enough money on these apps to justify the constant rewriting between point versions of Titanium and now a complete rewrite to Obj-C.)

    Paul, tell me this ain't so. I've been patiently waiting 1 month for performance improvements and you drop this bomb on me at what seems to be the end of the 1.4 dev cycle.

    1. I can't believe 1.4 is 1 month late.
    2. I can't believe that the Appcelerator team can't fix this performance bug within that whole month.

    Frankly, I'm amazed that so many people love Appcelerator Titanium. The time saved writing apps in Javascript is completely negated by the large rewrites I have to perform to work around many Ti bugs, or rewrites du to changes and deprecations occuring between Appcelerator Titanium updates.

    What are the people on Twitter loving about Titanium? Is it because they're just dabbling around and writing 'Hello world' test apps that have no real-world value and they're using the most basic parts of the API which may not have many bugs? I find that hard to believe because 'tableview' is pretty effin' basic and it's broken.

    — answered July 24th 2010 by Marc Boucher
    permalink
    0 Comments
  • A lot of us feel your pain Marc. Many have already jumped ship and joined the Phonegap team so they don't have to keep rewriting the same apps after every other point release. We've been lucky though. We only had to completely build 2 apps twice using Ti from the ground up. Pretty friggin funny huh? I know 1.4 is taking a long time but it's supposed to be rock-solid when released. Hope so.

    By the way, Objective-C is not so bad once you get used to it and the goofy way it handles things sometimes.

    — answered July 24th 2010 by null null
    permalink
    0 Comments
  • I have the same problem. Tableview runs very slowly on sdk 1.4 and is crashed regularly when scroll up and down. I think Titanium developers should fix and create a patch for this issue first because it's a common component. I'm very annoyed when changing code for my project many times.

    — answered August 2nd 2010 by Dinh Trong
    permalink
    0 Comments
  • @ovan Do you have a className set to the table's rows?

    — answered August 2nd 2010 by Dan Tamas
    permalink
    1 Comment
    • What do u mean, Daniel?

      — commented August 12th 2010 by Dinh Trong
The ownership of individual contributions to this community generated content is retained by the authors of their contributions.
All trademarks remain the property of the respective owner.