6> eprof:total_analyse().
FUNCTION                                       CALLS      TIME 
mochijson2:tokenize_string_fast/2              409072     12 % 
couch_key_tree:get_full_key_paths/4            67749      8 % 
erlang:setelement/3                            227667     6 % 
mochijson2:tokenize/2                          88804      6 % 
couch_key_tree:map_simple/3                    68760      5 % 
couch_key_tree:get_all_leafs_simple/3          67408      5 % 
mochijson2:decode_array/3                      40848      5 % 
mochijson2:decode_object/3                     23680      4 % 
erlang:port_command/2                          5668       3 % 
mochijson2:tokenize_string/2                   32856      3 % 
erlang:'++'/2                                  104858     3 % 
mochijson2:json_bin_is_safe/1                  100678     3 % 
couch_key_tree:'-get/2-lc$^1/1-1-'/1           34045      2 % 
mochijson2:decode1/2                           12138      1 % 
lists:splitwith/3                              17601      1 % 
lists:reverse/1                                20007      1 % 
couch_key_tree:'-map/2-fun-0-'/4               34206      1 % 
erlang:'--'/2                                  33708      1 % 
couch_db_updater:'-rev_tree/1-fun-0-'/2        34102      1 % 
couch_btree:less/3                             25699      1 % 
proplists:lookup/2                             22736      1 % 
couch_util:to_hex/1                            5345       1 % 
couch_view_group:'-init_group/4-fun-1-'/2      25334      1 % 
couch_stats_aggregator:'-handle_call/3-fun-3-  3720       1 % 
lists:foldl/3                                  10465      1 % 
couch_stats_aggregator:rem_values/2            3720       1 % 
