Sha256: ca2228b2970b0bb23ed575ed360e14a6ec83e7b34161e3ab3eb8b60cb05c483b

Contents?: true

Size: 358 Bytes

Versions: 20

Compression:

Stored size: 358 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

20 entries across 20 versions & 1 rubygems

Version Path
vedeu-0.8.31 docs/dsl/by_method/timer.md
vedeu-0.8.30 docs/dsl/by_method/timer.md
vedeu-0.8.29 docs/dsl/by_method/timer.md
vedeu-0.8.28 docs/dsl/by_method/timer.md
vedeu-0.8.27 docs/dsl/by_method/timer.md
vedeu-0.8.26 docs/dsl/by_method/timer.md
vedeu-0.8.25 docs/dsl/by_method/timer.md
vedeu-0.8.24 docs/dsl/by_method/timer.md
vedeu-0.8.23 docs/dsl/by_method/timer.md
vedeu-0.8.22 docs/dsl/by_method/timer.md
vedeu-0.8.21 docs/dsl/by_method/timer.md
vedeu-0.8.20 docs/dsl/by_method/timer.md
vedeu-0.8.19 docs/dsl/by_method/timer.md
vedeu-0.8.18 docs/dsl/by_method/timer.md
vedeu-0.8.17 docs/dsl/by_method/timer.md
vedeu-0.8.16 docs/dsl/by_method/timer.md
vedeu-0.8.15 docs/dsl/by_method/timer.md
vedeu-0.8.14 docs/dsl/by_method/timer.md
vedeu-0.8.13 docs/dsl/by_method/timer.md
vedeu-0.8.12 docs/dsl/by_method/timer.md