44ZPZ4dq88oIUBkOHfWfWh changeset

Changeset373632323764 (b)
ParentNone (a)
ab
0+5> eprof:total_analyse().
0+FUNCTION                                       CALLS      TIME
0+mochijson2:tokenize_string_fast/2              440858     14 %
0+erlang:setelement/3                            244500     7 %
0+couch_key_tree:map_simple/3                    81222      7 %
0+mochijson2:tokenize/2                          95704      7 %
0+couch_key_tree:get_all_leafs_simple/3          79808      7 %
0+mochijson2:decode_array/3                      44022      6 %
0+mochijson2:decode_object/3                     25520      5 %
0+mochijson2:tokenize_string/2                   35409      4 %
0+mochijson2:json_bin_is_safe/1                  108836     3 %
0+erlang:port_command/2                          5701       2 %
0+mochijson2:decode1/2                           13081      1 %
0+erlang:'++'/2                                  43644      1 %
0+couch_key_tree:'-map/2-fun-0-'/4               40406      1 %
0+couch_db_updater:'-rev_tree/1-fun-0-'/2        40302      1 %
0+lists:splitwith/3                              15640      1 %
0+lists:reverse/1                                20213      1 %
0+couch_btree:less/3                             29892      1 %
0+couch_view_group:'-init_group/4-fun-1-'/2      29475      1 %
0+couch_util:to_hex/1                            5777       1 %
0+couch_btree:'-query_modify/4-fun-1-'/3         20359      1 %
0+proplists:lookup/2                             20800      1 %
0+mochijson2:decode_array/2                      8294       1 %
0+gen:do_call/4                                  5354       1 %
0+lists:map/2                                    5325       1 %
0+lists:reverse/2                                18411      1 %
0+lists:foldl/3                                  10377      1 %
0+couch_stats_aggregator:'-handle_call/3-fun-3-  3240       1 %
...
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
--- Revision None
+++ Revision 373632323764
@@ -0,0 +1,29 @@
+5> eprof:total_analyse().
+FUNCTION CALLS TIME
+mochijson2:tokenize_string_fast/2 440858 14 %
+erlang:setelement/3 244500 7 %
+couch_key_tree:map_simple/3 81222 7 %
+mochijson2:tokenize/2 95704 7 %
+couch_key_tree:get_all_leafs_simple/3 79808 7 %
+mochijson2:decode_array/3 44022 6 %
+mochijson2:decode_object/3 25520 5 %
+mochijson2:tokenize_string/2 35409 4 %
+mochijson2:json_bin_is_safe/1 108836 3 %
+erlang:port_command/2 5701 2 %
+mochijson2:decode1/2 13081 1 %
+erlang:'++'/2 43644 1 %
+couch_key_tree:'-map/2-fun-0-'/4 40406 1 %
+couch_db_updater:'-rev_tree/1-fun-0-'/2 40302 1 %
+lists:splitwith/3 15640 1 %
+lists:reverse/1 20213 1 %
+couch_btree:less/3 29892 1 %
+couch_view_group:'-init_group/4-fun-1-'/2 29475 1 %
+couch_util:to_hex/1 5777 1 %
+couch_btree:'-query_modify/4-fun-1-'/3 20359 1 %
+proplists:lookup/2 20800 1 %
+mochijson2:decode_array/2 8294 1 %
+gen:do_call/4 5354 1 %
+lists:map/2 5325 1 %
+lists:reverse/2 18411 1 %
+lists:foldl/3 10377 1 %
+couch_stats_aggregator:'-handle_call/3-fun-3- 3240 1 %