# Types and gradients, including Forward.gradient

**URL:** <https://discourse.julialang.org/t/types-and-gradients-including-forward-gradient/946>\
**Category:** General Usage\
**Created:** [December 14, 2016, 3:34pm UTC](https://discourse.julialang.org/t/types-and-gradients-including-forward-gradient/946 "2016-12-14T15:34:49Z")\
**Posts on this page:** 1\
**Showing post:** 19

<div class="post-metadata">

**Author:** ![dpsanders](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/dpsanders/32/3573_2.png) [@dpsanders](https://discourse.julialang.org/u/dpsanders)\
**Post date:** [December 19, 2016, 8:52pm UTC](https://discourse.julialang.org/t/types-and-gradients-including-forward-gradient/946/19 "2016-12-19T20:52:17Z")

</div>

Remember not to do timing in global scope, and to time only the second or later run of a given function.

You may also want to compare with the new ReverseDiff.jl package.

---

_[View the full topic](https://discourse.julialang.org/t/types-and-gradients-including-forward-gradient/946)._
