This repository has been archived by the owner on Oct 1, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
tithonium/timing_logger
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
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 0
No packages published