fprof analysis of hovercraft:lightning() Revision 306266646136 (Thu May 14 2009 at 14:29) - Diff Link to this snippet: https://friendpaste.com/16xwiZuqwWrqYXQeaBS0fx Embed: manni perldoc borland colorful default murphy trac fruity autumn bw emacs pastie friendly Show line numbers Wrap lines 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245%% Analysis results:{ analysis_options, [{callers, true}, {sort, acc}, {totals, false}, {details, true}]}.% CNT ACC OWN [{ totals, 1781816,11218.891, 9504.031}]. %%%% CNT ACC OWN [{ "<0.79.0>", 1781816,undefined, 9504.031}]. %%{[{{proc_lib,init_p_do_apply,3}, 0,11218.782, 0.013}, {undefined, 0, 0.109, 0.015}, {{gen_server,handle_msg,5}, 10, 0.000, 0.116}, {{gen_server,handle_common_reply,6}, 4, 0.000, 0.009}], { {gen_server,loop,6}, 14,11218.891, 0.153}, % [{{gen_server,decode_msg,8}, 14,11218.769, 0.042}, {suspend, 12, 278.551, 0.000}, {garbage_collect, 5, 0.976, 0.976}]}. {[{undefined, 0,11218.782, 0.000}], { {proc_lib,init_p_do_apply,3}, 0,11218.782, 0.000}, % [{{gen_server,loop,6}, 0,11218.782, 0.013}]}. {[{{gen_server,loop,6}, 14,11218.769, 0.042}], { {gen_server,decode_msg,8}, 14,11218.769, 0.042}, % [{{gen_server,handle_msg,5}, 14,11218.764, 0.121}]}. {[{{gen_server,decode_msg,8}, 14,11218.764, 0.121}], { {gen_server,handle_msg,5}, 14,11218.764, 0.121}, % [{{couch_db_updater,handle_call,3}, 10,10029.143, 0.100}, {{gen_server,handle_common_reply,6}, 4, 7892.571, 0.013}, {{gen_server,dispatch,3}, 4, 909.854, 0.027}, {{gen_server,reply,2}, 10, 0.038, 0.038}, {{gen_server,loop,6}, 10, 0.000, 0.116}]}. {[{{gen_server,handle_msg,5}, 10,10029.143, 0.100}], { {couch_db_updater,handle_call,3}, 10,10029.143, 0.100}, % [{{couch_db_updater,update_docs_int,3}, 10,10028.384, 0.862}, {{gen_server,call,2}, 10, 0.494, 0.058}, {{couch_db_update_notifier,notify,1}, 10, 0.165, 0.026}]}. {[{{couch_db_updater,handle_call,3}, 10,10028.384, 0.862}], { {couch_db_updater,update_docs_int,3}, 10,10028.384, 0.862}, % [{{couch_btree,add_remove,3}, 20, 3681.105, 0.130}, {{couch_btree,lookup,2}, 10, 1941.209, 0.129}, {{couch_db_updater,flush_trees,3}, 10, 1262.075, 0.096}, {{couch_db_updater,stem_full_doc_infos,2}, 10, 1102.292, 0.047}, {{couch_db_updater,merge_rev_trees,7}, 10, 951.115, 0.099}, {{couch_db_updater,new_index_entries,3}, 10, 709.557, 0.043}, {{lists,zipwith,3}, 10, 144.144, 52.404}, {{lists,foldl,3}, 10, 124.437, 0.051}, {{couch_db_updater,'-update_docs_int/3-lc$^0/1-0-',1}, 10, 75.739, 18.268}, {{couch_db_updater,'-update_docs_int/3-lc$^1/1-1-',1}, 10, 33.025, 0.040}, {{couch_db_updater,update_local_docs,2}, 10, 1.990, 0.265}, {{couch_db_updater,commit_data,2}, 10, 0.719, 0.164}, {{lists,member,2}, 20, 0.047, 0.047}, {{erlang,'++',2}, 10, 0.036, 0.036}, {{erlang,setelement,3}, 10, 0.032, 0.032}]}. {[{{gen_server,handle_msg,5}, 4, 7892.571, 0.013}], { {gen_server,handle_common_reply,6}, 4, 7892.571, 0.013}, % [{{gen_server,loop,6}, 4, 0.000, 0.009}]}. {[{{couch_db_updater,update_docs_int,3}, 20, 3681.105, 0.130}, {{couch_db_updater,update_local_docs,2}, 10, 1.109, 0.042}], { {couch_btree,add_remove,3}, 30, 3682.214, 0.172}, % [{{couch_btree,query_modify,4}, 30, 3682.042, 0.792}]}. {[{{couch_btree,add_remove,3}, 30, 3682.042, 0.792}], { {couch_btree,query_modify,4}, 30, 3682.042, 0.792}, % [{{couch_btree,modify_node,4}, 30, 1686.236, 0.424}, {{lists,map,2}, 30, 1387.583, 111.966}, {{lists,sort,2}, 30, 597.833, 0.154}, {{couch_btree,complete_root,2}, 30, 8.575, 0.170}, {{lists,append,1}, 30, 0.796, 0.255}, {{erlang,setelement,3}, 30, 0.114, 0.114}, {{couch_btree,'-query_modify/4-lc$^0/1-0-',1}, 30, 0.059, 0.059}, {{couch_btree,'-query_modify/4-lc$^1/1-1-',1}, 30, 0.054, 0.054}]}. {[{{dict,from_list,1}, 20, 1222.742, 0.122}, {{couch_db_updater,merge_rev_trees,7}, 10000, 867.199, 81.027}, {{couch_key_tree,stem,2}, 10000, 494.366, 48.927}, {{couch_db_updater,update_docs_int,3}, 10, 124.437, 0.051}, {{lists,foldl,3}, 70000, 0.000, 305.586}, {{couch_key_tree,merge,2}, 20000, 0.000, 130.570}, {{couch_key_tree,'-stem/2-fun-1-',2}, 10000, 0.000, 48.886}], { {lists,foldl,3}, 120030, 2708.744, 615.169}, % [{{dict,'-from_list/1-fun-0-',2}, 10000, 1148.154, 29.610}, {{couch_db_updater,'-merge_rev_trees/7-fun-0-',5},10000, 747.271, 123.970}, {{couch_key_tree,'-stem/2-fun-1-',2}, 10000, 422.181, 77.600}, {{couch_key_tree,'-merge/2-fun-0-',2}, 20000, 194.573, 128.674}, {{couch_db_updater,'-update_docs_int/3-fun-0-',2},10000, 40.572, 40.074}, {{couch_key_tree,'-stem/2-fun-0-',2}, 10000, 22.414, 22.090}, {garbage_collect, 2, 0.569, 0.569}, {suspend, 84, 0.373, 0.000}, {{lists,foldl,3}, 70000, 0.000, 305.586}]}. {[{{couch_db_updater,update_docs_int,3}, 10, 1941.209, 0.129}, {{couch_db_updater,update_local_docs,2}, 10, 0.455, 0.120}], { {couch_btree,lookup,2}, 20, 1941.664, 0.249}, % [{{dict,from_list,1}, 20, 1223.059, 0.136}, {{couch_btree,'-lookup/2-lc$^0/1-0-',2}, 20, 463.890, 48.758}, {{lists,sort,2}, 20, 160.909, 0.077}, {{couch_btree,lookup,3}, 20, 93.557, 0.185}]}. {[{{couch_db_updater,flush_trees,3}, 10000, 1142.680, 87.918}, {{couch_db_updater,btree_by_id_split,1}, 10000, 358.860, 96.120}, {{couch_db_updater,btree_by_id_join,2}, 10083, 260.386, 63.641}, {{couch_key_tree,map,2}, 30083, 0.000, 79.407}], { {couch_key_tree,map,2}, 60166, 1761.926, 327.086}, % [{{couch_key_tree,map_simple,3}, 30083, 1432.829, 352.148}, {garbage_collect, 6, 1.960, 1.960}, {suspend, 15, 0.051, 0.000}, {{couch_key_tree,map,2}, 30083, 0.000, 79.407}]}. {[{{couch_file,sync,1}, 8, 907.115, 0.039}, {{couch_stream,write,2}, 10000, 676.659, 53.806}, {{couch_file,append_binary,2}, 1199, 157.865, 5.802}, {{couch_file,pread_binary,2}, 62, 6.131, 0.352}, {{couch_stream,get_state,1}, 14, 1.749, 0.087}, {{couch_file,pwrite,3}, 4, 0.560, 0.021}], { {gen_server,call,3}, 11287, 1750.079, 60.107}, % [{{gen,call,4}, 11287, 1689.734, 33.048}, {garbage_collect, 1, 0.238, 0.238}]}. {[{{gen,wait_resp_mon,3}, 11300, 1413.215, 0.000}, {{gen_server,loop,6}, 12, 278.551, 0.000}, {{code_server,call,2}, 1, 20.152, 0.000}, {{lists,foldl,3}, 84, 0.373, 0.000}, {{dict,store,3}, 52, 0.196, 0.000}, {{erlang,md5,1}, 80, 0.136, 0.000}, {{lists,fsplit_2,6}, 27, 0.135, 0.000}, {{couch_db_updater,'-stem_full_doc_infos/2-lc$^0/1-0-',2}, 33, 0.128, 0.000}, {{lists,map,2}, 23, 0.103, 0.000}, {{dict,fetch,2}, 22, 0.098, 0.000}, {{couch_db_updater,'-init_db/4-fun-0-',2}, 12, 0.098, 0.000}, {{couch_doc,to_doc_info_path,1}, 32, 0.091, 0.000}, {{couch_key_tree,get_all_leafs,2}, 20, 0.087, 0.000}, {{couch_btree,extract,2}, 15, 0.080, 0.000}, {{couch_btree,'-query_modify/4-fun-1-',3}, 14, 0.077, 0.000}, {{couch_btree,chunkify,6}, 21, 0.073, 0.000}, {{couch_key_tree,merge,2}, 23, 0.070, 0.000}, {{dict,store_bkt_val,3}, 20, 0.069, 0.000}, {{couch_key_tree,map_simple,3}, 19, 0.065, 0.000}, {{couch_db_updater,'-btree_by_seq_split/1-lc$^0/1-0-',1}, 13, 0.065, 0.000}, {{couch_key_tree,stem,2}, 9, 0.057, 0.000}, {{dict,maybe_expand_aux,2}, 12, 0.056, 0.000}, {{couch_key_tree,map,2}, 15, 0.051, 0.000}, {{couch_db_updater,merge_rev_trees,7}, 10, 0.049, 0.000}, {{couch_key_tree,'-merge/2-fun-0-',2}, 13, 0.048, 0.000}, {{couch_db_updater,new_index_entries,3}, 10, 0.048, 0.000}, {{couch_key_tree,get_all_leafs_full,2}, 11, 0.046, 0.000}, {{lists,zipwith,3}, 10, 0.045, 0.000}, {{couch_doc,max_seq,2}, 14, 0.043, 0.000}, {{couch_db_updater,'-merge_rev_trees/7-fun-0-',5}, 10, 0.043, 0.000}, {{couch_db,doc_to_tree,1}, 7, 0.043, 0.000}, {{couch_key_tree,'-stem/2-fun-1-',2}, 14, 0.040, 0.000}, {{lists,fsplit_1,6}, 13, 0.039, 0.000}, {{dict,fetch_val,2}, 13, 0.038, 0.000}, {{couch_doc,'-to_doc_info_path/1-lc$^0/1-0-',1}, 10, 0.028, 0.000}, {{dict,rehash,4}, 7, 0.026, 0.000}, {{couch_btree,less,3}, 8, 0.025, 0.000}, {{dict,on_bucket,3}, 3, 0.022, 0.000}, {{dict,maybe_expand,2}, 8, 0.021, 0.000}, {{dict,get_bucket,2}, 5, 0.020, 0.000}, {{gen,do_call,4}, 1, 0.019, 0.000}, {{couch_key_tree,'-stem/2-lc$^0/1-0-',2}, 6, 0.018, 0.000}, {{couch_btree,'-lookup/2-lc$^0/1-0-',2}, 7, 0.018, 0.000}, {{couch_btree,'-query_modify/4-fun-0-',2}, 3, 0.017, 0.000}, {{couch_db_updater,btree_by_id_split,1}, 5, 0.016, 0.000}, {{couch_db_updater,'-init_db/4-fun-1-',1}, 4, 0.014, 0.000}, {{couch_db_updater,'-btree_by_seq_split/1-lc$^1/1-1-',1}, 1, 0.012, 0.000}, {{couch_btree,'-lookup/3-lc$^0/1-0-',1}, 1, 0.012, 0.000}, {{couch_db_updater,'-update_docs_int/3-lc$^0/1-0-',1}, 1, 0.011, 0.000}, {{lists,sublist_2,2}, 3, 0.009, 0.000}, {{lists,sublist,2}, 3, 0.008, 0.000}, {{couch_key_tree,get_all_leafs_simple,3}, 2, 0.008, 0.000}, {{couch_btree,modify_kvnode,6}, 3, 0.008, 0.000}, {{dict,'-from_list/1-fun-0-',2}, 3, 0.007, 0.000}, {{couch_key_tree,get_all_leafs_full,1}, 2, 0.006, 0.000}, {{couch_db_updater,btree_by_seq_split,1}, 2, 0.005, 0.000}, {{couch_btree,modify_node,4}, 2, 0.005, 0.000}, {{couch_doc,'-to_doc_info_path/1-lc$^1/1-1-',1}, 1, 0.004, 0.000}, {{dict,'-store/3-fun-0-',3}, 1, 0.003, 0.000}, {{couch_file,pread_binary,2}, 1, 0.003, 0.000}, {{couch_btree,'-lookup_kpnode/5-lc$^0/1-0-',1}, 1, 0.003, 0.000}, {{couch_stream,write_term,2}, 1, 0.002, 0.000}, {{couch_btree,'-reduce_node/3-lc$^1/1-0-',2}, 1, 0.002, 0.000}], { suspend, 12080, 1714.860, 0.000}, % [ ]}.{[{{gen_server,call,3}, 11287, 1689.734, 33.048}, {{gen,call,3}, 10, 0.419, 0.030}], { {gen,call,4}, 11297, 1690.153, 33.078}, % [{{gen,do_call,4}, 11297, 1656.683, 80.534}, {garbage_collect, 1, 0.392, 0.392}]}. {[{{couch_btree,query_modify,4}, 30, 1686.236, 0.424}, {{couch_btree,modify_kpnode,6}, 35, 0.000, 0.472}], { {couch_btree,modify_node,4}, 65, 1686.236, 0.896}, % [{{couch_btree,write_node,3}, 55, 1626.170, 0.442}, {{couch_btree,modify_kpnode,6}, 35, 1494.089, 0.542}, {{couch_btree,modify_kvnode,6}, 30, 47.649, 0.326}, {{couch_btree,get_node,2}, 53, 7.071, 0.214}, {{erlang,list_to_tuple,1}, 65, 0.157, 0.157}, {suspend, 2, 0.005, 0.000}]}. {[{{gen,call,4}, 11297, 1656.683, 80.534}], { {gen,do_call,4}, 11297, 1656.683, 80.534}, % [{{gen,wait_resp_mon,3}, 11297, 1537.057, 90.512}, {{erlang,monitor,2}, 11297, 36.382, 36.382}, {garbage_collect, 6, 2.691, 2.691}, {suspend, 1, 0.019, 0.000}]}. {[{{couch_btree,modify_node,4}, 55, 1626.170, 0.442}, {{couch_btree,complete_root,2}, 4, 8.381, 0.074}], { {couch_btree,write_node,3}, 59, 1634.551, 0.516}, % [{{couch_btree,'-write_node/3-lc$^0/1-0-',3}, 59, 1442.196, 11.400}, {{couch_btree,chunkify,2}, 59, 191.839, 0.343}]}. {[{{gen,do_call,4}, 11297, 1537.057, 90.512}], { {gen,wait_resp_mon,3}, 11297, 1537.057, 90.512}, % [{suspend, 11300, 1413.215, 0.000}, {{erlang,demonitor,1}, 11297, 31.133, 31.133}, {garbage_collect, 8, 2.197, 2.197}]}. {[{{couch_btree,modify_node,4}, 35, 1494.089, 0.542}], { {couch_btree,modify_kpnode,6}, 35, 1494.089, 0.542}, % [{{couch_btree,bounded_tuple_to_list,4}, 35, 2.064, 0.116}, {{couch_btree,find_first_gteq,5}, 35, 1.562, 0.892}, {{lists,reverse,2}, 35, 0.120, 0.120}, {{couch_btree,modify_node,4}, 35, 0.000, 0.472}]}. {[{{couch_btree,write_node,3}, 59, 1442.196, 11.400}, {{couch_btree,'-write_node/3-lc$^0/1-0-',3}, 1199, 0.000, 5.147}], { {couch_btree,'-write_node/3-lc$^0/1-0-',3}, 1258, 1442.196, 16.547}, % [{{couch_btree,reduce_node,3}, 1199, 824.472, 5.866}, {{couch_file,append_term,2}, 1199, 524.016, 13.941}, {{lists,last,1}, 1199, 77.161, 2.615}, {{couch_btree,'-write_node/3-lc$^0/1-0-',3}, 1199, 0.000, 5.147}]}. {[{{couch_key_tree,map,2}, 30083, 1432.829, 352.148}, {{couch_key_tree,map_simple,3}, 60166, 0.000, 154.821}], { {couch_key_tree,map_simple,3}, 90249, 1432.829, 506.969}, % [{{couch_db_updater,'-flush_trees/3-fun-0-',5},10000, 866.818, 55.999}, {{couch_db_updater,'-btree_by_id_split/1-fun-0-',2},10000, 33.452, 31.842}, {{couch_db_updater,'-btree_by_id_join/2-fun-0-',3},10083, 21.311, 20.764}, {garbage_collect, 9, 4.214, 4.214}, {suspend, 19, 0.065, 0.000}, {{couch_key_tree,map_simple,3}, 60166, 0.000, 154.821}]}. {[{{couch_btree,query_modify,4}, 30, 1387.583, 111.966}, {{lists,map,2}, 20000, 0.000, 112.065}], { {lists,map,2}, 20030, 1387.583, 224.031}, % [{{couch_btree,'-query_modify/4-fun-0-',2}, 20000, 1163.449, 165.195}, {suspend, 23, 0.103, 0.000}, {{lists,map,2}, 20000, 0.000, 112.065}]}. {[{{couch_db_updater,update_docs_int,3}, 10, 1262.075, 0.096}, {{couch_db_updater,flush_trees,3}, 10000, 0.000, 89.422}], { {couch_db_updater,flush_trees,3}, 10010, 1262.075, 89.518}, % [{{couch_key_tree,map,2}, 10000, 1142.680, 87.918}, {{erlang,setelement,3}, 10000, 28.823, 28.823}, {{lists,reverse,1}, 10, 0.532, 0.040}, {garbage_collect, 3, 0.522, 0.522}, {{couch_db_updater,flush_trees,3}, 10000, 0.000, 89.422}]}. {[{{couch_btree,lookup,2}, 20, 1223.059, 0.136}], { {dict,from_list,1}, 20, 1223.059, 0.136}, % [{{lists,foldl,3}, 20, 1222.742, 0.122}, {{dict,new,0}, 20, 0.181, 0.122}]}. {[{{lists,map,2}, 20000, 1163.449, 165.195}], { {couch_btree,'-query_modify/4-fun-0-',2}, 20000, 1163.449, 165.195}, % [{{couch_btree,extract,2}, 20000, 998.237, 80.525}, {suspend, 3, 0.017, 0.000}]}. {[{{lists,foldl,3}, 10000, 1148.154, 29.610}], { {dict,'-from_list/1-fun-0-',2}, 10000, 1148.154, 29.610}, % [{{dict,store,3}, 10000, 1118.537, 93.778}, {suspend, 3, 0.007, 0.000}]}. {[{{dict,'-from_list/1-fun-0-',2}, 10000, 1118.537, 93.778}], { {dict,store,3}, 10000, 1118.537, 93.778}, % [{{dict,on_bucket,3}, 10000, 583.151, 148.464}, {{dict,maybe_expand,2}, 10000, 351.778, 31.259}, {{dict,get_slot,2}, 10000, 88.653, 59.793}, {garbage_collect, 3, 0.981, 0.981}, {suspend, 52, 0.196, 0.000}]}. {[{{couch_db_updater,update_docs_int,3}, 10, 1102.292, 0.047}], { {couch_db_updater,stem_full_doc_infos,2}, 10, 1102.292, 0.047}, % [{{couch_db_updater,'-stem_full_doc_infos/2-lc$^0/1-0-',2}, 10, 1102.245, 62.865}]}. {[{{couch_db_updater,stem_full_doc_infos,2}, 10, 1102.245, 62.865}, {{couch_db_updater,'-stem_full_doc_infos/2-lc$^0/1-0-',2},10000, 0.000, 39.143}], { {couch_db_updater,'-stem_full_doc_infos/2-lc$^0/1-0-',2},10010, 1102.245, 102.008}, % [{{couch_key_tree,stem,2}, 10000, 975.607, 77.328}, {{erlang,setelement,3}, 10000, 24.502, 24.502}, {suspend, 33, 0.128, 0.000}, {{couch_db_updater,'-stem_full_doc_infos/2-lc$^0/1-0-',2},10000, 0.000, 39.143}]}. {[{{couch_btree,'-query_modify/4-fun-0-',2}, 20000, 998.237, 80.525}], { {couch_btree,extract,2}, 20000, 998.237, 80.525}, % [{{couch_db_updater,'-init_db/4-fun-4-',1}, 10000, 460.539, 61.362}, {{couch_db_updater,'-init_db/4-fun-1-',1}, 10000, 457.093, 32.119}, {suspend, 15, 0.080, 0.000}]}. {[{{couch_db_updater,'-stem_full_doc_infos/2-lc$^0/1-0-',2},10000, 975.607, 77.328}], { {couch_key_tree,stem,2}, 10000, 975.607, 77.328}, % [{{lists,foldl,3}, 10000, 494.366, 48.927}, {{couch_key_tree,get_all_leafs_full,1}, 10000, 214.042, 24.256}, {{couch_key_tree,'-stem/2-lc$^0/1-0-',2}, 10000, 189.814, 69.916}, {suspend, 9, 0.057, 0.000}]}. {[{{couch_db_updater,update_docs_int,3}, 10, 951.115, 0.099}, {{couch_db_updater,merge_rev_trees,7}, 10000, 0.000, 83.009}], { {couch_db_updater,merge_rev_trees,7}, 10010, 951.115, 83.108}, % [{{lists,foldl,3}, 10000, 867.199, 81.027}, {{lists,reverse,1}, 10, 0.759, 0.069}, {suspend, 10, 0.049, 0.000}, {{couch_db_updater,merge_rev_trees,7}, 10000, 0.000, 83.009}]}. {[{{couch_db_updater,commit_data,1}, 4, 909.724, 0.069}, {{couch_db_updater,update_docs_int,3}, 10, 0.719, 0.164}], { {couch_db_updater,commit_data,2}, 14, 910.443, 0.233}, % [{{couch_file,write_header,3}, 4, 908.265, 0.068}, {{couch_stream,get_state,1}, 14, 1.808, 0.059}, {{couch_btree,get_state,1}, 42, 0.094, 0.094}, {{erlang,send_after,3}, 4, 0.025, 0.025}, {{erlang,setelement,3}, 8, 0.018, 0.018}]}. {[{{gen_server,handle_msg,5}, 4, 909.854, 0.027}], { {gen_server,dispatch,3}, 4, 909.854, 0.027}, % [{{couch_db_updater,handle_info,2}, 4, 909.827, 0.057}]}. {[{{gen_server,dispatch,3}, 4, 909.827, 0.057}], { {couch_db_updater,handle_info,2}, 4, 909.827, 0.057}, % [{{couch_db_updater,commit_data,1}, 4, 909.748, 0.024}, {{erlang,setelement,3}, 4, 0.022, 0.022}]}. {[{{couch_db_updater,handle_info,2}, 4, 909.748, 0.024}], { {couch_db_updater,commit_data,1}, 4, 909.748, 0.024}, % [{{couch_db_updater,commit_data,2}, 4, 909.724, 0.069}]}. {[{{couch_db_updater,commit_data,2}, 4, 908.265, 0.068}], { {couch_file,write_header,3}, 4, 908.265, 0.068}, % [{{couch_file,sync,1}, 8, 907.130, 0.015}, {{erlang,md5,1}, 4, 1.043, 0.337}, {{erlang,term_to_binary,1}, 4, 0.024, 0.024}]}. {[{{couch_file,write_header,3}, 8, 907.130, 0.015}], { {couch_file,sync,1}, 8, 907.130, 0.015}, % [{{gen_server,call,3}, 8, 907.115, 0.039}]}. {[{{couch_key_tree,map_simple,3}, 10000, 866.818, 55.999}], { {couch_db_updater,'-flush_trees/3-fun-0-',5},10000, 866.818, 55.999}, % [{{couch_stream,write_term,2}, 10000, 810.639, 64.634}, {garbage_collect, 1, 0.180, 0.180}]}. {[{{couch_btree,'-write_node/3-lc$^0/1-0-',3}, 1199, 824.472, 5.866}], { {couch_btree,reduce_node,3}, 1199, 824.472, 5.866}, % [{{couch_btree,'-reduce_node/3-lc$^1/1-0-',2},1131, 708.033, 74.522}, {{couch_db_updater,'-init_db/4-fun-3-',2}, 634, 92.229, 1.528}, {{couch_btree,'-reduce_node/3-lc$^0/1-1-',1}, 68, 13.322, 3.970}, {{couch_db_updater,'-init_db/4-fun-6-',2}, 565, 5.022, 1.313}]}. {[{{couch_db_updater,'-flush_trees/3-fun-0-',5},10000, 810.639, 64.634}], { {couch_stream,write_term,2}, 10000, 810.639, 64.634}, % [{{couch_stream,write,2}, 10000, 708.516, 31.857}, {{erlang,term_to_binary,1}, 10000, 33.866, 33.866}, {garbage_collect, 5, 3.621, 3.621}, {suspend, 1, 0.002, 0.000}]}. {[{{couch_btree,query_modify,4}, 30, 597.833, 0.154}, {{couch_btree,lookup,2}, 20, 160.909, 0.077}, {{couch_doc,to_doc_info_path,1}, 10000, 22.585, 22.585}], { {lists,sort,2}, 10050, 781.327, 22.816}, % [{{lists,fsplit_2,6}, 20, 498.950, 0.138}, {{lists,fsplit_1,6}, 10, 259.106, 0.039}, {{couch_btree,'-query_modify/4-fun-1-',3}, 20, 0.387, 0.155}, {{couch_db_updater,'-init_db/4-fun-0-',2}, 10, 0.068, 0.025}]}. {[{{lists,foldl,3}, 10000, 747.271, 123.970}], { {couch_db_updater,'-merge_rev_trees/7-fun-0-',5},10000, 747.271, 123.970}, % [{{couch_key_tree,merge,2}, 9999, 402.180, 123.978}, {{couch_db,doc_to_tree,1}, 10000, 199.634, 123.022}, {{error_handler,undefined_function,3}, 1, 20.207, 0.011}, {garbage_collect, 3, 1.237, 1.237}, {suspend, 10, 0.043, 0.000}]}. {[{{couch_db_updater,update_docs_int,3}, 10, 709.557, 0.043}, {{couch_db_updater,new_index_entries,3}, 10000, 0.000, 72.297}], { {couch_db_updater,new_index_entries,3}, 10010, 709.557, 72.340}, % [{{couch_doc,to_doc_info,1}, 10000, 613.251, 48.495}, {{erlang,setelement,3}, 10000, 22.481, 22.481}, {garbage_collect, 2, 1.437, 1.437}, {suspend, 10, 0.048, 0.000}, {{couch_db_updater,new_index_entries,3}, 10000, 0.000, 72.297}]}. {[{{couch_stream,write_term,2}, 10000, 708.516, 31.857}], { {couch_stream,write,2}, 10000, 708.516, 31.857}, % [{{gen_server,call,3}, 10000, 676.659, 53.806}]}. {[{{couch_btree,reduce_node,3}, 1131, 708.033, 74.522}, {{couch_btree,'-reduce_node/3-lc$^1/1-0-',2},20171, 0.000, 65.827}], { {couch_btree,'-reduce_node/3-lc$^1/1-0-',2},21302, 708.033, 140.349}, % [{{couch_btree,assemble,3}, 20171, 567.682, 47.362}, {suspend, 1, 0.002, 0.000}, {{couch_btree,'-reduce_node/3-lc$^1/1-0-',2},20171, 0.000, 65.827}]}. {[{{couch_db_updater,'-merge_rev_trees/7-fun-0-',5},9999, 402.180, 123.978}, {{couch_key_tree,'-stem/2-fun-1-',2}, 10000, 247.858, 75.324}, {{error_handler,undefined_function,3}, 1, 0.019, 0.007}], { {couch_key_tree,merge,2}, 20000, 650.057, 199.309}, % [{{lists,sort,1}, 20000, 62.455, 62.455}, {garbage_collect, 5, 1.673, 1.673}, {suspend, 23, 0.070, 0.000}, {{lists,foldl,3}, 20000, 0.000, 130.570}]}. {[{{couch_db_updater,new_index_entries,3}, 10000, 613.251, 48.495}], { {couch_doc,to_doc_info,1}, 10000, 613.251, 48.495}, % [{{couch_doc,to_doc_info_path,1}, 10000, 564.756, 138.851}]}. {[{{dict,store,3}, 10000, 583.151, 148.464}], { {dict,on_bucket,3}, 10000, 583.151, 148.464}, % [{{dict,'-store/3-fun-0-',3}, 10000, 339.001, 29.562}, {{erlang,setelement,3}, 30000, 91.983, 91.983}, {garbage_collect, 6, 3.681, 3.681}, {suspend, 3, 0.022, 0.000}]}. {[{{couch_btree,'-reduce_node/3-lc$^1/1-0-',2},20171, 567.682, 47.362}], { {couch_btree,assemble,3}, 20171, 567.682, 47.362}, % [{{couch_db_updater,'-init_db/4-fun-2-',2}, 10083, 334.309, 22.332}, {{couch_db_updater,'-init_db/4-fun-5-',2}, 10088, 186.011, 23.227}]}. {[{{couch_doc,to_doc_info,1}, 10000, 564.756, 138.851}], { {couch_doc,to_doc_info_path,1}, 10000, 564.756, 138.851}, % [{{couch_key_tree,get_all_leafs,1}, 10000, 216.783, 22.557}, {{couch_doc,'-to_doc_info_path/1-lc$^0/1-0-',1},10000, 69.030, 46.553}, {{couch_doc,'-to_doc_info_path/1-lc$^1/1-1-',1},10000, 66.499, 45.210}, {{couch_doc,max_seq,2}, 10000, 48.807, 25.567}, {{lists,sort,2}, 10000, 22.585, 22.585}, {garbage_collect, 3, 2.110, 2.110}, {suspend, 32, 0.091, 0.000}]}. {[{{couch_btree,'-write_node/3-lc$^0/1-0-',3}, 1199, 524.016, 13.941}], { {couch_file,append_term,2}, 1199, 524.016, 13.941}, % [{{erlang,term_to_binary,2}, 1199, 349.019, 349.019}, {{couch_file,append_binary,2}, 1199, 161.056, 3.191}]}. {[{{lists,sort,2}, 20, 498.950, 0.138}, {{lists,fsplit_2,6}, 19960, 0.000, 159.838}], { {lists,fsplit_2,6}, 19980, 498.950, 159.976}, % [{{couch_btree,'-query_modify/4-fun-1-',3}, 9980, 260.538, 112.624}, {{couch_db_updater,'-init_db/4-fun-0-',2}, 9980, 78.222, 39.079}, {suspend, 27, 0.135, 0.000}, {{lists,fmergel,4}, 20, 0.079, 0.079}, {{lists,fsplit_2,6}, 19960, 0.000, 159.838}]}. {[{{couch_btree,lookup,2}, 20, 463.890, 48.758}, {{couch_btree,'-lookup/2-lc$^0/1-0-',2}, 10000, 0.000, 49.574}], { {couch_btree,'-lookup/2-lc$^0/1-0-',2}, 10020, 463.890, 98.332}, % [{{dict,fetch,2}, 10000, 365.540, 99.439}, {suspend, 7, 0.018, 0.000}, {{couch_btree,'-lookup/2-lc$^0/1-0-',2}, 10000, 0.000, 49.574}]}. {[{{lists,fsplit_2,6}, 9980, 260.538, 112.624}, {{lists,fsplit_1,6}, 9980, 201.333, 55.819}, {{lists,sort,2}, 20, 0.387, 0.155}], { {couch_btree,'-query_modify/4-fun-1-',3}, 19980, 462.258, 168.598}, % [{{couch_btree,less,3}, 29970, 293.583, 104.439}, {suspend, 14, 0.077, 0.000}]}. {[{{couch_btree,extract,2}, 10000, 460.539, 61.362}], { {couch_db_updater,'-init_db/4-fun-4-',1}, 10000, 460.539, 61.362}, % [{{couch_db_updater,btree_by_seq_split,1}, 10000, 399.177, 151.240}]}. {[{{couch_btree,extract,2}, 10000, 457.093, 32.119}], { {couch_db_updater,'-init_db/4-fun-1-',1}, 10000, 457.093, 32.119}, % [{{couch_db_updater,btree_by_id_split,1}, 10000, 424.960, 65.701}, {suspend, 4, 0.014, 0.000}]}. {[{{couch_db_updater,'-init_db/4-fun-1-',1}, 10000, 424.960, 65.701}], { {couch_db_updater,btree_by_id_split,1}, 10000, 424.960, 65.701}, % [{{couch_key_tree,map,2}, 10000, 358.860, 96.120}, {garbage_collect, 1, 0.383, 0.383}, {suspend, 5, 0.016, 0.000}]}. {[{{lists,foldl,3}, 10000, 422.181, 77.600}], { {couch_key_tree,'-stem/2-fun-1-',2}, 10000, 422.181, 77.600}, % [{{couch_key_tree,merge,2}, 10000, 247.858, 75.324}, {garbage_collect, 3, 0.701, 0.701}, {suspend, 14, 0.040, 0.000}, {{lists,foldl,3}, 10000, 0.000, 48.886}]}. {[{{couch_db_updater,'-init_db/4-fun-4-',1}, 10000, 399.177, 151.240}], { {couch_db_updater,btree_by_seq_split,1}, 10000, 399.177, 151.240}, % [{{couch_db_updater,'-btree_by_seq_split/1-lc$^0/1-0-',1},10000, 140.932, 95.510}, {{couch_db_updater,'-btree_by_seq_split/1-lc$^1/1-1-',1},10000, 105.841, 47.589}, {garbage_collect, 1, 1.159, 1.159}, {suspend, 2, 0.005, 0.000}]}. {[{{couch_btree,'-lookup/2-lc$^0/1-0-',2}, 10000, 365.540, 99.439}], { {dict,fetch,2}, 10000, 365.540, 99.439}, % [{{dict,fetch_val,2}, 10000, 106.135, 34.268}, {{dict,get_slot,2}, 10000, 93.410, 62.680}, {{dict,get_bucket,2}, 10000, 66.458, 34.148}, {suspend, 22, 0.098, 0.000}]}. {[{{dict,store,3}, 10000, 351.778, 31.259}], { {dict,maybe_expand,2}, 10000, 351.778, 31.259}, % [{{dict,maybe_expand_aux,2}, 10000, 320.498, 86.131}, {suspend, 8, 0.021, 0.000}]}. {[{{couch_file,append_term,2}, 1199, 349.019, 349.019}], { {erlang,term_to_binary,2}, 1199, 349.019, 349.019}, % [ ]}.{[{{dict,on_bucket,3}, 10000, 339.001, 29.562}], { {dict,'-store/3-fun-0-',3}, 10000, 339.001, 29.562}, % [{{dict,store_bkt_val,3}, 10000, 309.436, 103.322}, {suspend, 1, 0.003, 0.000}]}. {[{{couch_btree,assemble,3}, 10083, 334.309, 22.332}], { {couch_db_updater,'-init_db/4-fun-2-',2}, 10083, 334.309, 22.332}, % [{{couch_db_updater,btree_by_id_join,2}, 10083, 311.977, 49.307}]}. {[{{dict,maybe_expand,2}, 10000, 320.498, 86.131}], { {dict,maybe_expand_aux,2}, 10000, 320.498, 86.131}, % [{{dict,rehash,4}, 1840, 150.519, 46.662}, {{dict,put_bucket_s,3}, 3680, 51.255, 32.238}, {{erlang,setelement,3}, 8160, 21.851, 21.851}, {{dict,get_bucket_s,2}, 1840, 5.429, 5.429}, {{dict,maybe_expand_segs,1}, 1840, 5.257, 5.062}, {suspend, 12, 0.056, 0.000}]}. {[{{couch_db_updater,'-init_db/4-fun-2-',2}, 10083, 311.977, 49.307}], { {couch_db_updater,btree_by_id_join,2}, 10083, 311.977, 49.307}, % [{{couch_key_tree,map,2}, 10083, 260.386, 63.641}, {garbage_collect, 2, 2.284, 2.284}]}. {[{{dict,'-store/3-fun-0-',3}, 10000, 309.436, 103.322}, {{dict,store_bkt_val,3}, 46935, 0.000, 202.708}], { {dict,store_bkt_val,3}, 56935, 309.436, 306.030}, % [{garbage_collect, 6, 3.337, 3.337}, {suspend, 20, 0.069, 0.000}, {{dict,store_bkt_val,3}, 46935, 0.000, 202.708}]}. {[{{couch_btree,'-query_modify/4-fun-1-',3}, 29970, 293.583, 104.439}, {{couch_btree,find_first_gteq,5}, 162, 0.955, 0.398}, {{couch_btree,modify_kvnode,6}, 36, 0.170, 0.070}, {{couch_btree,'-lookup_kpnode/5-fun-0-',3}, 9, 0.129, 0.045}], { {couch_btree,less,3}, 30177, 294.837, 104.952}, % [{{couch_db_updater,'-init_db/4-fun-0-',2}, 10106, 117.595, 88.901}, {{couch_btree,'-open/3-fun-2-',2}, 20071, 72.265, 72.265}, {suspend, 8, 0.025, 0.000}]}. {[{{lists,sort,2}, 10, 259.106, 0.039}, {{lists,fsplit_1,6}, 9980, 0.000, 57.490}], { {lists,fsplit_1,6}, 9990, 259.106, 57.529}, % [{{couch_btree,'-query_modify/4-fun-1-',3}, 9980, 201.333, 55.819}, {{lists,rfmergel,4}, 10, 0.205, 0.054}, {suspend, 13, 0.039, 0.000}, {{lists,fsplit_1,6}, 9980, 0.000, 57.490}]}. {[{{couch_doc,to_doc_info_path,1}, 10000, 216.783, 22.557}], { {couch_key_tree,get_all_leafs,1}, 10000, 216.783, 22.557}, % [{{couch_key_tree,get_all_leafs,2}, 10000, 194.226, 77.874}]}. {[{{couch_key_tree,stem,2}, 10000, 214.042, 24.256}], { {couch_key_tree,get_all_leafs_full,1}, 10000, 214.042, 24.256}, % [{{couch_key_tree,get_all_leafs_full,2}, 10000, 189.780, 70.996}, {suspend, 2, 0.006, 0.000}]}. {[{{dict,on_bucket,3}, 30000, 91.983, 91.983}, {{couch_db_updater,flush_trees,3}, 10000, 28.823, 28.823}, {{couch_db_updater,'-stem_full_doc_infos/2-lc$^0/1-0-',2},10000, 24.502, 24.502}, {{couch_db_updater,new_index_entries,3}, 10000, 22.481, 22.481}, {{dict,maybe_expand_aux,2}, 8160, 21.851, 21.851}, {{dict,put_bucket_s,3}, 7360, 19.017, 19.017}, {{couch_btree,query_modify,4}, 30, 0.114, 0.114}, {{dict,maybe_expand_segs,1}, 40, 0.098, 0.098}, {{couch_db_updater,update_local_docs,2}, 10, 0.038, 0.038}, {{couch_db_updater,update_docs_int,3}, 10, 0.032, 0.032}, {{couch_db_updater,handle_info,2}, 4, 0.022, 0.022}, {{couch_db_updater,commit_data,2}, 8, 0.018, 0.018}], { {erlang,setelement,3}, 75622, 208.979, 208.979}, % [ ]}.{[{{couch_db_updater,'-merge_rev_trees/7-fun-0-',5},10000, 199.634, 123.022}], { {couch_db,doc_to_tree,1}, 10000, 199.634, 123.022}, % [{{couch_db,doc_to_tree_simple,2}, 10000, 38.870, 37.615}, {{lists,reverse,1}, 10000, 37.699, 37.548}, {suspend, 7, 0.043, 0.000}]}. {[{{couch_btree,less,3}, 10106, 117.595, 88.901}, {{lists,fsplit_2,6}, 9980, 78.222, 39.079}, {{lists,sort,2}, 10, 0.068, 0.025}], { {couch_db_updater,'-init_db/4-fun-0-',2}, 20096, 195.885, 128.005}, % [{{couch_db_updater,less_docid,2}, 20096, 67.782, 67.782}, {suspend, 12, 0.098, 0.000}]}. {[{{lists,foldl,3}, 20000, 194.573, 128.674}], { {couch_key_tree,'-merge/2-fun-0-',2}, 20000, 194.573, 128.674}, % [{{couch_key_tree,merge_one,4}, 20000, 61.298, 59.780}, {garbage_collect, 7, 4.553, 4.553}, {suspend, 13, 0.048, 0.000}]}. {[{{couch_key_tree,get_all_leafs,1}, 10000, 194.226, 77.874}, {{couch_key_tree,get_all_leafs,2}, 10000, 0.000, 21.732}], { {couch_key_tree,get_all_leafs,2}, 20000, 194.226, 99.606}, % [{{couch_key_tree,get_all_leafs_simple,3}, 10000, 72.062, 46.419}, {{erlang,'++',2}, 10000, 22.182, 22.182}, {garbage_collect, 1, 0.289, 0.289}, {suspend, 20, 0.087, 0.000}, {{couch_key_tree,get_all_leafs,2}, 10000, 0.000, 21.732}]}. {[{{couch_btree,write_node,3}, 59, 191.839, 0.343}], { {couch_btree,chunkify,2}, 59, 191.839, 0.343}, % [{{couch_btree,chunkify,6}, 35, 174.380, 0.167}, {{erlang,term_to_binary,1}, 59, 17.116, 17.116}]}. {[{{couch_key_tree,stem,2}, 10000, 189.814, 69.916}, {{couch_key_tree,'-stem/2-lc$^0/1-0-',2}, 10000, 0.000, 25.122}], { {couch_key_tree,'-stem/2-lc$^0/1-0-',2}, 20000, 189.814, 95.038}, % [{{lists,sublist,2}, 10000, 94.758, 24.203}, {suspend, 6, 0.018, 0.000}, {{couch_key_tree,'-stem/2-lc$^0/1-0-',2}, 10000, 0.000, 25.122}]}. {[{{couch_key_tree,get_all_leafs_full,1}, 10000, 189.780, 70.996}, {{couch_key_tree,get_all_leafs_full,2}, 10000, 0.000, 21.739}], { {couch_key_tree,get_all_leafs_full,2}, 20000, 189.780, 92.735}, % [{{couch_key_tree,get_all_leafs_full_simple,3},10000, 73.909, 51.597}, {{erlang,'++',2}, 10000, 23.090, 23.090}, {suspend, 11, 0.046, 0.000}, {{couch_key_tree,get_all_leafs_full,2}, 10000, 0.000, 21.739}]}. {[{{couch_btree,assemble,3}, 10088, 186.011, 23.227}], { {couch_db_updater,'-init_db/4-fun-5-',2}, 10088, 186.011, 23.227}, % [{{couch_db_updater,btree_by_seq_join,2}, 10088, 162.784, 69.764}]}. {[{{dict,fetch,2}, 10000, 93.410, 62.680}, {{dict,store,3}, 10000, 88.653, 59.793}], { {dict,get_slot,2}, 20000, 182.063, 122.473}, % [{{erlang,phash,2}, 20000, 58.761, 58.761}, {garbage_collect, 2, 0.829, 0.829}]}. {[{{couch_btree,chunkify,2}, 35, 174.380, 0.167}, {{couch_btree,chunkify,6}, 21430, 0.000, 96.330}], { {couch_btree,chunkify,6}, 21465, 174.380, 96.497}, % [{{erlang,term_to_binary,1}, 21430, 68.490, 68.490}, {{lists,reverse,1}, 1210, 8.085, 5.847}, {garbage_collect, 4, 1.235, 1.235}, {suspend, 21, 0.073, 0.000}, {{couch_btree,chunkify,6}, 21430, 0.000, 96.330}]}. {[{{couch_db_updater,'-init_db/4-fun-5-',2}, 10088, 162.784, 69.764}], { {couch_db_updater,btree_by_seq_join,2}, 10088, 162.784, 69.764}, % [{{couch_db_updater,'-btree_by_seq_join/2-lc$^1/1-1-',2},10088, 70.575, 46.923}, {{couch_db_updater,'-btree_by_seq_join/2-lc$^0/1-0-',1},10088, 22.099, 22.099}, {garbage_collect, 1, 0.346, 0.346}]}. {[{{couch_file,append_term,2}, 1199, 161.056, 3.191}], { {couch_file,append_binary,2}, 1199, 161.056, 3.191}, % [{{gen_server,call,3}, 1199, 157.865, 5.802}]}. {[{{dict,maybe_expand_aux,2}, 1840, 150.519, 46.662}, {{dict,rehash,4}, 12958, 0.000, 68.498}], { {dict,rehash,4}, 14798, 150.519, 115.160}, % [{{erlang,phash,2}, 12958, 35.333, 35.333}, {suspend, 7, 0.026, 0.000}, {{dict,rehash,4}, 12958, 0.000, 68.498}]}. {[{{couch_db_updater,update_docs_int,3}, 10, 144.144, 52.404}, {{couch_db_updater,update_local_docs,2}, 10, 0.029, 0.029}, {{lists,zipwith,3}, 10000, 0.000, 55.439}], { {lists,zipwith,3}, 10020, 144.173, 107.872}, % [{{couch_db_updater,'-update_docs_int/3-fun-1-',2},10000, 35.772, 35.689}, {garbage_collect, 1, 0.484, 0.484}, {suspend, 10, 0.045, 0.000}, {{lists,zipwith,3}, 10000, 0.000, 55.439}]}. {[{{couch_db_updater,btree_by_seq_split,1}, 10000, 140.932, 95.510}, {{couch_db_updater,'-btree_by_seq_split/1-lc$^0/1-0-',1},10000, 0.000, 44.846}], { {couch_db_updater,'-btree_by_seq_split/1-lc$^0/1-0-',1},20000, 140.932, 140.356}, % [{garbage_collect, 2, 0.511, 0.511}, {suspend, 13, 0.065, 0.000}, {{couch_db_updater,'-btree_by_seq_split/1-lc$^0/1-0-',1},10000, 0.000, 44.846}]}. {[{{couch_btree,chunkify,6}, 21430, 68.490, 68.490}, {{couch_stream,write_term,2}, 10000, 33.866, 33.866}, {{couch_btree,chunkify,2}, 59, 17.116, 17.116}, {{couch_file,write_header,3}, 4, 0.024, 0.024}], { {erlang,term_to_binary,1}, 31493, 119.496, 119.496}, % [ ]}.{[{{dict,fetch,2}, 10000, 106.135, 34.268}, {{dict,fetch_val,2}, 23715, 0.000, 71.829}], { {dict,fetch_val,2}, 33715, 106.135, 106.097}, % [{suspend, 13, 0.038, 0.000}, {{dict,fetch_val,2}, 23715, 0.000, 71.829}]}. {[{{couch_db_updater,btree_by_seq_split,1}, 10000, 105.841, 47.589}, {{couch_db_updater,'-btree_by_seq_split/1-lc$^1/1-1-',1},10000, 0.000, 58.240}], { {couch_db_updater,'-btree_by_seq_split/1-lc$^1/1-1-',1},20000, 105.841, 105.829}, % [{suspend, 1, 0.012, 0.000}, {{couch_db_updater,'-btree_by_seq_split/1-lc$^1/1-1-',1},10000, 0.000, 58.240}]}. {[{{couch_key_tree,'-stem/2-lc$^0/1-0-',2}, 10000, 94.758, 24.203}], { {lists,sublist,2}, 10000, 94.758, 24.203}, % [{{lists,sublist_2,2}, 10000, 70.547, 47.822}, {suspend, 3, 0.008, 0.000}]}. {[{{dict,get_slot,2}, 20000, 58.761, 58.761}, {{dict,rehash,4}, 12958, 35.333, 35.333}], { {erlang,phash,2}, 32958, 94.094, 94.094}, % [ ]}.{[{{couch_btree,lookup,2}, 20, 93.557, 0.185}], { {couch_btree,lookup,3}, 20, 93.557, 0.185}, % [{{couch_btree,lookup_kpnode,5}, 9, 77.061, 0.130}, {{couch_btree,'-lookup/3-lc$^0/1-0-',1}, 11, 14.824, 3.972}, {{couch_btree,get_node,2}, 9, 1.461, 0.070}, {{erlang,list_to_tuple,1}, 9, 0.026, 0.026}]}. {[{{couch_btree,reduce_node,3}, 634, 92.229, 1.528}], { {couch_db_updater,'-init_db/4-fun-3-',2}, 634, 92.229, 1.528}, % [{{couch_db_updater,btree_by_id_reduce,2}, 634, 90.701, 4.603}]}. {[{{couch_db_updater,'-init_db/4-fun-3-',2}, 634, 90.701, 4.603}], { {couch_db_updater,btree_by_id_reduce,2}, 634, 90.701, 4.603}, % [{{couch_db_updater,'-btree_by_id_reduce/2-lc$^1/1-2-',1}, 595, 43.505, 11.424}, {{couch_db_updater,'-btree_by_id_reduce/2-lc$^0/1-3-',1}, 595, 21.269, 1.203}, {{couch_db_updater,'-btree_by_id_reduce/2-lc$^3/1-0-',1}, 39, 8.057, 2.222}, {{lists,sum,1}, 78, 6.692, 0.261}, {{couch_db_updater,'-btree_by_id_reduce/2-lc$^2/1-1-',1}, 39, 6.575, 1.938}]}. {[{{couch_btree,'-write_node/3-lc$^0/1-0-',3}, 1199, 77.161, 2.615}], { {lists,last,1}, 1199, 77.161, 2.615}, % [{{lists,last,2}, 1199, 74.546, 2.644}]}. {[{{couch_btree,lookup,3}, 9, 77.061, 0.130}, {{couch_btree,lookup_kpnode,5}, 9, 0.000, 0.085}], { {couch_btree,lookup_kpnode,5}, 18, 77.061, 0.215}, % [{{couch_btree,'-lookup_kpnode/5-lc$^0/1-0-',1}, 9, 75.763, 16.258}, {{couch_btree,find_first_gteq,5}, 9, 0.650, 0.073}, {{lists,splitwith,2}, 9, 0.420, 0.041}, {{lists,reverse,2}, 9, 0.013, 0.013}, {{couch_btree,lookup_kpnode,5}, 9, 0.000, 0.085}]}. {[{{couch_btree,lookup_kpnode,5}, 9, 75.763, 16.258}, {{couch_btree,'-lookup_kpnode/5-lc$^0/1-0-',1},9000, 0.000, 58.926}], { {couch_btree,'-lookup_kpnode/5-lc$^0/1-0-',1},9009, 75.763, 75.184}, % [{garbage_collect, 1, 0.576, 0.576}, {suspend, 1, 0.003, 0.000}, {{couch_btree,'-lookup_kpnode/5-lc$^0/1-0-',1},9000, 0.000, 58.926}]}. {[{{couch_db_updater,update_docs_int,3}, 10, 75.739, 18.268}, {{couch_db_updater,'-update_docs_int/3-lc$^0/1-0-',1},10000, 0.000, 57.211}], { {couch_db_updater,'-update_docs_int/3-lc$^0/1-0-',1},10010, 75.739, 75.479}, % [{garbage_collect, 1, 0.249, 0.249}, {suspend, 1, 0.011, 0.000}, {{couch_db_updater,'-update_docs_int/3-lc$^0/1-0-',1},10000, 0.000, 57.211}]}. {[{{lists,last,1}, 1199, 74.546, 2.644}, {{lists,last,2}, 20690, 0.000, 71.902}], { {lists,last,2}, 21889, 74.546, 74.546}, % [{{lists,last,2}, 20690, 0.000, 71.902}]}. {[{{couch_key_tree,get_all_leafs_full,2}, 10000, 73.909, 51.597}, {{couch_key_tree,get_all_leafs_full_simple,3},10000, 0.000, 22.073}], { {couch_key_tree,get_all_leafs_full_simple,3},20000, 73.909, 73.670}, % [{garbage_collect, 1, 0.239, 0.239}, {{couch_key_tree,get_all_leafs_full_simple,3},10000, 0.000, 22.073}]}. {[{{couch_btree,less,3}, 20071, 72.265, 72.265}], { {couch_btree,'-open/3-fun-2-',2}, 20071, 72.265, 72.265}, % [ ]}.{[{{couch_key_tree,get_all_leafs,2}, 10000, 72.062, 46.419}, {{couch_key_tree,get_all_leafs_simple,3}, 10000, 0.000, 21.479}], { {couch_key_tree,get_all_leafs_simple,3}, 20000, 72.062, 67.898}, % [{garbage_collect, 9, 4.156, 4.156}, {suspend, 2, 0.008, 0.000}, {{couch_key_tree,get_all_leafs_simple,3}, 10000, 0.000, 21.479}]}. {[{{couch_db_updater,btree_by_seq_join,2}, 10088, 70.575, 46.923}, {{couch_db_updater,'-btree_by_seq_join/2-lc$^1/1-1-',2},10088, 0.000, 22.817}], { {couch_db_updater,'-btree_by_seq_join/2-lc$^1/1-1-',2},20176, 70.575, 69.740}, % [{garbage_collect, 2, 0.835, 0.835}, {{couch_db_updater,'-btree_by_seq_join/2-lc$^1/1-1-',2},10088, 0.000, 22.817}]}. {[{{lists,sublist,2}, 10000, 70.547, 47.822}, {{lists,sublist_2,2}, 10000, 0.000, 22.716}], { {lists,sublist_2,2}, 20000, 70.547, 70.538}, % [{suspend, 3, 0.009, 0.000}, {{lists,sublist_2,2}, 10000, 0.000, 22.716}]}. {[{{couch_doc,to_doc_info_path,1}, 10000, 69.030, 46.553}, {{couch_doc,'-to_doc_info_path/1-lc$^0/1-0-',1},10000, 0.000, 22.143}], { {couch_doc,'-to_doc_info_path/1-lc$^0/1-0-',1},20000, 69.030, 68.696}, % [{garbage_collect, 1, 0.306, 0.306}, {suspend, 10, 0.028, 0.000}, {{couch_doc,'-to_doc_info_path/1-lc$^0/1-0-',1},10000, 0.000, 22.143}]}. {[{{couch_db_updater,'-init_db/4-fun-0-',2}, 20096, 67.782, 67.782}], { {couch_db_updater,less_docid,2}, 20096, 67.782, 67.782}, % [ ]}.{[{{couch_doc,to_doc_info_path,1}, 10000, 66.499, 45.210}, {{couch_doc,'-to_doc_info_path/1-lc$^1/1-1-',1},10000, 0.000, 20.985}], { {couch_doc,'-to_doc_info_path/1-lc$^1/1-1-',1},20000, 66.499, 66.195}, % [{garbage_collect, 1, 0.300, 0.300}, {suspend, 1, 0.004, 0.000}, {{couch_doc,'-to_doc_info_path/1-lc$^1/1-1-',1},10000, 0.000, 20.985}]}. {[{{dict,fetch,2}, 10000, 66.458, 34.148}], { {dict,get_bucket,2}, 10000, 66.458, 34.148}, % [{{dict,get_bucket_s,2}, 10000, 32.290, 32.290}, {suspend, 5, 0.020, 0.000}]}. {[{{couch_key_tree,merge,2}, 20000, 62.455, 62.455}], { {lists,sort,1}, 20000, 62.455, 62.455}, % [ ]}.{[{{couch_key_tree,'-merge/2-fun-0-',2}, 20000, 61.298, 59.780}], { {couch_key_tree,merge_one,4}, 20000, 61.298, 59.780}, % [{garbage_collect, 4, 1.518, 1.518}]}. {[{{couch_key_tree,'-merge/2-fun-0-',2}, 7, 4.553, 4.553}, {{couch_key_tree,map_simple,3}, 9, 4.214, 4.214}, {{couch_key_tree,get_all_leafs_simple,3}, 9, 4.156, 4.156}, {{dict,on_bucket,3}, 6, 3.681, 3.681}, {{couch_stream,write_term,2}, 5, 3.621, 3.621}, {{dict,store_bkt_val,3}, 6, 3.337, 3.337}, {{gen,do_call,4}, 6, 2.691, 2.691}, {{couch_db_updater,btree_by_id_join,2}, 2, 2.284, 2.284}, {{gen,wait_resp_mon,3}, 8, 2.197, 2.197}, {{couch_doc,to_doc_info_path,1}, 3, 2.110, 2.110}, {{couch_key_tree,map,2}, 6, 1.960, 1.960}, {{couch_btree,modify_kvnode,6}, 3, 1.908, 1.908}, {{couch_key_tree,merge,2}, 5, 1.673, 1.673}, {{couch_db_updater,'-btree_by_id_split/1-fun-0-',2}, 3, 1.610, 1.610}, {{couch_key_tree,merge_one,4}, 4, 1.518, 1.518}, {{couch_db_updater,new_index_entries,3}, 2, 1.437, 1.437}, {{couch_db,doc_to_tree_simple,2}, 2, 1.255, 1.255}, {{couch_db_updater,'-merge_rev_trees/7-fun-0-',5}, 3, 1.237, 1.237}, {{couch_btree,chunkify,6}, 4, 1.235, 1.235}, {{couch_db_updater,btree_by_seq_split,1}, 1, 1.159, 1.159}, {{dict,store,3}, 3, 0.981, 0.981}, {{gen_server,loop,6}, 5, 0.976, 0.976}, {{couch_db_updater,'-btree_by_seq_join/2-lc$^1/1-1-',2}, 2, 0.835, 0.835}, {{dict,get_slot,2}, 2, 0.829, 0.829}, {{couch_key_tree,'-stem/2-fun-1-',2}, 3, 0.701, 0.701}, {{couch_btree,'-lookup_kpnode/5-lc$^0/1-0-',1}, 1, 0.576, 0.576}, {{lists,foldl,3}, 2, 0.569, 0.569}, {{couch_db_updater,'-btree_by_id_join/2-fun-0-',3}, 2, 0.547, 0.547}, {{couch_db_updater,flush_trees,3}, 3, 0.522, 0.522}, {{couch_db_updater,'-btree_by_seq_split/1-lc$^0/1-0-',1}, 2, 0.511, 0.511}, {{couch_db_updater,'-update_docs_int/3-fun-0-',2}, 1, 0.498, 0.498}, {{lists,zipwith,3}, 1, 0.484, 0.484}, {{gen,call,4}, 1, 0.392, 0.392}, {{couch_db_updater,btree_by_id_split,1}, 1, 0.383, 0.383}, {{couch_db_updater,btree_by_seq_join,2}, 1, 0.346, 0.346}, {{couch_key_tree,'-stem/2-fun-0-',2}, 2, 0.324, 0.324}, {{couch_doc,'-to_doc_info_path/1-lc$^0/1-0-',1}, 1, 0.306, 0.306}, {{couch_doc,'-to_doc_info_path/1-lc$^1/1-1-',1}, 1, 0.300, 0.300}, {{couch_key_tree,get_all_leafs,2}, 1, 0.289, 0.289}, {{lists,reverse,1}, 2, 0.288, 0.288}, {{couch_db_updater,'-update_docs_int/3-lc$^0/1-0-',1}, 1, 0.249, 0.249}, {{couch_key_tree,get_all_leafs_full_simple,3}, 1, 0.239, 0.239}, {{gen_server,call,3}, 1, 0.238, 0.238}, {{couch_db_updater,'-flush_trees/3-fun-0-',5}, 1, 0.180, 0.180}, {{couch_db_updater,'-update_docs_int/3-lc$^1/1-1-',1}, 1, 0.141, 0.141}, {{couch_db_updater,'-update_docs_int/3-fun-1-',2}, 1, 0.083, 0.083}], { garbage_collect, 137, 59.623, 59.623}, % [ ]}.{[{{dict,maybe_expand_aux,2}, 3680, 51.255, 32.238}], { {dict,put_bucket_s,3}, 3680, 51.255, 32.238}, % [{{erlang,setelement,3}, 7360, 19.017, 19.017}]}. {[{{couch_doc,to_doc_info_path,1}, 10000, 48.807, 25.567}, {{couch_doc,max_seq,2}, 10000, 0.000, 23.197}], { {couch_doc,max_seq,2}, 20000, 48.807, 48.764}, % [{suspend, 14, 0.043, 0.000}, {{couch_doc,max_seq,2}, 10000, 0.000, 23.197}]}. {[{{couch_btree,modify_node,4}, 30, 47.649, 0.326}, {{couch_btree,modify_kvnode,6}, 20018, 0.000, 43.780}], { {couch_btree,modify_kvnode,6}, 20048, 47.649, 44.106}, % [{garbage_collect, 3, 1.908, 1.908}, {{couch_btree,find_first_gteq,5}, 18, 0.515, 0.068}, {{lists,reverse,2}, 30, 0.338, 0.338}, {{couch_btree,bounded_tuple_to_list,4}, 30, 0.337, 0.094}, {{couch_btree,bounded_tuple_to_revlist,4}, 18, 0.267, 0.029}, {{couch_btree,less,3}, 36, 0.170, 0.070}, {suspend, 3, 0.008, 0.000}, {{couch_btree,modify_kvnode,6}, 20018, 0.000, 43.780}]}. {[{{couch_db,doc_to_tree,1}, 10000, 37.699, 37.548}, {{couch_btree,chunkify,6}, 1210, 8.085, 5.847}, {{couch_db_updater,merge_rev_trees,7}, 10, 0.759, 0.069}, {{couch_db_updater,flush_trees,3}, 10, 0.532, 0.040}, {{lists,splitwith,3}, 9, 0.031, 0.031}], { {lists,reverse,1}, 11239, 47.106, 43.535}, % [{{lists,reverse,2}, 1219, 3.283, 3.283}, {garbage_collect, 2, 0.288, 0.288}]}. {[{{couch_key_tree,get_all_leafs_full,2}, 10000, 23.090, 23.090}, {{couch_key_tree,get_all_leafs,2}, 10000, 22.182, 22.182}, {{lists,append,1}, 60, 0.382, 0.382}, {{couch_db_updater,update_docs_int,3}, 10, 0.036, 0.036}], { {erlang,'++',2}, 20070, 45.690, 45.690}, % [ ]}.{[{{couch_db_updater,btree_by_id_reduce,2}, 595, 43.505, 11.424}, {{couch_db_updater,'-btree_by_id_reduce/2-lc$^1/1-2-',1},10083, 0.000, 32.081}], { {couch_db_updater,'-btree_by_id_reduce/2-lc$^1/1-2-',1},10678, 43.505, 43.505}, % [{{couch_db_updater,'-btree_by_id_reduce/2-lc$^1/1-2-',1},10083, 0.000, 32.081}]}. {[{{lists,foldl,3}, 10000, 40.572, 40.074}], { {couch_db_updater,'-update_docs_int/3-fun-0-',2},10000, 40.572, 40.074}, % [{garbage_collect, 1, 0.498, 0.498}]}. {[{{couch_db,doc_to_tree,1}, 10000, 38.870, 37.615}], { {couch_db,doc_to_tree_simple,2}, 10000, 38.870, 37.615}, % [{garbage_collect, 2, 1.255, 1.255}]}. {[{{dict,get_bucket,2}, 10000, 32.290, 32.290}, {{dict,maybe_expand_aux,2}, 1840, 5.429, 5.429}], { {dict,get_bucket_s,2}, 11840, 37.719, 37.719}, % [ ]}.{[{{gen,do_call,4}, 11297, 36.382, 36.382}], { {erlang,monitor,2}, 11297, 36.382, 36.382}, % [ ]}.{[{{lists,zipwith,3}, 10000, 35.772, 35.689}], { {couch_db_updater,'-update_docs_int/3-fun-1-',2},10000, 35.772, 35.689}, % [{garbage_collect, 1, 0.083, 0.083}]}. {[{{couch_key_tree,map_simple,3}, 10000, 33.452, 31.842}], { {couch_db_updater,'-btree_by_id_split/1-fun-0-',2},10000, 33.452, 31.842}, % [{garbage_collect, 3, 1.610, 1.610}]}. {[{{couch_db_updater,update_docs_int,3}, 10, 33.025, 0.040}, {{couch_db_updater,'-update_docs_int/3-lc$^1/1-1-',1},10000, 0.000, 32.844}], { {couch_db_updater,'-update_docs_int/3-lc$^1/1-1-',1},10010, 33.025, 32.884}, % [{garbage_collect, 1, 0.141, 0.141}, {{couch_db_updater,'-update_docs_int/3-lc$^1/1-1-',1},10000, 0.000, 32.844}]}. {[{{gen,wait_resp_mon,3}, 11297, 31.133, 31.133}], { {erlang,demonitor,1}, 11297, 31.133, 31.133}, % [ ]}.{[{{lists,foldl,3}, 10000, 22.414, 22.090}], { {couch_key_tree,'-stem/2-fun-0-',2}, 10000, 22.414, 22.090}, % [{garbage_collect, 2, 0.324, 0.324}]}. {[{{couch_db_updater,btree_by_seq_join,2}, 10088, 22.099, 22.099}], { {couch_db_updater,'-btree_by_seq_join/2-lc$^0/1-0-',1},10088, 22.099, 22.099}, % [ ]}.{[{{couch_key_tree,map_simple,3}, 10083, 21.311, 20.764}], { {couch_db_updater,'-btree_by_id_join/2-fun-0-',3},10083, 21.311, 20.764}, % [{garbage_collect, 2, 0.547, 0.547}]}. {[{{couch_db_updater,btree_by_id_reduce,2}, 595, 21.269, 1.203}, {{couch_db_updater,'-btree_by_id_reduce/2-lc$^0/1-3-',1},10083, 0.000, 20.066}], { {couch_db_updater,'-btree_by_id_reduce/2-lc$^0/1-3-',1},10678, 21.269, 21.269}, % [{{couch_db_updater,'-btree_by_id_reduce/2-lc$^0/1-3-',1},10083, 0.000, 20.066}]}. {[{{couch_db_updater,'-merge_rev_trees/7-fun-0-',5}, 1, 20.207, 0.011}], { {error_handler,undefined_function,3}, 1, 20.207, 0.011}, % [{{error_handler,ensure_loaded,1}, 1, 20.175, 0.005}, {{couch_key_tree,merge,2}, 1, 0.019, 0.007}, {{erlang,function_exported,3}, 1, 0.002, 0.002}]}. {[{{error_handler,undefined_function,3}, 1, 20.175, 0.005}], { {error_handler,ensure_loaded,1}, 1, 20.175, 0.005}, % [{{code,ensure_loaded,1}, 1, 20.167, 0.001}, {{erlang,whereis,1}, 1, 0.003, 0.003}]}. {[{{error_handler,ensure_loaded,1}, 1, 20.167, 0.001}], { {code,ensure_loaded,1}, 1, 20.167, 0.001}, % [{{code,call,1}, 1, 20.166, 0.002}]}. {[{{code,ensure_loaded,1}, 1, 20.166, 0.002}], { {code,call,1}, 1, 20.166, 0.002}, % [{{code_server,call,2}, 1, 20.164, 0.012}]}. {[{{code,call,1}, 1, 20.164, 0.012}], { {code_server,call,2}, 1, 20.164, 0.012}, % [{suspend, 1, 20.152, 0.000}]}. {[{{couch_btree,lookup,3}, 11, 14.824, 3.972}, {{couch_btree,'-lookup/3-lc$^0/1-0-',1}, 1000, 0.000, 10.840}], { {couch_btree,'-lookup/3-lc$^0/1-0-',1}, 1011, 14.824, 14.812}, % [{suspend, 1, 0.012, 0.000}, {{couch_btree,'-lookup/3-lc$^0/1-0-',1}, 1000, 0.000, 10.840}]}. {[{{couch_btree,reduce_node,3}, 68, 13.322, 3.970}, {{couch_btree,'-reduce_node/3-lc$^0/1-1-',1},1718, 0.000, 9.352}], { {couch_btree,'-reduce_node/3-lc$^0/1-1-',1},1786, 13.322, 13.322}, % [{{couch_btree,'-reduce_node/3-lc$^0/1-1-',1},1718, 0.000, 9.352}]}. {[{{couch_db_updater,btree_by_id_reduce,2}, 78, 6.692, 0.261}, {{couch_db_updater,btree_by_seq_reduce,2}, 29, 2.538, 0.092}], { {lists,sum,1}, 107, 9.230, 0.353}, % [{{lists,sum,2}, 107, 8.877, 0.385}]}. {[{{lists,sum,1}, 107, 8.877, 0.385}, {{lists,sum,2}, 2543, 0.000, 8.492}], { {lists,sum,2}, 2650, 8.877, 8.877}, % [{{lists,sum,2}, 2543, 0.000, 8.492}]}. {[{{couch_btree,query_modify,4}, 30, 8.575, 0.170}, {{couch_btree,complete_root,2}, 4, 0.000, 0.024}], { {couch_btree,complete_root,2}, 34, 8.575, 0.194}, % [{{couch_btree,write_node,3}, 4, 8.381, 0.074}, {{couch_btree,complete_root,2}, 4, 0.000, 0.024}]}. {[{{couch_btree,modify_node,4}, 53, 7.071, 0.214}, {{couch_btree,lookup,3}, 9, 1.461, 0.070}], { {couch_btree,get_node,2}, 62, 8.532, 0.284}, % [{{couch_file,pread_term,2}, 62, 8.248, 0.403}]}. {[{{couch_btree,get_node,2}, 62, 8.248, 0.403}], { {couch_file,pread_term,2}, 62, 8.248, 0.403}, % [{{couch_file,pread_binary,2}, 62, 6.310, 0.176}, {{erlang,binary_to_term,1}, 62, 1.535, 1.535}]}. {[{{couch_db_updater,btree_by_id_reduce,2}, 39, 8.057, 2.222}, {{couch_db_updater,'-btree_by_id_reduce/2-lc$^3/1-0-',1}, 825, 0.000, 5.835}], { {couch_db_updater,'-btree_by_id_reduce/2-lc$^3/1-0-',1}, 864, 8.057, 8.057}, % [{{couch_db_updater,'-btree_by_id_reduce/2-lc$^3/1-0-',1}, 825, 0.000, 5.835}]}. {[{{couch_db_updater,btree_by_id_reduce,2}, 39, 6.575, 1.938}, {{couch_db_updater,'-btree_by_id_reduce/2-lc$^2/1-1-',1}, 825, 0.000, 4.637}], { {couch_db_updater,'-btree_by_id_reduce/2-lc$^2/1-1-',1}, 864, 6.575, 6.575}, % [{{couch_db_updater,'-btree_by_id_reduce/2-lc$^2/1-1-',1}, 825, 0.000, 4.637}]}. {[{{couch_file,pread_term,2}, 62, 6.310, 0.176}], { {couch_file,pread_binary,2}, 62, 6.310, 0.176}, % [{{gen_server,call,3}, 62, 6.131, 0.352}, {suspend, 1, 0.003, 0.000}]}. {[{{dict,maybe_expand_aux,2}, 1840, 5.257, 5.062}], { {dict,maybe_expand_segs,1}, 1840, 5.257, 5.062}, % [{{erlang,setelement,3}, 40, 0.098, 0.098}, {{dict,expand_segs,2}, 40, 0.097, 0.097}]}. {[{{couch_btree,reduce_node,3}, 565, 5.022, 1.313}], { {couch_db_updater,'-init_db/4-fun-6-',2}, 565, 5.022, 1.313}, % [{{couch_db_updater,btree_by_seq_reduce,2}, 565, 3.709, 1.171}]}. {[{{lists,reverse,1}, 1219, 3.283, 3.283}, {{couch_btree,modify_kvnode,6}, 30, 0.338, 0.338}, {{couch_btree,bounded_tuple_to_list2,5}, 65, 0.194, 0.194}, {{lists,rfmergel,4}, 10, 0.136, 0.136}, {{couch_btree,modify_kpnode,6}, 35, 0.120, 0.120}, {{couch_btree,lookup_kpnode,5}, 9, 0.013, 0.013}], { {lists,reverse,2}, 1368, 4.084, 4.084}, % [ ]}.{[{{couch_db_updater,'-init_db/4-fun-6-',2}, 565, 3.709, 1.171}], { {couch_db_updater,btree_by_seq_reduce,2}, 565, 3.709, 1.171}, % [{{lists,sum,1}, 29, 2.538, 0.092}]}. {[{{couch_btree,modify_kpnode,6}, 35, 1.562, 0.892}, {{couch_btree,lookup_kpnode,5}, 9, 0.650, 0.073}, {{couch_btree,modify_kvnode,6}, 18, 0.515, 0.068}, {{couch_btree,find_first_gteq,5}, 162, 0.000, 0.739}], { {couch_btree,find_first_gteq,5}, 224, 2.727, 1.772}, % [{{couch_btree,less,3}, 162, 0.955, 0.398}, {{couch_btree,find_first_gteq,5}, 162, 0.000, 0.739}]}. {[{{couch_btree,modify_kpnode,6}, 35, 2.064, 0.116}, {{couch_btree,modify_kvnode,6}, 30, 0.337, 0.094}], { {couch_btree,bounded_tuple_to_list,4}, 65, 2.401, 0.210}, % [{{couch_btree,bounded_tuple_to_list2,5}, 65, 2.191, 0.318}]}. {[{{couch_btree,bounded_tuple_to_list,4}, 65, 2.191, 0.318}, {{couch_btree,bounded_tuple_to_list2,5}, 539, 0.000, 1.679}], { {couch_btree,bounded_tuple_to_list2,5}, 604, 2.191, 1.997}, % [{{lists,reverse,2}, 65, 0.194, 0.194}, {{couch_btree,bounded_tuple_to_list2,5}, 539, 0.000, 1.679}]}. {[{{couch_db_updater,update_docs_int,3}, 10, 1.990, 0.265}], { {couch_db_updater,update_local_docs,2}, 10, 1.990, 0.265}, % [{{couch_btree,add_remove,3}, 10, 1.109, 0.042}, {{couch_btree,lookup,2}, 10, 0.455, 0.120}, {{erlang,setelement,3}, 10, 0.038, 0.038}, {{couch_db_updater,'-update_local_docs/2-lc$^0/1-0-',1}, 10, 0.032, 0.032}, {{lists,zipwith,3}, 10, 0.029, 0.029}, {{couch_db_updater,'-update_local_docs/2-lc$^1/1-1-',1}, 10, 0.023, 0.023}, {{couch_db_updater,'-update_local_docs/2-lc$^2/1-2-',1}, 10, 0.022, 0.022}, {{couch_db_updater,'-update_local_docs/2-lc$^3/1-3-',1}, 10, 0.017, 0.017}]}. {[{{couch_db_updater,commit_data,2}, 14, 1.808, 0.059}], { {couch_stream,get_state,1}, 14, 1.808, 0.059}, % [{{gen_server,call,3}, 14, 1.749, 0.087}]}. {[{{couch_file,pread_term,2}, 62, 1.535, 1.535}], { {erlang,binary_to_term,1}, 62, 1.535, 1.535}, % [ ]}.{[{{couch_file,write_header,3}, 4, 1.043, 0.337}], { {erlang,md5,1}, 4, 1.043, 0.337}, % [{{couch_file,pwrite,3}, 4, 0.570, 0.010}, {suspend, 80, 0.136, 0.000}]}. {[{{couch_btree,query_modify,4}, 30, 0.796, 0.255}, {{lists,append,1}, 60, 0.000, 0.159}], { {lists,append,1}, 90, 0.796, 0.414}, % [{{erlang,'++',2}, 60, 0.382, 0.382}, {{lists,append,1}, 60, 0.000, 0.159}]}. {[{{erlang,md5,1}, 4, 0.570, 0.010}], { {couch_file,pwrite,3}, 4, 0.570, 0.010}, % [{{gen_server,call,3}, 4, 0.560, 0.021}]}. {[{{couch_db_updater,handle_call,3}, 10, 0.494, 0.058}], { {gen_server,call,2}, 10, 0.494, 0.058}, % [{{gen,call,3}, 10, 0.436, 0.017}]}. {[{{gen_server,call,2}, 10, 0.436, 0.017}], { {gen,call,3}, 10, 0.436, 0.017}, % [{{gen,call,4}, 10, 0.419, 0.030}]}. {[{{couch_btree,lookup_kpnode,5}, 9, 0.420, 0.041}], { {lists,splitwith,2}, 9, 0.420, 0.041}, % [{{lists,splitwith,3}, 9, 0.379, 0.132}]}. {[{{lists,splitwith,2}, 9, 0.379, 0.132}], { {lists,splitwith,3}, 9, 0.379, 0.132}, % [{{couch_btree,'-lookup_kpnode/5-fun-0-',3}, 9, 0.216, 0.087}, {{lists,reverse,1}, 9, 0.031, 0.031}]}. {[{{couch_btree,modify_kvnode,6}, 18, 0.267, 0.029}, {{couch_btree,bounded_tuple_to_revlist,4}, 153, 0.000, 0.238}], { {couch_btree,bounded_tuple_to_revlist,4}, 171, 0.267, 0.267}, % [{{couch_btree,bounded_tuple_to_revlist,4}, 153, 0.000, 0.238}]}. {[{{lists,splitwith,3}, 9, 0.216, 0.087}], { {couch_btree,'-lookup_kpnode/5-fun-0-',3}, 9, 0.216, 0.087}, % [{{couch_btree,less,3}, 9, 0.129, 0.045}]}. {[{{lists,fsplit_1,6}, 10, 0.205, 0.054}], { {lists,rfmergel,4}, 10, 0.205, 0.054}, % [{{lists,reverse,2}, 10, 0.136, 0.136}, {{lists,fmergel,4}, 10, 0.015, 0.015}]}. {[{{couch_btree,modify_node,4}, 65, 0.157, 0.157}, {{couch_btree,lookup,3}, 9, 0.026, 0.026}], { {erlang,list_to_tuple,1}, 74, 0.183, 0.183}, % [ ]}.{[{{dict,from_list,1}, 20, 0.181, 0.122}], { {dict,new,0}, 20, 0.181, 0.122}, % [{{dict,mk_seg,1}, 20, 0.059, 0.059}]}. {[{{couch_db_updater,handle_call,3}, 10, 0.165, 0.026}], { {couch_db_update_notifier,notify,1}, 10, 0.165, 0.026}, % [{{gen_event,notify,2}, 10, 0.139, 0.064}]}. {[{{couch_db_update_notifier,notify,1}, 10, 0.139, 0.064}], { {gen_event,notify,2}, 10, 0.139, 0.064}, % [{{gen_event,send,2}, 10, 0.075, 0.075}]}. {[{{dict,maybe_expand_segs,1}, 40, 0.097, 0.097}], { {dict,expand_segs,2}, 40, 0.097, 0.097}, % [ ]}.{[{{lists,fsplit_2,6}, 20, 0.079, 0.079}, {{lists,rfmergel,4}, 10, 0.015, 0.015}], { {lists,fmergel,4}, 30, 0.094, 0.094}, % [ ]}.{[{{couch_db_updater,commit_data,2}, 42, 0.094, 0.094}], { {couch_btree,get_state,1}, 42, 0.094, 0.094}, % [ ]}.{[{{gen_event,notify,2}, 10, 0.075, 0.075}], { {gen_event,send,2}, 10, 0.075, 0.075}, % [ ]}.{[{{dict,new,0}, 20, 0.059, 0.059}], { {dict,mk_seg,1}, 20, 0.059, 0.059}, % [ ]}.{[{{couch_btree,query_modify,4}, 30, 0.059, 0.059}], { {couch_btree,'-query_modify/4-lc$^0/1-0-',1}, 30, 0.059, 0.059}, % [ ]}.{[{{couch_btree,query_modify,4}, 30, 0.054, 0.054}], { {couch_btree,'-query_modify/4-lc$^1/1-1-',1}, 30, 0.054, 0.054}, % [ ]}.{[{{couch_db_updater,update_docs_int,3}, 20, 0.047, 0.047}], { {lists,member,2}, 20, 0.047, 0.047}, % [ ]}.{[{{gen_server,handle_msg,5}, 10, 0.038, 0.038}], { {gen_server,reply,2}, 10, 0.038, 0.038}, % [ ]}.{[{{couch_db_updater,update_local_docs,2}, 10, 0.032, 0.032}], { {couch_db_updater,'-update_local_docs/2-lc$^0/1-0-',1}, 10, 0.032, 0.032}, % [ ]}.{[{{couch_db_updater,commit_data,2}, 4, 0.025, 0.025}], { {erlang,send_after,3}, 4, 0.025, 0.025}, % [ ]}.{[{{couch_db_updater,update_local_docs,2}, 10, 0.023, 0.023}], { {couch_db_updater,'-update_local_docs/2-lc$^1/1-1-',1}, 10, 0.023, 0.023}, % [ ]}.{[{{couch_db_updater,update_local_docs,2}, 10, 0.022, 0.022}], { {couch_db_updater,'-update_local_docs/2-lc$^2/1-2-',1}, 10, 0.022, 0.022}, % [ ]}.{[{{couch_db_updater,update_local_docs,2}, 10, 0.017, 0.017}], { {couch_db_updater,'-update_local_docs/2-lc$^3/1-3-',1}, 10, 0.017, 0.017}, % [ ]}.{[{{error_handler,ensure_loaded,1}, 1, 0.003, 0.003}], { {erlang,whereis,1}, 1, 0.003, 0.003}, % [ ]}.{[{{error_handler,undefined_function,3}, 1, 0.002, 0.002}], { {erlang,function_exported,3}, 1, 0.002, 0.002}, % [ ]}.{[ ], { undefined, 0, 0.000, 0.000}, % [{{proc_lib,init_p_do_apply,3}, 0,11218.782, 0.000}, {{gen_server,loop,6}, 0, 0.109, 0.015}]}.