https://github.com/praw-dev/praw
Raw File
Tip revision: f9bc8044e07cf651e12de8509fc6c7d57da1b7dc authored by Joel Payne on 29 January 2024, 15:51:21 UTC
Merge pull request #2013 from praw-dev/update/pre-commit-hooks
Tip revision: f9bc804
profile_tests.sh
#!/bin/bash -e

python -m cProfile -o profile $(which py.test)

python -c "import pstats; p = pstats.Stats('profile'); \
p.sort_stats('tottime').print_stats(64)"

rm -f profile




exit 0;
back to top