Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-13697] MobileWeb: Optimize declare()

GitHub Issuen/a
TypeNew Feature
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2013-07-24T17:11:37.000+0000
Affected Version/sn/a
Fix Version/s2013 Sprint 16, 2013 Sprint 16 Core, Release 3.2.0
ComponentsMobileWeb
Labelsn/a
ReporterChris Barber
AssigneeChris Barber
Created2013-04-27T04:18:22.000+0000
Updated2017-06-05T23:06:57.000+0000

Description

declare() is Mobile Web's magical function for creating instantiable objects. It support multiple inheritance, but no where do we actually use multiple inheritance. Furthermore, we need to optimize the generated classes as much as possible at the time of declaration instead of runtime.

Comments

  1. Chris Barber 2013-05-04

    Pull request: https://github.com/appcelerator/titanium_mobile/pull/4229
  2. Chris Barber 2013-05-23

    To test: 1. Run the layout performance test from https://github.com/appcelerator/titanium_mobile_performance_tests. This will demonstrate the poor performance prior to the fix. 2. Run KitchenSink to demonstrate that there were no regressions. Generally if one thing works, everything will work.
  3. Olga Romero 2013-12-10

    Due to a broad field for verification, I am leaving it resolved/not closed. Ran https://github.com/appcelerator/titanium_mobile_performance_tests and Kitchen Sink. Appcelerator Studio, build: 3.2.0.201312091648 Titanium SDK, build: 3.2.0.v20131210112451 Mac osx 10.9 Mavericks Safari 7

JSON Source