Revision 1699
Added by Aaron Marcuse-Kubitza over 12 years ago
digir_client | ||
---|---|---|
13 | 13 |
import dates |
14 | 14 |
import http |
15 | 15 |
import opts |
16 |
import profiling |
|
16 | 17 |
import streams |
17 | 18 |
import util |
18 | 19 |
import xml_dom |
... | ... | |
104 | 105 |
log('Processed '+str(total)+' record(s)', line_ending) |
105 | 106 |
match_ct = None |
106 | 107 |
|
108 |
profiler = profiling.ItersProfiler(start_now=True, iter_text='record') |
|
109 |
|
|
107 | 110 |
# Retrieve data |
108 | 111 |
while count == None or total < count: |
109 | 112 |
# Adjust chunk size if last chunk |
... | ... | |
155 | 158 |
if this_ct == 0 or get_diag('END_OF_RECORDS') == 'true': break |
156 | 159 |
|
157 | 160 |
print_status() |
161 |
profiler.stop(total) |
|
162 |
log(profiler.msg()) |
|
158 | 163 |
|
159 | 164 |
main() |
Also available in: Unified diff
digir_client: Output profiling information