Skip to content

tithonium/timing_logger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Really REALLY simplistic timing wrappers.

In a controller:
  time_actions
to log the time to process all actions, or
  time_actions :action, :other_action, :otherother_action
to only watch those.


Inside a function, time a block (pass a 'type' and a description):
  time_block "API CALL", args.inspect do
    do_something(*args)
  end


To wrapper a function you don't control:
  TimingLogger::wrap_function(Some::Other::Module, :the_function)
  

About

A simplistic rails plugin for timing function calls

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages