Mercurial > p > roundup > code
view .codecov.yml @ 8519:19152fd94fcf
bug: move import findargspec out of Permission __init__ method
We have a few places where imports are done inside a method/function.
For methods that are called once it's not an issue but the Permissions
__init__ method is called often and accounts for > 10% of the time in
the __init__ function when looking at wsgi-lineprof output.
So move it to the module level.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Mon, 02 Feb 2026 23:41:36 -0500 |
| parents | a8741a95645a |
| children |
line wrap: on
line source
# - "path/to/folder" # ignore folders and all its contents # - "test_*.rb" # wildcards accepted # - "**/*.py" # glob accepted # - "[a-z]+/test_.*" # regexp accepted # ignore files that are build utils and not executed # code, or are deprecated. ignore: - "roundup/cgi/TAL/talgettext.py" # utility command - "roundup/cgi/TAL/DummyEngine.py" # test harness - "roundup/cgi/apache.py" # mod_python is deprecated - "roundup/install_util.py" # another build utlity - "roundup/dist" # more build utils - "roundup/test" # code used for testing
