stopwatch               package:butler               R Documentation

_S_t_o_p _w_a_t_c_h

_D_e_s_c_r_i_p_t_i_o_n:

     Profile the performance of function call.

_U_s_a_g_e:

     stopwatch(f, reps = 2, interval = 0.02)

_A_r_g_u_m_e_n_t_s:

       f: function to profile

    reps: number of times to run

interval: interval between samples (in seconds)

_D_e_t_a_i_l_s:

     Results can be display nicely using either plot or print.

_V_a_l_u_e:

     call tree

_A_u_t_h_o_r(_s):

     Hadley Wickham <h.wickham@gmail.com>

_S_e_e _A_l_s_o:

     'print.call.tree', 'plot.call.tree'

_E_x_a_m_p_l_e_s:

