Skip to content

Commit

Permalink
Support comparing two sets of pystats (GH-98816)
Browse files Browse the repository at this point in the history
This adds support for comparing pystats collected from two different builds.

- The `--json-output` can be used to load in a set of raw stats and output a
  JSON file.
- Two of these JSON files can be provided on the next run, and then comparative
  results between the two are output.
  • Loading branch information
mdboom committed Nov 4, 2022
1 parent 044bcc1 commit 2844aa6
Show file tree
Hide file tree
Showing 2 changed files with 366 additions and 123 deletions.
3 changes: 2 additions & 1 deletion Doc/using/configure.rst
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,8 @@ General Options
Turn on internal statistics gathering.

The statistics will be dumped to a arbitrary (probably unique) file in
``/tmp/py_stats/``, or ``C:\temp\py_stats\`` on Windows.
``/tmp/py_stats/``, or ``C:\temp\py_stats\`` on Windows. If that directory
does not exist, results will be printed on stdout.

Use ``Tools/scripts/summarize_stats.py`` to read the stats.

Expand Down
Loading

0 comments on commit 2844aa6

Please sign in to comment.