{ "id": "164294", "key": "DAEMON-35", "fields": { "issuetype": { "id": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "subtask": false }, "project": { "id": "12519", "key": "DAEMON", "name": "Appcelerator Daemon" }, "fixVersions": [ { "id": "18407", "description": "", "name": "Appc Daemon 1.0.0", "archived": false, "released": true, "releaseDate": "2017-12-05" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2017-02-16T06:48:52.000+0000", "created": "2016-10-31T17:23:53.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "updated": "2017-02-17T16:39:33.000+0000", "status": { "description": "A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.", "name": "Resolved", "id": "5", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "15050", "name": "appcd-core", "description": "Core daemon logic: config, plugin loader, logging, dispatcher" } ], "description": "The daemon uses a NPM module called \"pidusage\" to monitor the CPU usage, but this is no longer necessary since Node 6 includes a built-in {{process.cpuUsage()}} function. https://nodejs.org/dist/latest-v6.x/docs/api/process.html#process_process_cpuusage_previousvalue\r\n\r\nAside from removing a dependency, it's going to be more efficient to use Node's built-in {{process.cpuUsage()}} because \"pidusage\" relies on file I/O and spawning {{ps}} and {{wmic}}.", "attachment": [], "flagged": false, "summary": "appcd-core: Replace \"pidusage\" with \"process.cpuUsage()\"", "creator": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "subtasks": [], "reporter": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "environment": null, "closedSprints": [ { "id": 840, "state": "closed", "name": "2017 Sprint 04 Tooling", "startDate": "2017-02-12T23:40:43.579Z", "endDate": "2017-02-26T23:40:00.000Z", "completeDate": "2017-02-26T17:40:05.048Z", "originBoardId": 114 } ], "comment": { "comments": [], "maxResults": 0, "total": 0, "startAt": 0 } } }