EnsEMBL::Web::Timer

Location: /modules/EnsEMBL/Web/Timer.pm
Source code · Permalink
No superclasses
No subclasses

Overview

Useful little high-res timer package for profiling/benchmarking... Two sorts of timer created: * Diagnostics to count/time inner loops (start/end) * Heirarchical diagnostics for timing execution of parts of pages (new)

Method

Unknown

  • clear_times
  • new_child
Documentation coverage: 67 %

Methods

    end
    Mark inner loop as finished
    View source

    push
    Push a new tag onto the "heirarchical diagnsotics" Message is message to display and level is the depth of the tree for which the timing is recorded
    View source

    render
    Render both diagnostic tables if any data - tree timings from Push and diagnostic repeats from start/end
    View source

    start
    Start a new inner loop
    View source