dongchao-cn / miao_fm

this is a online music server, just like douban FM
5 stars 3 forks source link

本机推荐profile,138.945s其中 1 0.048 0.048 138.937 138.937 recommendations.py:211(user_get_music) #17

Closed fz1989 closed 10 years ago

fz1989 commented 10 years ago
      18702162 function calls (18635872 primitive calls) in 138.945 seconds

   Ordered by: standard name

   ncalls  tottime  percall  cumtime  percall filename:lineno(function)
     3539    0.012    0.000    0.012    0.000 :0(__getitem__)
    54413    0.152    0.000    0.152    0.000 :0(__new__)
    26370    0.224    0.000    0.236    0.000 :0(__reduce_ex__)
        5    0.000    0.000    0.000    0.000 :0(__subclasses__)
        5    0.000    0.000    0.000    0.000 :0(__subclasshook__)
        1    0.000    0.000    0.000    0.000 :0(_do_batched_insert)
        3    0.000    0.000    0.000    0.000 :0(_get_more_message)
     3770    0.092    0.000    0.196    0.000 :0(_query_message)
     1334    0.028    0.000    0.028    0.000 :0(_update_message)
     5852    0.032    0.000    0.032    0.000 :0(a2b_hex)
    25540    0.064    0.000    0.064    0.000 :0(acquire)
     7204    0.032    0.000    0.104    0.000 :0(add)
   222262    0.484    0.000    0.484    0.000 :0(append)
     3922    0.012    0.000    0.012    0.000 :0(callable)
     3770    0.008    0.000    0.008    0.000 :0(copy)
    19620    0.140    0.000    0.336    0.000 :0(decode)
     5108    0.164    0.000    0.764    0.000 :0(decode_all)
     1043    0.008    0.000    0.008    0.000 :0(extend)
        3    0.000    0.000    0.000    0.000 :0(fileno)
  1374168    4.424    0.000    4.424    0.000 :0(get)
   357559    1.332    0.000    3.104    0.000 :0(getattr)
    10216    0.028    0.000    0.028    0.000 :0(getpid)
   504311    2.028    0.000    2.072    0.000 :0(hasattr)
     9280    0.044    0.000    0.044    0.000 :0(hash)
    51982    0.156    0.000    0.156    0.000 :0(hexlify)
   356696    1.036    0.000    1.036    0.000 :0(id)
        1    0.000    0.000    0.000    0.000 :0(insert)
    15065    0.108    0.000    0.108    0.000 :0(isdigit)
  2181378    8.052    0.000    8.072    0.000 :0(isinstance)
