{ "id": "108462", "key": "TIMOB-12400", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [ { "id": "14164", "description": "Release 3.0.2", "name": "Release 3.0.2", "archived": true, "released": true, "releaseDate": "2013-02-19" }, { "id": "14162", "description": "Release 3.1.0", "name": "Release 3.1.0", "archived": true, "released": true, "releaseDate": "2013-04-16" }, { "id": "14980", "description": "2013 Sprint 02 JS", "name": "2013 Sprint 02 JS", "archived": true, "released": true, "releaseDate": "2013-01-28" }, { "id": "14812", "description": "2013 Sprint 02", "name": "2013 Sprint 02", "archived": true, "released": true, "releaseDate": "2013-01-28" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2013-01-27T02:26:15.000+0000", "created": "2013-01-23T22:49:33.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "cli-review", "qe-port" ], "versions": [], "issuelinks": [ { "id": "25051", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "107704", "key": "ALOY-454", "fields": { "summary": "iOS is rebuilding apps every time with new CLI", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "priority": { "name": "Critical", "id": "1" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "updated": "2014-06-19T12:44:16.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "13103", "name": "CLI", "description": "Node-based command line interface" } ], "description": "h2. problem\r\n\r\nRunning a basic Titanium app, without a full rebuild, on iOS is about twice as fast with the old CLI as it is with the new CLI. On my machine, old CLI builds would take about 3-8 seconds. The new CLI builds take about 10-15 seconds. Obviously these times will vary based on your machine's capabilities.\r\n\r\nThis only appears to affect iOS builds as I believe Android builds are still deferring to the old python system.\r\n\r\nh2. reproduce\r\n\r\nExecute steps 2-5 for both TiSDKs 3.0.0.GA and 2.1.4.GA. \r\n\r\n# Create a new Titanium project (default 2-tabbed is fine)\r\n# build it once for iphone simulator\r\n# Make a small code change and build it again\r\n# Repeat step 3 a couple times to get an average of times\r\n\r\nThe average of the 2.1.4.GA times should be significantly lower than those of the 3.0.0.GA SDK. Be sure these are not full rebuilds when getting an average.\r\n\r\n", "attachment": [], "flagged": false, "summary": "CLI: iOS sim builds about twice as slow in new CLI than with old one.", "creator": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "TiStudio 3.0.1.201212181159\r\nTiSDK 3.0.0.GA & 2.1.4.GA\r\niOS 6.0", "comment": { "comments": [ { "id": "235701", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "You'll be happy to know, you're not crazy.\n\nFirst time compile:\n{code}\n2.1.4.GA python 14.13 seconds\n3.1.0 python 13.79 seconds\n3.1.0 node.js 11.9 seconds\n{code}\n\nSubsequent compile times:\n{code}\n2.1.4.GA python 3.19 seconds\n3.1.0 python 3.21 seconds\n3.1.0 node.js 7.4 seconds\n{code}\n\nSomething is definitely wrong.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2013-01-24T09:42:49.000+0000", "updated": "2013-01-24T09:42:49.000+0000" }, { "id": "235709", "author": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Oh I'm crazy, but it's good to know this isn't one of the symptoms. Let me know if there's anything I can do to help test any timing on any future changes to address this.", "updateAuthor": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-01-24T15:05:36.000+0000", "updated": "2013-01-24T15:05:36.000+0000" }, { "id": "236092", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "Master pull request: https://github.com/appcelerator/titanium_mobile/pull/3796\n3.0.x pull request: https://github.com/appcelerator/titanium_mobile/pull/3797", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2013-01-26T01:50:55.000+0000", "updated": "2013-01-26T01:50:55.000+0000" }, { "id": "236103", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "To test:\n\n1) create a project\n2) build the project for ios simulator: titanium build -p ios\n3) build it again... should take a second or so", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2013-01-26T02:14:48.000+0000", "updated": "2013-01-26T02:14:48.000+0000" }, { "id": "237166", "author": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Tested with:\nTitanium Studio, build: 3.0.2.201302011646\nTitanium SDK, build: 3.0.2.v20130201161712 \nDevices:\niPad4 iOS 6.1\niOS 6.1 Simulator \n\nFinished building the application in 16s 815ms\nFinished building the application in 851ms\nFinished building the application in 838ms", "updateAuthor": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-02-05T00:53:30.000+0000", "updated": "2013-02-05T00:53:30.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }