Skip to content

Commit

Permalink
Notes in README.md about file name hashing.
Browse files Browse the repository at this point in the history
  • Loading branch information
Vladimir Lagunov committed Jan 21, 2016
1 parent 1a76020 commit 87fc483
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions pytest-profiling/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,15 @@ pstats files (one per test item) are retained for later analysis in `prof` direc
test_import.prof
```

Profiling plugin by default names pstats filename as corresponding test name. If full path is longer that operation system allows then plugin renames it to first 4 bytes of md5 hash of test name:

```bash
$ ls -1 prof/
combined.prof
test_not_longer_than_max_allowed.prof
68b329da.prof
```

If the ``--profile-svg`` option is given, along with the prof files and tabular output a svg file will be generated:

```bash
Expand Down

0 comments on commit 87fc483

Please sign in to comment.