Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add configuration for cargo flamegprah and docs for profiling #749

Merged

Conversation

josecelano
Copy link
Member

Add configuration for cargo flamegprah and docs for profiling.

You can generate a flamegprah with:

```
TORRUST_TRACKER_PATH_CONFIG="./share/default/config/tracker.udp.benchmarking.toml" cargo flamegraph --bin=profiling -- 60
```
@josecelano josecelano added Documentation Improves Instructions, Guides, and Notices Optimization Make it Faster labels Mar 21, 2024
@josecelano josecelano self-assigned this Mar 21, 2024
@josecelano
Copy link
Member Author

ACK 6a7275e

@josecelano josecelano requested a review from da2ce7 March 21, 2024 16:28
Copy link

codecov bot commented Mar 21, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 74.06%. Comparing base (47c2fe2) to head (6a7275e).

Additional details and impacted files
@@           Coverage Diff            @@
##           develop     #749   +/-   ##
========================================
  Coverage    74.06%   74.06%           
========================================
  Files          145      145           
  Lines         8958     8958           
========================================
  Hits          6635     6635           
  Misses        2323     2323           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@josecelano josecelano merged commit a7845a9 into torrust:develop Mar 21, 2024
13 checks passed
@da2ce7
Copy link
Contributor

da2ce7 commented Mar 29, 2024

@josecelano

Commit: profiling: add configuration to generate flamegraphs

Has since created this warning every time that cargo is launched:

sh-5.2$ cargo check
warning: /var/home/cameron/dev/torrust-tracker/Cargo.toml: unused manifest key: target.x86_64-unknown-linux-gnu.linker
warning: /var/home/cameron/dev/torrust-tracker/Cargo.toml: unused manifest key: target.x86_64-unknown-linux-gnu.rustflags

Is there are way to remove this warning?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Documentation Improves Instructions, Guides, and Notices Optimization Make it Faster
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants