Revision 306266646136 () - Diff

Link to this snippet: https://friendpaste.com/16xwiZuqwWrqYXQeaBS0fx
Embed:
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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
%% 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}]}.