public
Created

Profiler data

  • Download Gist
gistfile1.txt
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106
320034 function calls (302666 primitive calls) in 46.917 CPU seconds
 
Ordered by: internal time, call count
List reduced from 290 to 100 due to restriction <100>
 
ncalls tottime percall cumtime percall filename:lineno(function)
18386/17385 39.135 0.002 39.158 0.002 threadsafe.py:42(__call__)
2228 4.522 0.002 11.127 0.005 geometry.py:42(__init__)
1 1.528 1.528 1.528 1.528 base.py:42(execute)
11 0.164 0.015 0.167 0.015 compiler.py:749(<lambda>)
2000 0.153 0.000 0.835 0.000 base.py:30(__new__)
4000 0.137 0.000 0.137 0.000 base.py:919(subclass_exception)
2000 0.104 0.000 0.274 0.000 options.py:62(contribute_to_class)
2000/1000 0.101 0.000 1.221 0.001 query.py:1128(get_cached_row)
2000 0.099 0.000 0.985 0.000 query_utils.py:145(deferred_class_factory)
2000 0.098 0.000 0.109 0.000 base.py:275(__init__)
4000 0.095 0.000 0.138 0.000 re.py:144(sub)
1001 0.070 0.000 1.809 0.002 compiler.py:673(results_iter)
4000 0.058 0.000 0.102 0.000 copy.py:65(copy)
4014 0.045 0.000 0.053 0.000 datastructures.py:110(__init__)
4009 0.038 0.000 0.045 0.000 copy.py:300(_reconstruct)
2000 0.035 0.000 0.091 0.000 options.py:28(__init__)
29000 0.032 0.000 0.032 0.000 query_utils.py:73(__init__)
4000 0.030 0.000 0.030 0.000 util.py:127(truncate_name)
1 0.025 0.025 0.025 0.025 base.py:116(_cursor)
5000 0.020 0.000 0.020 0.000 sre_parse.py:784(expand_template)
6000 0.018 0.000 0.292 0.000 base.py:214(add_to_class)
1 0.017 0.017 46.917 46.917 views.py:62(search)
4000 0.016 0.000 0.127 0.000 manager.py:78(_copy_to_model)
1000 0.015 0.000 0.017 0.000 compiler.py:166(resolve_columns)
4014 0.015 0.000 0.015 0.000 datastructures.py:105(__new__)
34034 0.013 0.000 0.013 0.000 query_utils.py:115(select_related_descend)
2000 0.013 0.000 0.029 0.000 loading.py:182(get_model)
17994/6230 0.012 0.000 0.024 0.000 encoder.py:284(_iterencode)
3669 0.012 0.000 0.193 0.000 geometry.py:628(area)
2000 0.012 0.000 0.044 0.000 proxy.py:42(__set__)
2228 0.011 0.000 0.056 0.000 geometry.py:96(_post_init)
1000 0.010 0.000 32.576 0.033 algorithms.py:20(compute_footprint)
1223 0.009 0.000 0.074 0.000 geometry.py:538(_topology)
18603 0.009 0.000 0.009 0.000 base.py:34(_get_ptr)
4000 0.009 0.000 0.009 0.000 re.py:227(_compile)
4000 0.008 0.000 0.008 0.000 manager.py:70(_set_creation_counter)
11 0.008 0.001 0.008 0.001 socket.py:264(close)
1001 0.008 0.000 3.038 0.003 query.py:214(iterator)
935 0.008 0.000 14.320 0.015 algorithms.py:50(similar)
9688/6228 0.007 0.000 0.014 0.000 encoder.py:213(_iterencode_dict)
5000 0.007 0.000 0.027 0.000 re.py:275(filter)
1000 0.007 0.000 11.128 0.011 proxy.py:18(__get__)
2230 0.007 0.000 0.027 0.000 geometry.py:357(get_srid)
1000 0.007 0.000 6.543 0.007 io.py:129(read)
4004 0.006 0.000 0.006 0.000 copy_reg.py:92(__newobj__)
4014 0.006 0.000 0.006 0.000 functional.py:274(__getattr__)
2004 0.006 0.000 0.007 0.000 options.py:454(get_parent_list)
2228 0.006 0.000 0.006 0.000 geometry.py:193(has_cs)
935 0.006 0.000 14.214 0.015 geometry.py:586(intersection)
2000 0.005 0.000 0.103 0.000 options.py:20(<lambda>)
2228 0.005 0.000 0.024 0.000 geometry.py:221(geom_typeid)
3670 0.005 0.000 0.005 0.000 errcheck.py:29(last_arg_byref)
1692 0.005 0.000 0.007 0.000 related.py:288(__get__)
1001 0.005 0.000 0.005 0.000 __init__.py:484(string_at)
2000 0.005 0.000 0.007 0.000 re.py:269(_subx)
2228 0.005 0.000 0.203 0.000 geometry.py:108(__del__)
2692 0.004 0.000 0.004 0.000 __init__.py:249(get_cache_name)
2000 0.004 0.000 0.008 0.000 functional.py:238(__wrapper__)
2229 0.004 0.000 0.004 0.000 base.py:41(_set_ptr)
4000 0.004 0.000 0.004 0.000 base.py:59(<genexpr>)
3669 0.004 0.000 0.009 0.000 errcheck.py:33(check_dbl)
2000 0.004 0.000 0.004 0.000 functional.py:153(__init__)
346 0.004 0.000 32.585 0.094 algorithms.py:7(compute)
2228 0.004 0.000 0.009 0.000 geometry.py:202(_set_cs)
6007 0.003 0.000 0.003 0.000 options.py:212(_fields)
1000 0.003 0.000 0.014 0.000 errcheck.py:77(check_string)
4000 0.003 0.000 0.003 0.000 base.py:63(<genexpr>)
1000 0.003 0.000 0.110 0.000 prepared.py:29(intersects)
1228 0.003 0.000 0.012 0.000 geometry.py:363(set_srid)
6230 0.003 0.000 0.021 0.000 encoder.py:180(_iterencode_list)
1008 0.003 0.000 0.003 0.000 utf_8.py:15(decode)
1000 0.003 0.000 0.007 0.000 views.py:71(<lambda>)
935 0.003 0.000 0.012 0.000 prepared.py:20(contains)
4001 0.003 0.000 0.003 0.000 dispatcher.py:149(send)
2224 0.003 0.000 0.003 0.000 errcheck.py:53(check_predicate)
2000 0.002 0.000 0.002 0.000 re.py:249(_compile_repl)
1346 0.002 0.000 0.002 0.000 base.py:422(_get_pk_val)
288 0.002 0.000 12.265 0.043 algorithms.py:54(dissimilar)
1 0.002 0.002 0.026 0.026 encoder.py:346(encode)
2000 0.002 0.000 0.002 0.000 query_utils.py:151(Meta)
2224 0.002 0.000 0.002 0.000 errcheck.py:40(check_geom)
1000 0.002 0.000 0.025 0.000 geometry.py:216(geom_type)
2000 0.002 0.000 0.002 0.000 base.py:264(__init__)
288 0.002 0.000 12.168 0.042 geometry.py:616(sym_difference)
1000 0.002 0.000 0.002 0.000 io.py:221(wkb_r)
2004 0.002 0.000 0.002 0.000 datastructures.py:142(__iter__)
2006 0.002 0.000 0.002 0.000 options.py:227(get_fields_with_model)
318 0.001 0.000 0.001 0.000 encoder.py:31(floatstr)
1008 0.001 0.000 0.001 0.000 query.py:1808(_extra_select)
2575 0.001 0.000 0.001 0.000 errcheck.py:46(check_minus_one)
288 0.001 0.000 5.763 0.020 geometry.py:349(within)
347 0.001 0.000 0.004 0.000 polygon.py:137(num_interior_rings)
1012 0.001 0.000 0.001 0.000 datastructures.py:166(keys)
347 0.001 0.000 0.005 0.000 polygon.py:51(__len__)
1000 0.001 0.000 0.001 0.000 __init__.py:224(unique)
2001 0.001 0.000 0.001 0.000 operations.py:193(max_name_length)
140/20 0.001 0.000 0.002 0.000 copy.py:144(deepcopy)
1 0.001 0.001 0.001 0.001 __init__.py:742(emit)
4 0.000 0.000 0.000 0.000 query.py:527(deferred_to_data)
136 0.000 0.000 0.000 0.000 copy.py:261(_keep_alive)

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.