mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
chore: tweak profiles, rename debug-fast to profiling (#9051)
This commit is contained in:
@ -41,12 +41,12 @@ cargo build --features jemalloc-prof
|
||||
```
|
||||
|
||||
When performing a longer-running or performance-sensitive task with reth, such as a sync test or load benchmark, it's usually recommended to use the `maxperf` profile. However, the `maxperf`
|
||||
profile does not enable debug symbols, which are required for tools like `perf` and `jemalloc` to produce results that a human can interpret. Reth includes a performance profile with debug symbols called `debug-fast`. To compile reth with debug symbols, jemalloc, profiling, and a performance profile:
|
||||
profile does not enable debug symbols, which are required for tools like `perf` and `jemalloc` to produce results that a human can interpret. Reth includes a performance profile with debug symbols called `profiling`. To compile reth with debug symbols, jemalloc, profiling, and a performance profile:
|
||||
```
|
||||
cargo build --features jemalloc-prof --profile debug-fast
|
||||
cargo build --features jemalloc-prof --profile profiling
|
||||
|
||||
# May improve performance even more
|
||||
RUSTFLAGS="-C target-cpu=native" cargo build --features jemalloc-prof --profile debug-fast
|
||||
RUSTFLAGS="-C target-cpu=native" cargo build --features jemalloc-prof --profile profiling
|
||||
```
|
||||
|
||||
### Monitoring memory usage
|
||||
|
||||
Reference in New Issue
Block a user