Sha256: cbef715b9310818ea1112bee6aafe3549bf47c24eb814fcfdc5476f60871412a

Contents?: true

Size: 359 Bytes

Versions: 1

Compression:

Stored size: 359 Bytes

Contents

### Vedeu.timer

Measure the execution time of the code in the given block.

The optional message provided will have ' took <time>ms.' appended and
will appear in the log file if the 'debug!' Vedeu configuration option
was given.

    Vedeu.timer 'Really complex code' do
      # ... code to be measured
    end

    # => 'Really complex code took 0.234ms.'

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
vedeu-0.8.32 docs/dsl/by_method/timer.md