# @time and @benchmark give different results

**URL:** https://discourse.julialang.org/t/time-and-benchmark-give-different-results/66374
**Category:** Performance
**Tags:** question, benchmarktools
**Created:** [August 14, 2021, 2:06am UTC](https://discourse.julialang.org/t/time-and-benchmark-give-different-results/66374 "2021-08-14T02:06:31Z")
**Posts on this page:** 1
**Showing post:** 4

<div class="post-metadata">

### Author: ![aramirezreyes](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/aramirezreyes/32/42573_2.png) [@aramirezreyes](https://discourse.julialang.org/u/aramirezreyes)
#### Post date: [August 14, 2021, 4:16am UTC](https://discourse.julialang.org/t/time-and-benchmark-give-different-results/66374/4 "2021-08-14T04:16:27Z")

</div>

A fully reproducible example would be helpful (see [Please read: make it easier to help you](https://discourse.julialang.org/t/please-read-make-it-easier-to-help-you/14757))

In the case of @benchmark, shouldn’t you quote the first argument?

```julia
@benchmark RBSilly.fit($RBSilly.yx, 0.0002, 4)

```

---

_[View the full topic](https://discourse.julialang.org/t/time-and-benchmark-give-different-results/66374)._
