# Optimising iterative solution of small system

**URL:** <https://discourse.julialang.org/t/optimising-iterative-solution-of-small-system/112885>\
**Category:** Performance\
**Tags:** linearalgebra\
**Created:** [April 12, 2024, 3:59pm UTC](https://discourse.julialang.org/t/optimising-iterative-solution-of-small-system/112885 "2024-04-12T15:59:48Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![gdalle](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/gdalle/32/27854_2.png) [@gdalle](https://discourse.julialang.org/u/gdalle)\
**Post date:** [April 12, 2024, 4:16pm UTC](https://discourse.julialang.org/t/optimising-iterative-solution-of-small-system/112885/2 "2024-04-12T16:16:50Z")

</div>

> [@alemelis](#):
>
> However this is not what I see when profiling the simulation as most of the time is spent in `NR!` when calling `\` in

Profiling only runs the code once so it’s possible that the samples were noisy. Have you tried profiling a repeating loop instead?

---

_[View the full topic](https://discourse.julialang.org/t/optimising-iterative-solution-of-small-system/112885)._
