Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Show number of leaks in --huntrleaks #115720

Closed
Assignees
encukou
Labels
testsTests in the Lib/test dirtype-featureA feature request or enhancement
@encukou

Description

@encukou

Feature or enhancement

Currently,-R (--huntrleaks) only displays the reference counts when the test fails. It also uses agenerous heuristic, which avoid false positives, but might hide issues.

To get more insight into what's going on, I propose to show the number of leaks instead of thedot, with

  • . instead of0, so leaks stand out
  • X instead of 10 or more, to keep the display as a single digit

Additionally, I'd like to separate warmup runs, so you know when to start worrying.

The output would look like this:

beginning 9 repetitions. Showing number of leaks (. for zero, X for 10 or more)12345:6789XX.1. ....

meaning the first 2 warmups “leaked” a lot, then one more had a single “leak”, and there were no more leaks.

Linked PRs

Metadata

Metadata

Assignees

Labels

testsTests in the Lib/test dirtype-featureA feature request or enhancement

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions


    [8]ページ先頭

    ©2009-2025 Movatter.jp