Skip to content

Instantly share code, notes, and snippets.

@MOON-CLJ
Created December 11, 2013 05:51
Show Gist options
  • Save MOON-CLJ/7905654 to your computer and use it in GitHub Desktop.
Save MOON-CLJ/7905654 to your computer and use it in GitHub Desktop.
8块硬盘同时读取,本地访问
125046514 function calls in 233.965 seconds
Ordered by: standard name
ncalls tottime percall cumtime percall filename:lineno(function)
1214379 6.203 0.000 9.627 0.000 __init__.py:6368(__init__)
1214379 2.753 0.000 8.325 0.000 __init__.py:6379(_get_document)
1214380 3.033 0.000 13.031 0.000 __init__.py:6403(next)
13699970 27.000 0.000 31.177 0.000 __init__.py:6540(__init__)
10056833 3.016 0.000 3.016 0.000 __init__.py:6560(_get_wdf)
1214379 1.422 0.000 1.422 0.000 __init__.py:6656(__init__)
1214379 0.209 0.000 0.209 0.000 __init__.py:6675(__iter__)
14914349 43.956 0.000 87.091 0.000 __init__.py:6679(next)
1214379 4.087 0.000 15.878 0.000 __init__.py:6874(_document_gen_termlist_iter)
1 0.000 0.000 31.742 31.742 xapian_backend.py:225(search)
1214380 4.639 0.000 200.896 0.000 xapian_backend.py:250(result_generator)
1214379 8.191 0.000 174.901 0.000 xapian_backend.py:256(_extract_item)
1214379 24.872 0.000 119.256 0.000 xapian_backend.py:262(<dictcomp>)
1 0.000 0.000 31.070 31.070 xapian_backend.py:291(_get_enquire_mset)
1214379 1.110 0.000 9.193 0.000 xapian_backend.py:310(_get_document_data)
1214379 8.082 0.000 8.082 0.000 {_xapian.Document_get_data}
1214379 9.335 0.000 9.335 0.000 {_xapian.Document_termlist_begin}
1214379 1.034 0.000 1.034 0.000 {_xapian.Document_termlist_end}
1 31.070 31.070 31.070 31.070 {_xapian.Enquire_get_mset}
1214379 0.413 0.000 0.413 0.000 {_xapian.MSetIterator_get_collapse_count}
1214379 0.769 0.000 0.769 0.000 {_xapian.MSetIterator_get_collapse_key}
1214379 0.502 0.000 0.502 0.000 {_xapian.MSetIterator_get_docid}
1214379 3.794 0.000 3.794 0.000 {_xapian.MSetIterator_get_document}
1214379 0.458 0.000 0.458 0.000 {_xapian.MSetIterator_get_percent}
1214379 0.393 0.000 0.393 0.000 {_xapian.MSetIterator_get_rank}
1214379 0.417 0.000 0.417 0.000 {_xapian.MSetIterator_get_weight}
1214379 0.371 0.000 0.371 0.000 {_xapian.MSetIterator_next}
1214379 1.779 0.000 1.779 0.000 {_xapian.MSet__get_hit_internal}
1 0.672 0.672 0.672 0.672 {_xapian.MSet_fetch}
1214379 0.472 0.000 0.472 0.000 {_xapian.MSet_get_firstitem}
13699970 5.593 0.000 5.593 0.000 {_xapian.TermIterator_get_term}
13699970 4.177 0.000 4.177 0.000 {_xapian.TermIterator_get_wdf}
13699970 6.366 0.000 6.366 0.000 {_xapian.TermIterator_next}
1214379 9.733 0.000 9.733 0.000 {cPickle.loads}
1214386 0.284 0.000 0.284 0.000 {method 'get' of 'dict' objects}
13700217 4.277 0.000 4.277 0.000 {method 'startswith' of 'str' objects}
1214379 12.156 0.000 12.156 0.000 {zlib.decompress}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment