# What does the beckmarking in global scope mean?

**URL:** https://discourse.julialang.org/t/what-does-the-beckmarking-in-global-scope-mean/80898
**Category:** General Usage
**Tags:** question
**Created:** [May 11, 2022, 4:34pm UTC](https://discourse.julialang.org/t/what-does-the-beckmarking-in-global-scope-mean/80898 "2022-05-11T16:34:46Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![mbauman](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mbauman/32/31082_2.png) [@mbauman](https://discourse.julialang.org/u/mbauman)
#### Post date: [May 11, 2022, 4:45pm UTC](https://discourse.julialang.org/t/what-does-the-beckmarking-in-global-scope-mean/80898/2 "2022-05-11T16:45:44Z")

</div>

Check out this previous thread and the linked SO answer

> [@Function calls in global scope, benchmarking, etc](https://discourse.julialang.org/t/function-calls-in-global-scope-benchmarking-etc/27513/):
>
> I recently asked a [Stack Overflow question](https://stackoverflow.com/questions/57314092/when-to-interpolate-in-benchmarking-expressions) about interpolating into benchmarking expressions. But I still have some lingering confusion about the impact on performance of passing global variables as arguments to functions. The Julia manual in the Performance Tips section says A global variable might have its value, and therefore its type, change at any point. This makes it difficult for the compiler to optimize code using global variables. Variables should be local, or passed as arguments to f…

In your example, `$` is used to get a sense of the performance of `A\b` when `A` and `b` are _either_ local and type-stable inside a function (including if they’re arguments) _or_ they’re declared as `const` globals. It’s the former that most folks are interested in when benchmarking because that’s the happy path for high-performance Julia.

You’ve not declared `A` and `b` as `const`, so they’re not constant.

---

_[View the full topic](https://discourse.julialang.org/t/what-does-the-beckmarking-in-global-scope-mean/80898)._
