You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

36 lines
2.5 KiB

3008 function calls in 0.015 seconds
Ordered by: cumulative time
ncalls tottime percall cumtime percall filename:lineno(function)
1 0.000 0.000 0.015 0.015 D:\python\作业\输出.py:40(main)
33 0.000 0.000 0.014 0.000 D:\python\作业\输出.py:31(save_to_file)
34 0.011 0.000 0.011 0.000 {built-in method io.open}
34 0.003 0.000 0.003 0.000 {method '__exit__' of '_io._IOBase' objects}
33 0.000 0.000 0.001 0.000 D:\python\作业\输出.py:18(find_top_sentences_by_keyword)
1650 0.001 0.000 0.001 0.000 {method 'lower' of 'str' objects}
1 0.000 0.000 0.000 0.000 D:\python\作业\输出.py:6(read_file)
825 0.000 0.000 0.000 0.000 {method 'count' of 'str' objects}
105 0.000 0.000 0.000 0.000 {method 'write' of '_io.TextIOWrapper' objects}
1 0.000 0.000 0.000 0.000 {method 'read' of '_io.TextIOWrapper' objects}
1 0.000 0.000 0.000 0.000 D:\python\作业\输出.py:12(split_into_sentences)
33 0.000 0.000 0.000 0.000 {method 'sort' of 'list' objects}
33 0.000 0.000 0.000 0.000 <frozen codecs>:186(__init__)
1 0.000 0.000 0.000 0.000 D:\python\Lib\re\__init__.py:198(split)
1 0.000 0.000 0.000 0.000 D:\python\作业\输出.py:15(<listcomp>)
1 0.000 0.000 0.000 0.000 {method 'split' of 're.Pattern' objects}
33 0.000 0.000 0.000 0.000 D:\python\作业\输出.py:27(<listcomp>)
1 0.000 0.000 0.000 0.000 <frozen codecs>:319(decode)
1 0.000 0.000 0.000 0.000 {built-in method _codecs.utf_8_decode}
47 0.000 0.000 0.000 0.000 D:\python\作业\输出.py:26(<lambda>)
54 0.000 0.000 0.000 0.000 {method 'strip' of 'str' objects}
33 0.000 0.000 0.000 0.000 <frozen codecs>:214(setstate)
47 0.000 0.000 0.000 0.000 {method 'append' of 'list' objects}
1 0.000 0.000 0.000 0.000 D:\python\Lib\re\__init__.py:272(_compile)
1 0.000 0.000 0.000 0.000 <frozen codecs>:309(__init__)
1 0.000 0.000 0.000 0.000 {built-in method builtins.isinstance}
1 0.000 0.000 0.000 0.000 <frozen codecs>:260(__init__)
1 0.000 0.000 0.000 0.000 {method 'disable' of '_lsprof.Profiler' objects}