{ "id": "172827", "key": "TIMOB-26700", "fields": { "issuetype": { "id": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "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": "19882", "name": "Release 8.0.0", "archived": false, "released": true, "releaseDate": "2019-03-14" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2019-03-11T14:54:38.000+0000", "created": "2019-01-08T01:09:47.000+0000", "epic": { "id": 172826, "key": "TIMOB-26699", "name": "Windows Runtime Performance Improvement", "summary": "Windows: Runtime Performance Improvement", "color": { "key": "color_7" }, "done": false }, "priority": { "name": "High", "id": "2" }, "labels": [], "versions": [ { "id": "20238", "description": "", "name": "Release 7.5.0", "archived": false, "released": true, "releaseDate": "2018-11-15" } ], "issuelinks": [ { "id": "57177", "type": { "id": "10122", "name": "Gantt: start-finish", "inward": "is triggered by", "outward": "is triggering" }, "outwardIssue": { "id": "173101", "key": "TIMOB-26886", "fields": { "summary": "Windows: Update module apiversion to 7", "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": "57179", "type": { "id": "10122", "name": "Gantt: start-finish", "inward": "is triggered by", "outward": "is triggering" }, "outwardIssue": { "id": "173103", "key": "TIMOB-26888", "fields": { "summary": "Windows: Update Hyperloop apiversion for 8.0.0.GA", "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 } } } } ], "assignee": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2019-03-11T14:54:38.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": "12642", "name": "Windows", "description": "Windows authoring support" } ], "description": "Optimize UI rendering calls in our layout engine. ", "attachment": [], "flagged": false, "summary": "Windows: Optimize UI rendering calls", "creator": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "environment": null, "closedSprints": [ { "id": 1106, "state": "closed", "name": "2019 Sprint 1", "startDate": "2018-12-31T19:39:58.070Z", "endDate": "2019-01-11T19:39:00.000Z", "completeDate": "2019-01-14T17:17:47.552Z", "originBoardId": 114 }, { "id": 1109, "state": "closed", "name": "2019 Sprint 3", "startDate": "2019-01-28T17:38:43.075Z", "endDate": "2019-02-09T17:38:00.000Z", "completeDate": "2019-02-08T21:37:29.498Z", "originBoardId": 114 }, { "id": 1118, "state": "closed", "name": "2019 Sprint 5", "startDate": "2019-02-24T18:36:06.435Z", "endDate": "2019-03-08T18:36:00.000Z", "completeDate": "2019-03-07T22:19:47.057Z", "originBoardId": 114 }, { "id": 1119, "state": "closed", "name": "2019 Sprint 6", "startDate": "2019-03-03T22:20:00.193Z", "endDate": "2019-03-15T22:20:00.000Z", "completeDate": "2019-03-18T17:26:43.120Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "445548", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "body": "https://github.com/appcelerator/titanium_mobile_windows/pull/1345\r\n\r\n{code:javascript}\r\nTi.Analytics.optedOut = true; // Just to make sure networking won't affect the test\r\n\r\nvar win = Ti.UI.createWindow({ backgroundColor: 'green' });\r\n\r\nwin.addEventListener('open', function () {\r\n var start = +new Date();\r\n for (var i = 0; i < 200; i++) {\r\n win.add(Ti.UI.createLabel({\r\n width: 200, height: 50, left: i * 10, top: i * 10, backgroundColor: '#0000FF', text: 'Hello, World'\r\n }));\r\n }\r\n\r\n // setTimeout() effectively push tasks on UI thread.\r\n // This can be useful when you need to see actual UI response time.\r\n setTimeout(function () {\r\n alert((+new Date() - start) + ' m seconds elapsed');\r\n }, 0)\r\n});\r\n\r\nwin.open(); \r\n{code}\r\n\r\nLocally, I've got average 20% improvement when compared to 7.5.0.GA. I also saw that Jenkins runs unit tests faster than before by 4 mins (10 % faster) which is a good sign too.\r\n\r\n{code}\r\n## 7.5.0.GA\r\n1641 ms\r\n1625 ms\r\n1015 ms\r\n1203 ms\r\n1610 ms\r\n1609 ms\r\n1000 ms\r\n\r\n## TIMOB-26700\r\n1328 ms\r\n860 ms\r\n1344 ms\r\n1125 ms\r\n1406 ms\r\n1031 ms\r\n890 ms\r\n{code}\r\n", "updateAuthor": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2019-01-23T08:18:55.000+0000", "updated": "2019-01-24T01:20:48.000+0000" }, { "id": "446632", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "body": "master: https://github.com/appcelerator/titanium_mobile_windows/pull/1345\r\n8_0_X: https://github.com/appcelerator/titanium_mobile_windows/pull/1364\r\n", "updateAuthor": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2019-03-08T01:58:03.000+0000", "updated": "2019-03-08T01:58:03.000+0000" }, { "id": "446634", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Note that this will introduce major breaking change on binary compatibility on module interfaces which requires major version bump-up on module {{apiversion}}. _All modules needs to be recompiled based on new sdk._ TIMOB-26886 is taking care of {{apiversion}} in the sdk.", "updateAuthor": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2019-03-08T02:28:12.000+0000", "updated": "2019-03-08T02:28:12.000+0000" }, { "id": "446635", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "body": "So far I can see good results on most practical app from customer (aka PerformanceTestApp). I can see up to 37% less application startup time and 45% less UI rendering time.\r\n\r\n{code}\r\n7.5.0.GA\r\n\r\n[INFO] Application startup in 1750 msec\r\n[WARN] [summary/contentView] Total time to render UI: 2718\r\n\r\n8.0.x (with TIMOB-26700)\r\n[INFO] Application startup in 1110 msec\r\n[WARN] [summary/contentView] Total time to render UI: 1500\r\n{code}\r\n", "updateAuthor": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2019-03-08T02:43:27.000+0000", "updated": "2019-03-08T02:43:47.000+0000" }, { "id": "446650", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "body": "For additional note, I would strongly recommend consider disabling {{transpile}} flag in {{tiapp.xml}} when you concern runtime performance. We observed that enabling transpile slows down the app because it tend to add lots of files and operations in order to support ES6+.\r\n\r\n{code:xml} \r\nfalse\r\n{code}", "updateAuthor": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2019-03-09T00:27:08.000+0000", "updated": "2019-03-09T00:27:08.000+0000" }, { "id": "446651", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Merged.", "updateAuthor": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2019-03-09T00:27:47.000+0000", "updated": "2019-03-09T00:27:47.000+0000" }, { "id": "446719", "author": { "name": "jlongton", "key": "jlongton", "displayName": "Josh Longton", "active": true, "timeZone": "Europe/London" }, "body": "*Verified as Fixed*\r\n\r\nThe fix is present in SDK\r\n\r\n{noformat}\r\n8.0.0.v20190308114556\r\n{noformat}\r\n\r\n*ENV*\r\n\r\n{noformat}\r\nNoka lumia 550 (Win 10) \r\nWs-emulator\r\nWindows 10 Pro: 1803\r\nAppc NPM: 4.2.13\r\nAppc CLI: 7.0.10-master.17\r\nTi CLI Ver: 5.1.1\r\nNode Ver: 8.9.1\r\nNPM Ver: 6.4.1\r\n{noformat}\r\n\r\n*Closing ticket*\r\n", "updateAuthor": { "name": "jlongton", "key": "jlongton", "displayName": "Josh Longton", "active": true, "timeZone": "Europe/London" }, "created": "2019-03-11T14:54:19.000+0000", "updated": "2019-03-11T14:54:19.000+0000" } ], "maxResults": 9, "total": 9, "startAt": 0 } } }