-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update fuzzer, profiler, and benchmark results
Showing
6 changed files
with
39 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# sudo apt-get install clang | ||
wheel | ||
atheris==2.0.3 | ||
atheris==2.0.7 | ||
tomli_w>=0.2.2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
"""A script for profiling. | ||
To generate and read results: | ||
- `tox -e profile` | ||
- `firefox .tox/prof/output.svg` | ||
""" | ||
from pathlib import Path | ||
|
||
import tomli | ||
|
||
benchmark_toml = ( | ||
(Path(__file__).parent.parent / "benchmark" / "data.toml").read_bytes().decode() | ||
) | ||
|
||
# Run this a few times to emphasize over imports and other overhead above. | ||
for _ in range(1000): | ||
tomli.loads(benchmark_toml) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
pytest-profiling | ||
gprof2dot |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters