*** PROFILER RESULTS *** file_server (/home/dooferlad/dev/license-protection/bigdir/license_protected_downloads/views.py:395) function called 1 times
118210541 function calls (118202699 primitive calls) in 84.096 seconds
Ordered by: cumulative time, internal time, call count List reduced from 990 to 40 due to restriction <40>
ncalls tottime percall cumtime percall filename:lineno(function) 1 0.003 0.003 84.096 84.096 views.py:395(file_server) 1 0.024 0.024 83.456 83.456 views.py:66(dir_list) 434 0.006 0.000 83.364 0.192 buildinfo.py:10(__init__) 434 0.199 0.000 83.045 0.191 buildinfo.py:58(getInfoForFile) 433 0.005 0.000 83.005 0.192 views.py:223(is_protected) 94453 0.340 0.000 82.588 0.001 fnmatch.py:24(fnmatch) 94453 0.272 0.000 82.219 0.001 fnmatch.py:67(fnmatchcase) 93242 0.653 0.000 58.888 0.001 re.py:226(_compile) 90616 0.074 0.000 58.771 0.001 re.py:188(compile) 92416 0.454 0.000 57.999 0.001 sre_compile.py:495(compile) 92416 0.395 0.000 37.048 0.000 sre_parse.py:663(parse) 92421/92416 0.209 0.000 36.218 0.000 sre_parse.py:301(_parse_sub) 92423/92416 12.157 0.000 35.925 0.000 sre_parse.py:379(_parse) 90609 6.842 0.000 23.030 0.000 fnmatch.py:81(translate) 92416 0.265 0.000 20.197 0.000 sre_compile.py:480(_code) 7969627 15.356 0.000 16.175 0.000 re.py:204(escape) 8582145 4.500 0.000 15.046 0.000 sre_parse.py:201(get) 92416 8.838 0.000 14.642 0.000 sre_compile.py:361(_compile_info) 8764750 9.121 0.000 10.832 0.000 sre_parse.py:182(__next) 92436/92416 3.820 0.000 5.281 0.000 sre_compile.py:32(_compile) 8036564 3.655 0.000 4.777 0.000 sre_parse.py:138(append) 92448/92428 3.798 0.000 3.876 0.000 sre_parse.py:140(getwidth) 32908351 3.593 0.000 3.593 0.000 {method 'append' of 'list' objects} 1359340 2.356 0.000 3.053 0.000 sre_parse.py:257(_escape) 27486205/27486190 2.669 0.000 2.669 0.000 {len} 7944167 0.848 0.000 0.848 0.000 {ord} 7969759 0.820 0.000 0.820 0.000 {method 'join' of 'str' objects} 2824089 0.496 0.000 0.496 0.000 {method 'get' of 'dict' objects} 543357 0.181 0.000 0.285 0.000 sre_parse.py:195(match) 92416 0.086 0.000 0.269 0.000 sre_parse.py:178(__init__) 97988 0.190 0.000 0.266 0.000 posixpath.py:68(join) 434 0.115 0.000 0.265 0.001 buildinfo.py:108(parseData) 92416 0.214 0.000 0.214 0.000 {_sre.compile} 1 0.000 0.000 0.199 0.199 __init__.py:14(render_to_response) 1 0.000 0.000 0.199 0.199 loader.py:158(render_to_string) 2/1 0.000 0.000 0.195 0.195 base.py:136(render) 3/1 0.000 0.000 0.195 0.195 base.py:133(_render) 1305/1 0.015 0.000 0.195 0.195 base.py:819(render) 2190/1 0.002 0.000 0.193 0.193 debug.py:72(render_node) 1 0.000 0.000 0.193 0.193 loader_tags.py:100(render)
*** PROFILER RESULTS *** dooferlad/ dev/license- protection/ bigdir/ license_ protected_ downloads/ views.py: 395)
file_server (/home/
function called 1 times
118210541 function calls (118202699 primitive calls) in 84.096 seconds
Ordered by: cumulative time, internal time, call count
List reduced from 990 to 40 due to restriction <40>
ncalls tottime percall cumtime percall filename: lineno( function) 395(file_ server) 66(dir_ list) py:10(_ _init__ ) py:58(getInfoFo rFile) 223(is_ protected) py:24(fnmatch) py:67(fnmatchca se) py:495( compile) py:663( parse) py:301( _parse_ sub) py:379( _parse) py:81(translate ) py:480( _code) py:201( get) py:361( _compile_ info) py:182( __next) py:32(_ compile) py:138( append) py:140( getwidth) py:257( _escape) py:195( match) py:178( __init_ _) py:68(join) py:108( parseData) _.py:14( render_ to_response) py:158( render_ to_string) 133(_render) 72(render_ node) tags.py: 100(render)
1 0.003 0.003 84.096 84.096 views.py:
1 0.024 0.024 83.456 83.456 views.py:
434 0.006 0.000 83.364 0.192 buildinfo.
434 0.199 0.000 83.045 0.191 buildinfo.
433 0.005 0.000 83.005 0.192 views.py:
94453 0.340 0.000 82.588 0.001 fnmatch.
94453 0.272 0.000 82.219 0.001 fnmatch.
93242 0.653 0.000 58.888 0.001 re.py:226(_compile)
90616 0.074 0.000 58.771 0.001 re.py:188(compile)
92416 0.454 0.000 57.999 0.001 sre_compile.
92416 0.395 0.000 37.048 0.000 sre_parse.
92421/92416 0.209 0.000 36.218 0.000 sre_parse.
92423/92416 12.157 0.000 35.925 0.000 sre_parse.
90609 6.842 0.000 23.030 0.000 fnmatch.
92416 0.265 0.000 20.197 0.000 sre_compile.
7969627 15.356 0.000 16.175 0.000 re.py:204(escape)
8582145 4.500 0.000 15.046 0.000 sre_parse.
92416 8.838 0.000 14.642 0.000 sre_compile.
8764750 9.121 0.000 10.832 0.000 sre_parse.
92436/92416 3.820 0.000 5.281 0.000 sre_compile.
8036564 3.655 0.000 4.777 0.000 sre_parse.
92448/92428 3.798 0.000 3.876 0.000 sre_parse.
32908351 3.593 0.000 3.593 0.000 {method 'append' of 'list' objects}
1359340 2.356 0.000 3.053 0.000 sre_parse.
27486205/27486190 2.669 0.000 2.669 0.000 {len}
7944167 0.848 0.000 0.848 0.000 {ord}
7969759 0.820 0.000 0.820 0.000 {method 'join' of 'str' objects}
2824089 0.496 0.000 0.496 0.000 {method 'get' of 'dict' objects}
543357 0.181 0.000 0.285 0.000 sre_parse.
92416 0.086 0.000 0.269 0.000 sre_parse.
97988 0.190 0.000 0.266 0.000 posixpath.
434 0.115 0.000 0.265 0.001 buildinfo.
92416 0.214 0.000 0.214 0.000 {_sre.compile}
1 0.000 0.000 0.199 0.199 __init_
1 0.000 0.000 0.199 0.199 loader.
2/1 0.000 0.000 0.195 0.195 base.py:136(render)
3/1 0.000 0.000 0.195 0.195 base.py:
1305/1 0.015 0.000 0.195 0.195 base.py:819(render)
2190/1 0.002 0.000 0.193 0.193 debug.py:
1 0.000 0.000 0.193 0.193 loader_