# A question about parallel performance in multithreading

**URL:** <https://discourse.julialang.org/t/a-question-about-parallel-performance-in-multithreading/80743>\
**Category:** Performance\
**Tags:** question, performance, multithreading\
**Created:** [May 9, 2022, 9:33am UTC](https://discourse.julialang.org/t/a-question-about-parallel-performance-in-multithreading/80743 "2022-05-09T09:33:31Z")\
**Posts on this page:** 1\
**Showing post:** 11

<div class="post-metadata">

**Author:** ![Andrea\_Vigliotti](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/andrea_vigliotti/32/7635_2.png) [@Andrea\_Vigliotti](https://discourse.julialang.org/u/Andrea_Vigliotti)\
**Post date:** [May 12, 2022, 5:25pm UTC](https://discourse.julialang.org/t/a-question-about-parallel-performance-in-multithreading/80743/11 "2022-05-12T17:25:36Z")

</div>

thanks for the reply, I think you must be correct in pointing to the memory allocation , while trying to understand what is happening inside inside `getϕ` I got into something that I can’t explain and it seems the problem is in memory allocation I posted a separate question [here](https://discourse.julialang.org/t/a-question-about-how-arrays-work-how-memory-is-allocated-and-what-happen-when-chunks-of-code-inside-a-function-are-moved-into-another-function/80971)

---

_[View the full topic](https://discourse.julialang.org/t/a-question-about-parallel-performance-in-multithreading/80743)._
