Skip to content

Commit

Permalink
增加性能测试
Browse files Browse the repository at this point in the history
  • Loading branch information
AuYang261 committed Nov 12, 2023
1 parent 71b1659 commit 4b4e3d7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
import sys
import json
import os
import cProfile
headers={
'Origin': 'https://www.yanhekt.cn',
"xdomain-client": "web_user",
Expand Down Expand Up @@ -47,7 +48,8 @@ def main():

if __name__ == '__main__':
try:
main()
# main()
cProfile.run('main()', 'profile.txt')
except Exception as e:
print(e)
print("If the problem is still not solved, you can report an issue in https://github.com/AuYang261/BIT_yanhe_download/issues.")
Expand Down

0 comments on commit 4b4e3d7

Please sign in to comment.