7541/7534    0.024    0.000    0.024    0.000 :0(issubclass)
    58041    0.200    0.000    0.200    0.000 :0(items)
     4172    0.008    0.000    0.008    0.000 :0(iter)
   160936    0.548    0.000    0.548    0.000 :0(iteritems)
     1334    0.004    0.000    0.004    0.000 :0(iterkeys)
     8868    0.032    0.000    0.032    0.000 :0(join)
  3836148   13.457    0.000   13.457    0.000 :0(len)
    15247    0.040    0.000    0.040    0.000 :0(pop)
     8803    0.012    0.000    0.012    0.000 :0(popleft)
   316012    0.972    0.000    0.972    0.000 :0(pow)
    24869    0.056    0.000    0.056    0.000 :0(proxy)
     3766    0.024    0.000    0.024    0.000 :0(range)
    10964    0.184    0.000    0.184    0.000 :0(recv)
    20432    0.064    0.000    0.064    0.000 :0(release)
     4177    0.020    0.000    0.020    0.000 :0(remove)
     3767    0.028    0.000    0.028    0.000 :0(replace)
     2951    0.008    0.000    0.008    0.000 :0(reverse)
        3    0.000    0.000    0.000    0.000 :0(select)
     5108    0.056    0.000    0.056    0.000 :0(sendall)
   309898    1.308    0.000    2.468    0.000 :0(setattr)
   765724    2.388    0.000    2.388    0.000 :0(setdefault)
        1    0.000    0.000    0.000    0.000 :0(setprofile)
     2951    2.888    0.001    2.888    0.001 :0(sort)
    23117    0.100    0.000    0.100    0.000 :0(sorted)
     8867    0.052    0.000    0.052    0.000 :0(split)
    67944    0.208    0.000    0.208    0.000 :0(sqrt)
   118080    0.316    0.000    0.316    0.000 :0(startswith)
   339720    1.084    0.000    1.084    0.000 :0(sum)
    10216    0.024    0.000    0.024    0.000 :0(time)
    35756    0.152    0.000    0.152    0.000 :0(unpack)
    39588    0.136    0.000    0.136    0.000 :0(update)
        2    0.000    0.000    0.000    0.000 :0(utcnow)
    13768    0.036    0.000    0.036    0.000 :0(utf_8_decode)
        1    0.008    0.008  138.945  138.945 <string>:1(<module>)
        5    0.000    0.000    0.000    0.000 _weakrefset.py:16(__init__)
        5    0.000    0.000    0.000    0.000 _weakrefset.py:20(__enter__)
        5    0.000    0.000    0.000    0.000 _weakrefset.py:26(__exit__)
        5    0.000    0.000    0.000    0.000 _weakrefset.py:36(__init__)
        5    0.000    0.000    0.000    0.000 _weakrefset.py:52(_commit_removals)
       10    0.000    0.000    0.000    0.000 _weakrefset.py:58(__iter__)
     2090    0.012    0.000    0.012    0.000 _weakrefset.py:68(__contains__)
        5    0.000    0.000    0.000    0.000 _weakrefset.py:81(add)
     1043    0.000    0.000    0.020    0.000 abc.py:128(__instancecheck__)
      5/1    0.000    0.000    0.000    0.000 abc.py:148(__subclasscheck__)
     5041    0.056    0.000    5.648    0.001 base.py:1121(next)
     3770    0.008    0.000    0.008    0.000 base.py:1147(_collection)
     3770    0.040    0.000    0.040    0.000 base.py:1154(_cursor_args)
     8807    0.096    0.000    3.204    0.000 base.py:1168(_cursor)
     3766    0.120    0.000   27.454    0.007 base.py:117(__getitem__)
     3770    0.040    0.000    1.260    0.000 base.py:1202(_query)
     3767    0.088    0.000    0.796    0.000 base.py:1366(_get_order_by)
     3766    0.072    0.000   30.802    0.008 base.py:251(first)
    15072    0.244    0.000    0.384    0.000 base.py:45(__init__)
    11302    0.108    0.000    9.573    0.001 base.py:522(clone)
    11302    2.140    0.000    9.189    0.001 base.py:530(clone_into)
     3770    0.076    0.000    3.332    0.001 base.py:78(__call__)
        1    0.000    0.000    0.000    0.000 collection.py:128(__getattr__)
     3773    0.008    0.000    0.008    0.000 collection.py:154(full_name)
     3767    0.004    0.000    0.004    0.000 collection.py:165(name)
    38960    0.120    0.000    0.120    0.000 collection.py:174(database)
     7536    0.016    0.000    0.016    0.000 collection.py:184(__get_uuid_subtype)
        1    0.000    0.000    0.000    0.000 collection.py:272(insert)
        1    0.000    0.000    0.000    0.000 collection.py:36(_gen_index_name)
     1334    0.052    0.000    0.920    0.001 collection.py:370(update)
        4    0.000    0.000    0.000    0.000 collection.py:46(__init__)
     3770    0.072    0.000    0.580    0.000 collection.py:608(find)
        1    0.000    0.000    0.000    0.000 collection.py:761(create_index)
        1    0.000    0.000    0.000    0.000 collection.py:870(ensure_index)
        5    0.000    0.000    0.000    0.000 common.py:135(validate_positive_float)
        5    0.000    0.000    0.000    0.000 common.py:162(validate_read_preference)
        5    0.000    0.000    0.000    0.000 common.py:175(validate_tag_sets)
        5    0.000    0.000    0.000    0.000 common.py:275(__init__)
        5    0.000    0.000    0.000    0.000 common.py:296(__init__)
        5    0.000    0.000    0.000    0.000 common.py:336(__set_options)
        5    0.000    0.000    0.000    0.000 common.py:372(__get_write_concern)
   337183    2.428    0.000    3.512    0.000 common.py:4(_import_class)
       10    0.000    0.000    0.000    0.000 common.py:42(validate_boolean)
        5    0.000    0.000    0.000    0.000 common.py:428(__get_slave_okay)
     3775    0.012    0.000    0.012    0.000 common.py:446(__get_read_pref)
     3775    0.016    0.000    0.016    0.000 common.py:461(__get_acceptable_latency)
     3775    0.008    0.000    0.008    0.000 common.py:486(__get_tag_sets)
        7    0.000    0.000    0.000    0.000 common.py:508(__get_safe)
        1    0.000    0.000    0.000    0.000 common.py:586(_get_wc_override)
     1335    0.012    0.000    0.028    0.000 common.py:597(_get_write_mode)
     1335    0.004    0.000    0.008    0.000 common.py:611(pop1)
        2    0.000    0.000    0.000    0.000 connection.py:129(get_db)
        1    0.000    0.000    0.000    0.000 connection.py:83(get_connection)
   169530    0.344    0.000    0.344    0.000 copy.py:101(_copy_immutable)
    33906    0.112    0.000    0.112    0.000 copy.py:113(_copy_with_constructor)
