{ "id": "155184", "key": "ALOY-1362", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "11113", "key": "ALOY", "name": "Alloy", "projectCategory": { "id": "10400", "description": "Tools for developing applications", "name": "Tooling" } }, "fixVersions": [], "resolution": null, "resolutiondate": null, "created": "2016-02-27T19:02:24.000+0000", "priority": null, "labels": [ "build", "cli" ], "versions": [], "issuelinks": [], "assignee": null, "updated": "2018-03-06T18:50:02.000+0000", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "components": [], "description": "I try to include [mathjs library|http://mathjs.org/] to my project. But have a long delay during compilation in step:\r\n\r\n{code}\r\n[INFO] - android/math.js\r\n[TRACE] processing \"builtins\" module...\r\n[TRACE] processing \"optimizer\" module...\r\n[TRACE] processing \"compress\" module…\r\n{code}\r\n\r\nThis step takes about 10 minutes …. ! It is sooooo looong!\r\n\r\n*Steps to reproduce:*\r\n1. Create Alloy project\r\n2. Download and add lib to the *app/lib* folder\r\n3. Add *require('mathjs')* to the alloy.js\r\n4. Build with command appc *run -p android -l debug -C \"Google Nexus 4 - 4.2.2 - API 17 - 768x1280\"*", "attachment": [], "flagged": false, "summary": "Alloy: Long time build process", "creator": { "name": "falko", "key": "falko", "displayName": "Andrey Tkachenko", "active": true, "timeZone": "Europe/Moscow" }, "subtasks": [], "reporter": { "name": "falko", "key": "falko", "displayName": "Andrey Tkachenko", "active": true, "timeZone": "Europe/Moscow" }, "environment": "Mac OS X 10.10.5 / Node.js 4.2.2 / Appcelerator CLI Installer 4.2.3, Core Package 5.2.0 /\r\nTitanium CLI Version 5.0.6 / node-appc Version 0.2.31", "comment": { "comments": [ { "id": "378059", "author": { "name": "mrahman", "key": "mrahman", "displayName": "Mostafizur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "body": "Hello,\r\n\r\nI have tested the issue you reported. I have followed the steps. I created the lib directory and put the math.js file in there, and I required the module in alloy.js. It took me 5 minutes for app to launch in the emulator. Which is the natural launch time as the emulator need to boot up first. It was even faster the next time, as the emulator was already launched. The issue is not reproducible in our end. Maybe the issue is with your PC memory configuration. Thanks.\r\n\r\n*Test Environments:*\r\n{code}\r\nAppcelerator Command-Line Interface, version 5.2.0\r\nTitanium SDK Version = 5.2.0 GA\r\nAppcelerator Studio, build: 4.5.0.201602170821\r\nEmulator: Google Galaxy Nexus - 4.1.1 - API 16 - 720x1280\r\nOperating System\r\n Name = Mac OS X\r\n Version = 10.9.5\r\n Architecture = 64bit\r\n CPUs = 4\r\n Memory = 8589934592\r\nNode.js\r\n Node.js Version = 0.12.7\r\n npm Version = 2.11.3\r\nAppcelerator CLI\r\n Installer = 4.2.3\r\n Core Package = 5.2.0\r\nTitanium CLI\r\n CLI Version = 5.0.6\r\n node-appc Version = 0.2.31\r\n{code}", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2016-02-28T06:45:07.000+0000", "updated": "2016-02-28T14:50:51.000+0000" }, { "id": "378075", "author": { "name": "falko", "key": "falko", "displayName": "Andrey Tkachenko", "active": true, "timeZone": "Europe/Moscow" }, "body": "Other people in TiSlack community confirmed this issue. It happens with Alloy but not classic app. \r\nBuild time on my PC without this lib is about 30 seconds. \r\nThis delay (10min) present after emulator start. Project compilation paused in the step '*processing \"compress\" module…*'\r\n\r\n30 seconds and 5..10 minutes it is big difference. ", "updateAuthor": { "name": "falko", "key": "falko", "displayName": "Andrey Tkachenko", "active": true, "timeZone": "Europe/Moscow" }, "created": "2016-02-28T15:11:10.000+0000", "updated": "2016-02-28T15:11:10.000+0000" }, { "id": "378076", "author": { "name": "falko", "key": "falko", "displayName": "Andrey Tkachenko", "active": true, "timeZone": "Europe/Moscow" }, "body": "Geekbench 3 test (32-bit mode): \r\nSingle-Core Score: 3439\r\nMulti-Core Score: 10717\r\n \t\r\nBut my PC is 64-bit\r\n", "updateAuthor": { "name": "falko", "key": "falko", "displayName": "Andrey Tkachenko", "active": true, "timeZone": "Europe/Moscow" }, "created": "2016-02-28T15:17:19.000+0000", "updated": "2016-02-28T15:19:18.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }