Uploaded image for project: 'Appcelerator - INBOX'
  1. Appcelerator - INBOX
  2. AC-4380

Windows Phone : Alloy.createController taking too much time in windows.

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Not Our Bug
    • Affects Version/s: None
    • Component/s: Alloy
    • Labels:
      None
    • Environment:

      Titanium SDK : 5.4.0
      Windows Phone 10

      Description

      Hi

      The problem I am facing is : line "Alloy.createController" takes 11 ms to execute on Android platform where as takes 200 ms on windows for our application.
      Similarly the line "windows.open" takes 11ms on Android and 78ms on windows platform.

      This reduces the response time of the application on windows platform.

      Sample Application :

      test.xml
      <Alloy>
      <Window id="test">
      <Label color="black" text="abc" />
      <Label color="black" text="abc1" />
      </Window>
      </Alloy>
      test.js
      function openWindow()

      { $.test.open(); }


      exports.openWindow = openWindow;
      index.js
      function openView()

      { Ti.API.info("Step 1 " +Date.now(); var controllerView = Alloy.createController('test'); Ti.API.info("Step 2 " + Date.now(); controllerView.openWindow(); Ti.API.info("Step 3 " + Date.now(); }

      $.index.open();
      index.xml
      <Alloy>
      <Window id="index">
      <Label color="black" text="Click" onClick="openView"/>
      </Window>
      </Alloy>

        Attachments

          Activity

            People

            • Assignee:
              shossain Shak Hossain
              Reporter:
              neha Neha
            • Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Git Source Code