Commit Graph

30 Commits

Author SHA1 Message Date
Clement Tsang b58d982a31
ci: some more cirrus release tweaks (#1531)
* ci: better cirrus release

* add cancellation

* limit number of concurrent cargo jobs

* update test skip, clean up, clean tasks
2024-08-02 00:49:53 -04:00
Clement Tsang cce835b752
Run cargo wix init (#1468)
* ci: run cargo wix init

* remove wix init call
2024-05-11 21:18:09 -04:00
Clement Tsang 0b92679e16
other: add v1 schema + versioning + tests (#1407)
* other: add v1.0 schema

* add tests, rename some files for consistency
2024-02-04 06:26:24 -05:00
Clement Tsang a93521d2b1
refactor: add fast branch for ascii-only string truncate (#1330)
This is just a first attempt to speed up what looked like a hot spot in samply's profiling results.

Benchmark code and results here: https://gist.github.com/ClementTsang/e242f12f7e1d1902ed414dcc18c3b321
2023-11-23 23:45:03 -05:00
Clement Tsang b6dc17cfb3
other: clean up thread event code (#1170) 2023-05-24 01:05:49 -04:00
Clement Tsang caa1d1b88b
refactor: remove procfs (#1163)
* refactor: remove procfs, use personal impls/rustix directly

* buffer sharing

* inline

* some cleanup
2023-05-21 00:53:27 -04:00
Clement Tsang d6f9dd9a24
other: update .gitignore to ignore all test configs 2023-04-30 15:51:01 -04:00
Clement Tsang 62474be52a
deps: bump once_cell and related dependencies (#1090)
* deps: bump once_cell and related dependencies

Now that we've removed heim, I can bump up other dependencies that
relied on newer versions of once_cell.

* Add some dhat code

* dhat gitignore
2023-04-11 03:22:32 -04:00
Clement Tsang 913c9ed5c6
refactor: move widgets out of the app folder nesting (#917)
Moves the widget folder away from being nested in the app hierarchy.
2022-11-28 00:26:58 -05:00
Clement Tsang 5973e6db72
docs: adjust dev doc file structure, add build and deploy docs (#804)
* docs: add separate section on development

* docs: update instructions on writing docs

* docs: add build and deploy docs
2022-09-12 04:14:19 -04:00
Clement Tsang 14808b3a2e
ci: completion/manpage generation script spring cleaning (#795)
* ci: spring cleaning of completions autogen

This commit changes a few things/cleans up stuff:
- Completion and manpage generation now drops the files off in
  `./target/tmp/bottom` rather than arbitrarily in the build directory.
  This was originally done because I was lazy and just needed it to work
  in CI, but it's kinda gross if you want to build the manpages in your
  own directory.
- CI was updated to handle this.
- Only run if the `BTM_GENERATE` env var is actually non-empty.

* docs: update for manpage/completion gen

* ci: auto delete autogen comp/manpage dir

* ci: fix incorrect mv for autogen

The mv was too late, should be earlier in the workflow.

* ci: specify shell in autogen delete

* docs: more updates to manpage/comp docs

* ci: unify env vars

* ci: skip autogen on build-msi
2022-08-30 18:25:16 -04:00
ClementTsang 8f6284581d docs: Fix some missing text in docs 2021-06-21 02:03:10 -04:00
Clement Tsang 06071d5abf
docs: migrate documentation over to mkdocs (#506)
A large migration of documentation over to mkdocs, and some rewrites. Some stuff (install information, basic supported systems, contributors, thanks) are still staying in README.md, and CONTRIBUTING.md is essentially duplicated right now. However, stuff like configuration and key/mouse bindings are now moved to mkdocs.

Some parts are still a bit WIP - it is definitely not done (documentation never seems to be...). However, it should be "good enough" for now, and I'm much happier working with the documentation in this form than trying to scroll through a giant endless README.md file. It also works much better for adding new documentation.
2021-06-21 01:40:58 -04:00
Clement Tsang df13859ef2
other: Remove vscode folder (#461)
Removes the .vscode folder.
2021-05-06 00:19:41 -04:00
Clement Tsang e63a0b4082
refactor: Unify disk conversion to string step (#446)
Refactor to unify the process disk usage -> string into one function.
2021-04-07 20:52:29 -04:00
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