# Benchmark specialized method against general method

**URL:** <https://discourse.julialang.org/t/benchmark-specialized-method-against-general-method/8978>\
**Category:** General Usage\
**Created:** [February 10, 2018, 4:36pm UTC](https://discourse.julialang.org/t/benchmark-specialized-method-against-general-method/8978 "2018-02-10T16:36:55Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Ralph\_Smith](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ralph_smith/32/10344_2.png) [@Ralph\_Smith](https://discourse.julialang.org/u/Ralph_Smith)\
**Post date:** [February 10, 2018, 4:45pm UTC](https://discourse.julialang.org/t/benchmark-specialized-method-against-general-method/8978/2 "2018-02-10T16:45:36Z")

</div>

```julia
julia> invoke(f,Tuple{Any},2)
2

```

---

_[View the full topic](https://discourse.julialang.org/t/benchmark-specialized-method-against-general-method/8978)._
