{ "id": "103161", "key": "TIMOB-11402", "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": "13505", "description": "Release 3.0.0", "name": "Release 3.0.0", "archived": true, "released": true, "releaseDate": "2012-12-14" }, { "id": "14162", "description": "Release 3.1.0", "name": "Release 3.1.0", "archived": true, "released": true, "releaseDate": "2013-04-16" }, { "id": "14170", "description": "2012 Sprint 22 JS", "name": "2012 Sprint 22 JS", "archived": true, "released": true, "releaseDate": "2012-11-05" }, { "id": "14274", "description": "2012 Sprint 22", "name": "2012 Sprint 22", "archived": true, "released": true, "releaseDate": "2012-11-05" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2012-10-29T18:31:55.000+0000", "created": "2012-10-11T20:56:11.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "cli", "js", "qe-ios100112", "regression", "stud-performance-100112" ], "versions": [ { "id": "13505", "description": "Release 3.0.0", "name": "Release 3.0.0", "archived": true, "released": true, "releaseDate": "2012-12-14" } ], "issuelinks": [ { "id": "22092", "type": { "id": "10000", "name": "Blocks", "inward": "is blocked by", "outward": "blocks" }, "outwardIssue": { "id": "103601", "key": "TISTUD-2559", "fields": { "summary": "Studio: Preferences: takes 3 seconds to load default android sdk and screen types", "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": "High", "id": "2" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "22329", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "103601", "key": "TISTUD-2559", "fields": { "summary": "Studio: Preferences: takes 3 seconds to load default android sdk and screen types", "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": "High", "id": "2" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "22330", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "103482", "key": "TIMOB-11500", "fields": { "summary": "CLI: Return subset of information for \"titanium info\" command", "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": "High", "id": "2" }, "issuetype": { "id": "7", "description": "gh.issue.story.desc", "name": "Story", "subtask": false } } } }, { "id": "22073", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "103546", "key": "TISTUD-2549", "fields": { "summary": "Sync common preferences between Studio and titanium 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": "High", "id": "2" }, "issuetype": { "id": "7", "description": "gh.issue.story.desc", "name": "Story", "subtask": false } } } }, { "id": "22190", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "103819", "key": "TISTUD-2630", "fields": { "summary": "Preferences: closing titanium preferences before android sdk list loads throws exception", "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": "High", "id": "2" }, "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": "2012-12-11T00:36:18.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": "10207", "name": "Tooling" } ], "description": "Preferences > Titanium Studio > Titanium > Default Android SDK takes 3 seconds to load.\r\n\r\nThis is a regression.\r\n\r\nSteps to Reproduce:\r\n\r\n1. Run Preferences > Titanium Studio > Titanium > Default Android SDK takes 3 seconds to load.\r\n\r\nActual Result:\r\n\r\n3 seconds to load, initially looks broken.\r\n\r\nExpected Result:\r\n\r\nInstant load.\r\n\r\nNote: As per Shalom, here is the command-line arg to get this preferences info:\r\n\r\ntitanium info -o json", "attachment": [ { "id": "32534", "filename": "loading default android sdk.png", "author": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-10-11T20:56:11.000+0000", "size": 29012, "mimeType": "image/png" } ], "flagged": false, "summary": "CLI: Preferences: takes 3 seconds to load default android sdk and screen types", "creator": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Titanium Studio: 3.0.0.201210101947\r\nTitanium SDK: 3.0.0.v20121010184612\r\nTitanium CLI: 3.0.2\r\nOS: Mountain Lion 10.8.2", "comment": { "comments": [ { "id": "223220", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Is this a Studio bug, or a CLI bug?", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-10-11T23:34:55.000+0000", "updated": "2012-10-11T23:34:55.000+0000" }, { "id": "223224", "author": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "body": "It appears to occur when the command is run from the command line, probably a CLI issue.", "updateAuthor": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-10-11T23:53:02.000+0000", "updated": "2012-10-11T23:53:02.000+0000" }, { "id": "223228", "author": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Moving bug to SDK.", "updateAuthor": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-10-11T23:57:29.000+0000", "updated": "2012-10-11T23:57:29.000+0000" }, { "id": "223229", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "High priority as the amount of time it takes makes Studio look unresponsive.", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-10-11T23:58:28.000+0000", "updated": "2012-10-11T23:58:28.000+0000" }, { "id": "223890", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "I just added support for limiting the results of the \"titanium info\" command. You can now specify specific \"types\" of data to fetch. Android info still takes some time since we call \"android list\" which is sloooooow.\n\nIf you're just looking for the Android SDK/NDK path, you can try just running \"titanium config android.sdkPath\" and \"titanium config android.ndkPath\", but those are whatever is saved in the config and may not actually be correct or exist. You need to call \"titanium info\" to do some simple path and environment variable checks for the Android SDK path. Once you have the path, you should call \"titanium config android.sdkPath /path/to/sdk\" to save the value.\n\nIf this comment works for the Studio team, please resolve this ticket.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2012-10-16T22:20:32.000+0000", "updated": "2012-10-16T22:20:32.000+0000" }, { "id": "224179", "author": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "body": "I modified Studio to use the new call to grab just android or ios info when needed, but still wasn't satisfied with the results. Reverting to calling legacy was slightly better, but I think the general issue here is that we're not re-using info we've already grabbed. Our SDKLocator code is _horrible_ and the pref page doesn't ask the existing instance for the values on open, it asks for it all again (even though we always have an instance with the details of the preference values). I'm working on cleaning up that code since it's pretty bad. That way we can re-use the stored info for locations we've already looked up (in some LRU cache of size ~3).", "updateAuthor": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "created": "2012-10-18T14:19:51.000+0000", "updated": "2012-10-18T14:19:51.000+0000" }, { "id": "224182", "author": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "body": "I think you can resolve/close this ticket, because I was able to show a speed improvement using the new -t flag to grab specific pieces of data. Grabbing all info took ~1.6s on the command line for me. Grabbing android takes ~1.2s and iOS ~0.2s. So I think the CLI work here is OK. I have opened a ticket for Studio, TISTUD-2559, that addresses our need to use these new switches and try to improve performance on our end.", "updateAuthor": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "created": "2012-10-18T15:04:40.000+0000", "updated": "2012-10-18T15:04:40.000+0000" }, { "id": "224191", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "Just out of curiosity, what Android info are you using? Do you need the AVDs? Do you need the addons?", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2012-10-18T16:06:28.000+0000", "updated": "2012-10-18T16:06:28.000+0000" }, { "id": "225368", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "This was resolved with TIMOB-11500.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2012-10-29T18:31:55.000+0000", "updated": "2012-10-29T18:31:55.000+0000" }, { "id": "230109", "author": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closing as fixed.\nTested and verified with:\nTitanium Studio, build: 3.0.0.201211301903\nTitanium SDK, build 3.0.0.v20121204181658\nTitanium SDK, build 3.1.0.v20121204181803\n", "updateAuthor": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-12-05T21:15:38.000+0000", "updated": "2012-12-05T21:15:38.000+0000" } ], "maxResults": 10, "total": 10, "startAt": 0 } } }