# Having issues speeding up code with multithreading

**URL:** <https://discourse.julialang.org/t/having-issues-speeding-up-code-with-multithreading/101508>\
**Category:** Performance\
**Tags:** parallel, multithreading\
**Created:** [July 12, 2023, 5:28am UTC](https://discourse.julialang.org/t/having-issues-speeding-up-code-with-multithreading/101508 "2023-07-12T05:28:39Z")\
**Posts on this page:** 1\
**Showing post:** 10

<div class="post-metadata">

**Author:** ![LaurentPlagne](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/laurentplagne/32/10103_2.png) [@LaurentPlagne](https://discourse.julialang.org/u/LaurentPlagne)\
**Post date:** [July 12, 2023, 3:44pm UTC](https://discourse.julialang.org/t/having-issues-speeding-up-code-with-multithreading/101508/10 "2023-07-12T15:44:39Z")

</div>

And all the time is spent in allocation required by the linear solve:

 ![Capture d’écran 2023-07-12 à 17.42.46](https://global.discourse-cdn.com/julialang/original/3X/d/5/d5ab93930cb8b353f8401725d5839d28175c0197.jpeg)

---

_[View the full topic](https://discourse.julialang.org/t/having-issues-speeding-up-code-with-multithreading/101508)._
