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

Make it possible to collect pystats of parts of runs #100143

Closed
Labels
type-bugAn unexpected behavior, bug, or error
@mdboom

Description

@mdboom

The--enable-pystats system has a couple of important shortcomings:

  • When stats is turned off, stats aren't dumped (on quit or explicitly). Therefore, it's impossible to putsys._stats_on/sys._stats_off calls around tested code and get the results out.
  • Since stats collection is on by default, it is very fiddly to exclude code for stats, especially for things that fire off subprocesses, e.g. pyperformance.

@markshannon'ssuggestion is to:

  • Having stats off by default
  • Add an-Xstats flag to turn it on at startup
  • Always dump out stats

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    type-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp