# If control flow 40X slow down

**URL:** https://discourse.julialang.org/t/if-control-flow-40x-slow-down/17144
**Category:** General Usage
**Created:** [November 4, 2018, 7:43pm UTC](https://discourse.julialang.org/t/if-control-flow-40x-slow-down/17144 "2018-11-04T19:43:54Z")
**Posts on this page:** 1
**Showing post:** 3

<div class="post-metadata">

### Author: ![DNF](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/dnf/32/10191_2.png) [@DNF](https://discourse.julialang.org/u/DNF)
#### Post date: [November 4, 2018, 7:55pm UTC](https://discourse.julialang.org/t/if-control-flow-40x-slow-down/17144/3 "2018-11-04T19:55:09Z")

</div>

I see that you have tried to quote your code, but it’s not quite right. Please take a look at this post to see how to format code for discourse: [PSA: how to quote code with backticks](https://discourse.julialang.org/t/psa-how-to-quote-code-with-backticks/7530)

You should also remember to interpolate variables when using BenchmarkTools: `@benchmark test($m)`, instead of `@benchmark test(m)`. It may not make a difference here, but in general, it does, and it removes the need to double-check if performance issues are due to the lack of interpolation.

---

_[View the full topic](https://discourse.julialang.org/t/if-control-flow-40x-slow-down/17144)._
