# Gaussian Elimination Function that is Fast

**URL:** <https://discourse.julialang.org/t/gaussian-elimination-function-that-is-fast/84714>\
**Category:** Performance\
**Tags:** linearalgebra\
**Created:** [July 24, 2022, 1:37pm UTC](https://discourse.julialang.org/t/gaussian-elimination-function-that-is-fast/84714 "2022-07-24T13:37:08Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![PeterSimon](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/petersimon/32/25193_2.png) [@PeterSimon](https://discourse.julialang.org/u/PeterSimon)\
**Post date:** [July 24, 2022, 4:12pm UTC](https://discourse.julialang.org/t/gaussian-elimination-function-that-is-fast/84714/4 "2022-07-24T16:12:51Z")

</div>

> [@Freya\_the\_Goddess](#):
>
> what is the different with this

You should take a look at the BenchmarkTools documentation, where it is [explained](https://docs.julialang.org/en/v1/manual/performance-tips/#Avoid-global-variables) why you should not use global variables when benchmarking. Note the dollar signs in @PetrKryslUCSD’s code. Also, it is nicer to [provide example code and outputs in code blocks](https://discourse.julialang.org/t/psa-how-to-quote-code-with-backticks/7530) rather than using screen images. That way other people can copy and paste your examples.

---

_[View the full topic](https://discourse.julialang.org/t/gaussian-elimination-function-that-is-fast/84714)._