161938/146874    2.820    0.000    7.148    0.000 copy.py:145(deepcopy)
   116746    0.344    0.000    0.344    0.000 copy.py:198(_deepcopy_atomic)
     3766    0.112    0.000    0.360    0.000 copy.py:234(_deepcopy_tuple)
   128044    0.964    0.000    1.476    0.000 copy.py:267(_keep_alive)
    26370    0.984    0.000    2.644    0.000 copy.py:306(_reconstruct)
   226040    2.332    0.000    5.560    0.000 copy.py:66(copy)
    26370    0.140    0.000    0.224    0.000 copy_reg.py:92(__newobj__)
        2    0.000    0.000    0.000    0.000 copy_reg.py:95(_slotnames)
     3767    0.008    0.000    0.008    0.000 cursor.py:178(collection)
     7536    0.008    0.000    0.008    0.000 cursor.py:187(__del__)
     3766    0.016    0.000   11.689    0.003 cursor.py:209(clone)
     3766    0.376    0.000   11.673    0.003 cursor.py:219(__clone)
    79086    0.568    0.000    0.884    0.000 cursor.py:229(<genexpr>)
     3770    0.172    0.000    0.788    0.000 cursor.py:262(__query_spec)
     3770    0.012    0.000    0.012    0.000 cursor.py:340(__query_options)
    18832    0.068    0.000    0.068    0.000 cursor.py:350(__check_okay_to_chain)
     3766    0.008    0.000    0.008    0.000 cursor.py:356(__check_not_command_cursor)
     3766    0.036    0.000    0.064    0.000 cursor.py:404(limit)
     3766    0.024    0.000    0.028    0.000 cursor.py:458(skip)
     3766    0.128    0.000   15.933    0.004 cursor.py:475(__getitem__)
     7534    0.080    0.000    0.936    0.000 cursor.py:562(sort)
     7536    0.508    0.000    0.968    0.000 cursor.py:66(__init__)
     3773    0.112    0.000    3.132    0.001 cursor.py:761(__send_message)
     3777    0.132    0.000    4.292    0.001 cursor.py:826(_refresh)
     3766    0.012    0.000    0.012    0.000 cursor.py:897(__iter__)
     8807    0.112    0.000    4.476    0.001 cursor.py:900(next)
18830/3766    1.748    0.000    9.885    0.003 cursor.py:933(__deepcopy)
    31489    0.076    0.000    0.076    0.000 database.py:118(connection)
        6    0.000    0.000    0.000    0.000 database.py:127(name)
        3    0.000    0.000    0.000    0.000 database.py:189(__getattr__)
        2    0.000    0.000    0.000    0.000 database.py:199(__getitem__)
     8803    0.024    0.000    0.024    0.000 database.py:259(_fix_outgoing)
        1    0.000    0.000    0.000    0.000 database.py:30(_check_name)
        1    0.000    0.000    0.000    0.000 database.py:46(__init__)
        1    0.000    0.000    0.000    0.000 database.py:85(add_son_manipulator)
        2    0.000    0.000    0.000    0.000 database.py:93(method_overwritten)
     1043    0.000    0.000    0.032    0.000 datastructures.py:132(extend)
    18422    0.356    0.000    0.832    0.000 datastructures.py:15(__init__)
     1043    0.008    0.000    0.024    0.000 datastructures.py:156(_mark_as_changed)
     3539    0.040    0.000    0.080    0.000 datastructures.py:24(__getitem__)
     6447    0.100    0.000    0.268    0.000 datastructures.py:86(__init__)
     5673    0.056    0.000    0.084    0.000 dbref.py:26(__init__)
        1    0.000    0.000    0.000    0.000 dereference.py:1(<module>)
        1    0.000    0.000    0.000    0.000 dereference.py:10(DeReference)
    23641    0.172    0.000    0.308    0.000 dereference.py:113(_fetch_objects)
    23641    0.984    0.000   12.541    0.001 dereference.py:12(__call__)
    23641    2.072    0.000    5.200    0.000 dereference.py:147(_attach_objects)
    23641    2.792    0.000    5.296    0.000 dereference.py:68(_find_references)
   133088    0.964    0.000    1.440    0.000 document.py:112(__setattr__)
    49896    0.320    0.000    2.176    0.000 document.py:130(fget)
        2    0.000    0.000    0.000    0.000 document.py:138(_get_db)
