Skip to content

Releases: KristofferC/TimerOutputs.jl

v0.5.5

22 Apr 16:04
ca069eb
Compare
Choose a tag to compare

TimerOutputs v0.5.5

Diff since v0.5.4

Closed issues:

  • Empty table if print_timer is called in project outside module that uses the global timer (#83)

Merged pull requests:

  • dont put the actual timer into the expr, this will be invalid after precompilation (#84) (@KristofferC)

v0.5.4

14 Apr 17:04
6a103fd
Compare
Choose a tag to compare

TimerOutputs v0.5.4

Diff since v0.5.3

Closed issues:

  • Confusing allocations (#59)
  • Feature request: time all functions (#70)
  • UndefVarError for TimerOutput when selectively using symbols (#78)

Merged pull requests:

v0.5.3

17 Nov 15:18
v0.5.3
Compare
Choose a tag to compare

v0.5.3 (2019-11-17)

Diff since v0.5.2

Closed issues:

  • errors in precompile with Julia master (#67)
  • Scoping behaviour changes in v0.5.1 (#65)

Merged pull requests:

v0.5.2

14 Nov 11:48
v0.5.2
Compare
Choose a tag to compare

v0.5.2 (2019-11-14)

Diff since v0.5.1

Merged pull requests:

v0.5.1

07 Nov 22:59
v0.5.1
Compare
Choose a tag to compare

v0.5.1 (2019-11-07)

Diff since v0.5.0

Closed issues:

  • Problems with Int32 keyword argument (#54)
  • Disabling timing (#49)
  • Feature Request: track "throughput" (#47)

Merged pull requests:

v0.5.0: Add `@timeit_debug` and friends for zero-overhead timings (#50)

05 Mar 22:39
Compare
Choose a tag to compare
* Add `@timeit_debug` and friends for zero-overhead timings

`@timeit_debug` is meant to be used to instrument your package with
zero-overhead; it is initially disabled, until it is turned on on a
`Module` basis by calling `TimerOutputs.enable_debug_timings(<module>)`,
which will trigger recompilation of all `@timeit_debug`-containing
methods within that `Module`.

Example usage:
```
using TimerOutputs
to = TimerOutput()

function foo()
   global to
   @timeit_debug to "sleepytime" println("hello")
   display(to)
   return nothing
end

@info "With debug timings disabled:"
TimerOutputs.disable_debug_timings(Main)
foo()

@info "With debug timings enabled:"
TimerOutputs.enable_debug_timings(Main)
foo()
```

* Fix `@timeit_debug` with function-style invocation

We need to put the conditional inside of the macro-generated function.
To do this, we work it into `timer_expr()`.

* Don't recompile unless we have to.

Not strictly necessary, but useful when interactively testing things
out, and you just run `enable_debug_timings(NNlib)` every time out of
force of habit.

v0.4.0

20 Jun 09:22
Compare
Choose a tag to compare
upgrade to julia 0.7

v0.3.1

02 Dec 01:18
ff6cb54
Compare
Choose a tag to compare
add annotating function def (#31)

v0.3.0

03 Aug 15:05
Compare
Choose a tag to compare
Create README.md (#27)

v0.2.6: Merge pull request #23 from fredrikekre/fe/prettypercent

28 Apr 09:59
Compare
Choose a tag to compare

Allow using a title when printing a timer