ExProf.Macro (exprof v0.2.4)
Provides a macro to profile a block of code.
Link to this section Summary
Functions
An internal method for initiating profiling.
A macro to specify the code block to profile.
Link to this section Functions
Link to this function
execute_profile(func, ref)
An internal method for initiating profiling.
A macro to specify the code block to profile.
It spawns a new process to execute the code block for isolating the profile result. (ex.)
profile do
:timer.sleep 2000
end