5858/5856    0.060    0.000    0.092    0.000 document.py:143(_get_collection)
     4172    0.040    0.000    0.048    0.000 document.py:167(__iter__)
     2086    0.028    0.000    0.104    0.000 document.py:180(__setitem__)
     2086    0.164    0.000   10.365    0.005 document.py:180(save)
    43295    0.192    0.000    0.304    0.000 document.py:195(__len__)
     2086    0.008    0.000    0.008    0.000 document.py:230(clean)
        1    0.000    0.000    0.000    0.000 document.py:24(includes_cls)
     4172    0.640    0.000    4.316    0.001 document.py:240(to_mongo)
     1334    0.000    0.000    0.004    0.000 document.py:251(is_new_object)
     2086    0.328    0.000    2.668    0.001 document.py:280(validate)
     8803    1.504    0.000    4.864    0.001 document.py:34(__init__)
     7008    0.064    0.000    0.104    0.000 document.py:367(_mark_as_changed)
     2086    0.160    0.000    0.360    0.000 document.py:377(_clear_changed_fields)
     2086    0.672    0.000    1.448    0.001 document.py:393(_get_changed_fields)
     2086    0.132    0.000    3.736    0.002 document.py:445(_delta)
     5675    0.052    0.000    0.072    0.000 document.py:524(_get_collection_name)
     8803    1.108    0.000   10.101    0.001 document.py:530(_from_son)
        2    0.000    0.000    0.000    0.000 document.py:535(ensure_indexes)
    87694    0.368    0.000    0.368    0.000 document.py:538(<genexpr>)
     7533    0.116    0.000    0.224    0.000 document.py:753(_lookup_field)
     3767    0.036    0.000    0.156    0.000 document.py:804(_translate_field_name)
     8803    0.096    0.000    0.136    0.000 document.py:812(__set_field_display)
    15072    0.060    0.000    0.060    0.000 field_list.py:10(__init__)
     3770    0.000    0.000    0.000    0.000 field_list.py:67(__nonzero__)
     5674    0.032    0.000    0.032    0.000 fields.py:1057(__init__)
     5674    0.068    0.000    0.208    0.000 fields.py:1220(__set__)
     5674    0.060    0.000    0.092    0.000 fields.py:1257(to_python)
     5673    0.004    0.000    0.004    0.000 fields.py:127(to_python)
    45532    0.216    0.000    0.804    0.000 fields.py:132(to_mongo)
31110/16688    0.496    0.000    1.968    0.000 fields.py:147(_validate)
    12948    0.036    0.000    0.036    0.000 fields.py:172(to_python)
     2086    0.012    0.000    0.012    0.000 fields.py:179(validate)
    16984    0.676    0.000   14.841    0.001 fields.py:190(__get__)
