Commit Graph

15 Commits

Author SHA1 Message Date
Clement Tsang 8c4ad90e67
refactor: Another small optimization pass (#350)
Making some small changes that would hopefully improve performance a bit.

- Remove redundant string generations for CPU data conversion
- Switch to fnv for PID hashmap and hashsets
- Use buffered reading to avoid having to store too many lines as strings
2020-12-11 19:54:02 -05:00
Clement Tsang fd003f84da
bug: Fix some performance regressions (#344)
Fixes some performance regressions and forgotten cleanup.

Changes to attempt to improve performance to match 0.4.x:

- Remove `trace!` and `--debug` for now.  These were a significant hog.  Removing this dropped initial memory usage by about half.
- Add additional cleaning step for `pid_mapping`  during process harvesting.  This should hopefully improve memory usage as time goes on.
- Slightly change how we do sorting to hopefully be a bit more optimal?  This was just an easy change to make that I spotted.
- Fix broken cleaning child thread task.
2020-12-10 22:29:25 -05:00
Clement Tsang 397a7e8467
ci: Add winget template generation (#199)
Adds winget CI generation.
2020-08-22 20:22:47 -04:00
ClementTsang 6d365140b6 chore: add vscode word dict 2020-05-20 11:55:03 -04:00
ClementTsang 502b821144 chore: Add Cargo.lock back in 2020-04-08 19:44:29 -04:00
ClementTsang eb159a45c4 [skip travis] Update .gitignore to ignore .idea 2020-02-28 22:31:11 -05:00
ClementTsang 59238c2687 Added named colour support + rgb colour support in config files. 2020-02-23 13:15:46 -05:00
ClementTsang ae6e27d25a Updated cargo and .gitignore 2020-01-21 22:48:56 -05:00
ClementTsang ef9e478daf Added new way of calculating the table widths in order to avoid some tui-rs bug causing the lines to freak out. 2020-01-10 23:41:16 -05:00
ClementTsang b587b1fe57 [skip travis] Update recording. 2020-01-09 22:26:36 -05:00
ClementTsang 5a32404ed4 Base building blocks of grouped process functionality 2020-01-07 23:39:52 -05:00
ClementTsang 8570823a0b [skip travis] Update gitignore 2019-12-26 21:49:38 -05:00
ClementTsang 7b3c63c8e7 [skip travis] Update .gitignore to please cargo. 2019-09-16 23:17:09 -04:00
ClementTsang e593149ef9 Modified .gitignore. 2019-09-15 01:30:07 -04:00
ClementTsang 9c6bfe84a2 Update .gitignore. 2019-09-04 16:55:00 -04:00