Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/src/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ The test runner provides real-time output showing:
- Execution time
- GC time and percentage
- Memory allocation
- RSS (Resident Set Size) memory usage, shown in red once it exceeds the RSS threshold and the worker will be restarted
- RSS (Resident Set Size) memory usage, shown in yellow once it exceeds the RSS threshold and the worker will be restarted

### Graceful Interruption

Expand Down
2 changes: 1 addition & 1 deletion src/ParallelTestRunner.jl
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ function print_test_finished(record::AbstractTestRecord, wrkr, test, ctx::TestIO
printstyled(ctx.stdout, lpad(alloc_str, ctx.alloc_align, " "), " │ ", color = :white)

mem_use = memory_usage(record)
mem_color = mem_use > ctx.max_worker_rss ? :red : :white
mem_color = mem_use > ctx.max_worker_rss ? :yellow : :white
rss_str = @sprintf("%5.2f", mem_use / 2^20)
printstyled(ctx.stdout, lpad(rss_str, ctx.rss_align, " "), color = mem_color)

Expand Down