34232/12505    1.296    0.000    2.588    0.000 fields.py:234(to_python)
    12516    0.672    0.000    1.956    0.000 fields.py:276(to_mongo)
     6258    0.156    0.000    0.884    0.000 fields.py:343(validate)
    16562    0.048    0.000    0.096    0.000 fields.py:391(to_python)
     7938    0.068    0.000    0.356    0.000 fields.py:396(to_mongo)
     3766    0.024    0.000    0.348    0.000 fields.py:405(prepare_query_value)
     2086    0.020    0.000    0.180    0.000 fields.py:408(validate)
   105100    0.600    0.000    1.132    0.000 fields.py:61(to_python)
     6258    0.092    0.000    1.004    0.000 fields.py:688(validate)
    20680    0.196    0.000    0.332    0.000 fields.py:70(validate)
    79136    0.940    0.000    2.184    0.000 fields.py:84(__get__)
    11346    0.056    0.000    0.112    0.000 fields.py:860(document_type)
        1    0.000    0.000    0.000    0.000 fields.py:869(__get__)
     5673    0.244    0.000    0.576    0.000 fields.py:912(to_python)
    79227    0.224    0.000    0.252    0.000 fields.py:99(__set__)
     1335    0.008    0.000    0.008    0.000 helpers.py:112(_check_command_response)
     7536    0.060    0.000    0.076    0.000 helpers.py:31(_index_list)
     7535    0.196    0.000    0.740    0.000 helpers.py:47(_index_document)
     5108    0.168    0.000    1.032    0.000 helpers.py:74(_unpack_response)
     5852    0.040    0.000    0.080    0.000 hex_codec.py:27(hex_decode)
     3770    0.044    0.000    0.232    0.000 manager.py:27(__get__)
     3766    0.092    0.000   34.454    0.009 model.py:123(get_music)
        1    0.000    0.000    0.000    0.000 model.py:130(get_all_music)
        3    0.000    0.000    0.004    0.001 model.py:139(get_all_user)
     5447    0.040    0.000    0.296    0.000 model.py:41(music_id)
    44449    0.232    0.000    2.152    0.000 model.py:47(user_id)
     1043    0.012    0.000    4.568    0.004 model.py:91(remove_all_recommend)
     3773    0.040    0.000    0.604    0.000 mongo_client.py:1014(__send_and_receive)
     3773    0.072    0.000    2.032    0.001 mongo_client.py:1027(_send_message_with_response)
        1    0.000    0.000    0.000    0.000 mongo_client.py:1134(__getattr__)
        1    0.000    0.000    0.000    0.000 mongo_client.py:1145(__getitem__)
        1    0.000    0.000    0.000    0.000 mongo_client.py:371(_cached)
        1    0.000    0.000    0.000    0.000 mongo_client.py:381(_cache_index)
     5108    0.020    0.000    0.020    0.000 mongo_client.py:454(__check_auth)
    11306    0.028    0.000    0.028    0.000 mongo_client.py:499(is_mongos)
     5108    0.004    0.000    0.004    0.000 mongo_client.py:547(auto_start_request)
     7536    0.036    0.000    0.036    0.000 mongo_client.py:553(get_document_class)
     7536    0.004    0.000    0.004    0.000 mongo_client.py:566(tz_aware)
        1    0.000    0.000    0.000    0.000 mongo_client.py:574(max_bson_size)
        1    0.000    0.000    0.000    0.000 mongo_client.py:583(max_message_size)
     5108    0.076    0.000    0.660    0.000 mongo_client.py:752(__socket)
        1    0.000    0.000    0.000    0.000 mongo_client.py:781(_ensure_connected)
     1335    0.044    0.000    0.132    0.000 mongo_client.py:876(__check_response_to_last_error)
     5108    0.044    0.000    0.052    0.000 mongo_client.py:915(__check_bson_size)
     1335    0.048    0.000    0.780    0.001 mongo_client.py:936(_send_message)
    10216    0.208    0.000    0.436    0.000 mongo_client.py:983(__receive_data_on_socket)
     5108    0.144    0.000    0.656    0.000 mongo_client.py:998(__receive_message_on_socket)
    26002    0.400    0.000    0.820    0.000 objectid.py:169(__validate)
     3766    0.012    0.000    0.012    0.000 objectid.py:223(__getstate__)
     3766    0.012    0.000    0.028    0.000 objectid.py:229(__setstate__)
    51982    0.220    0.000    0.376    0.000 objectid.py:246(__str__)
     2086    0.008    0.000    0.012    0.000 objectid.py:259(__ne__)
     4172    0.024    0.000    0.048    0.000 objectid.py:284(__hash__)
    26002    0.172    0.000    0.992    0.000 objectid.py:68(__init__)
     5108    0.196    0.000    0.560    0.000 pool.py:286(get_socket)
     5108    0.132    0.000    1.044    0.000 pool.py:387(maybe_return_socket)
     5108    0.108    0.000    0.512    0.000 pool.py:408(_return_socket)
     5108    0.012    0.000    0.024    0.000 pool.py:426(_check)
        3    0.000    0.000    0.000    0.000 pool.py:44(_closed)
    10216    0.092    0.000    0.428    0.000 pool.py:509(_get_request_state)
    15324    0.092    0.000    0.148    0.000 pool.py:78(__eq__)
     5108    0.016    0.000    0.072    0.000 pool.py:83(__ne__)
     5108    0.028    0.000    0.048    0.000 pool.py:86(__hash__)
        0    0.000             0.000          profile:0(profiler)
        1    0.000    0.000  138.945  138.945 profile:0(user_get_music())
     5852    0.028    0.000    0.156    0.000 py3compat.py:52(bytes_from_hex)
        4    0.000    0.000    0.000    0.000 queryset.py:25(__iter__)
     5041    0.036    0.000    5.720    0.001 queryset.py:65(_iter_results)
       53    0.036    0.001    5.684    0.107 queryset.py:83(_populate_cache)
        1    0.124    0.124   11.577   11.577 recommendations.py:100(get_music_tag_prefs)
        1    0.332    0.332   43.075   43.075 recommendations.py:111(get_user_tags_prefs)
        1    0.056    0.056    2.164    2.164 recommendations.py:139(get_user_music_prefs)
     1043    2.724    0.003    5.076    0.005 recommendations.py:181(get_recommendations_with_item_based)
     1043    0.016    0.000    5.092    0.005 recommendations.py:199(get_musics)
        1    0.048    0.048  138.937  138.937 recommendations.py:211(user_get_music)
  3638556   32.242    0.000   47.343    0.000 recommendations.py:22(sim_pearson)
     1908   14.805    0.008   65.036    0.034 recommendations.py:61(top_k_matches)
        1    0.096    0.096   65.132   65.132 recommendations.py:77(calc_similarity_matrix)
        1    0.004    0.004  121.952  121.952 recommendations.py:92(__init__)
    23864    0.060    0.000    0.060    0.000 signals.py:30(<lambda>)
     5111    0.024    0.000    0.100    0.000 socket.py:223(meth)
     4172    0.020    0.000    0.040    0.000 son.py:102(__delitem__)
    77709    0.240    0.000    0.240    0.000 son.py:106(keys)
    26369    0.104    0.000    0.148    0.000 son.py:117(__iter__)
    62641    0.324    0.000    0.508    0.000 son.py:124(__contains__)
     7532    0.044    0.000    0.088    0.000 son.py:128(iteritems)
     4172    0.012    0.000    0.072    0.000 son.py:157(pop)
    59853    0.488    0.000    0.892    0.000 son.py:178(update)
    18022    0.072    0.000    0.072    0.000 son.py:194(get)
     3767    0.044    0.000    0.068    0.000 son.py:211(__len__)
     3766    0.140    0.000    0.608    0.000 son.py:233(__deepcopy__)
    28043    0.312    0.000    1.024    0.000 son.py:80(__init__)
    28043    0.180    0.000    0.248    0.000 son.py:86(__new__)
    60555    0.656    0.000    1.256    0.000 son.py:97(__setitem__)
        1    0.000    0.000    0.000    0.000 son_manipulator.py:32(will_copy)
    10216    0.080    0.000    0.320    0.000 thread_util.py:104(get)
     5108    0.032    0.000    0.052    0.000 thread_util.py:198(acquire)
     5108    0.084    0.000    0.264    0.000 thread_util.py:223(release)
     5108    0.024    0.000    0.288    0.000 thread_util.py:243(release)
    10216    0.032    0.000    0.032    0.000 thread_util.py:71(acquire)
    10216    0.044    0.000    0.044    0.000 thread_util.py:74(release)
    10216    0.112    0.000    0.212    0.000 thread_util.py:90(_make_vigil)
     5108    0.016    0.000    0.028    0.000 threading.py:225(_is_owned)
     5108    0.112    0.000    0.156    0.000 threading.py:276(notify)
     5108    0.016    0.000    0.016    0.000 threading.py:62(_note)
     3770    0.332    0.000    1.092    0.000 transform.py:31(query)
    13768    0.080    0.000    0.116    0.000 utf_8.py:15(decode)
     3770    0.024    0.000    0.104    0.000 visitor.py:116(__and__)
    18842    0.060    0.000    0.060    0.000 visitor.py:153(__init__)
     7540    0.028    0.000    1.168    0.000 visitor.py:156(accept)
     7536    0.024    0.000    0.024    0.000 visitor.py:159(empty)
     3770    0.012    0.000    0.012    0.000 visitor.py:20(visit_query)
     3770    0.008    0.000    0.008    0.000 visitor.py:70(__init__)
     3770    0.036    0.000    1.128    0.000 visitor.py:79(visit_query)
     3770    0.040    0.000    1.216    0.000 visitor.py:90(to_query)
     3770    0.036    0.000    0.080    0.000 visitor.py:98(_combine)
dongchao-cn commented 10 years ago

你可以去服务器跑下。。 看下是不是中间那步出错了你try掉了,没执行完