# Slower execution with multi-threading using @threads macro

**URL:** <https://discourse.julialang.org/t/slower-execution-with-multi-threading-using-threads-macro/44867>\
**Category:** Performance\
**Tags:** question, parallel, multithreading\
**Created:** [August 13, 2020, 10:17am UTC](https://discourse.julialang.org/t/slower-execution-with-multi-threading-using-threads-macro/44867 "2020-08-13T10:17:18Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![trathi](https://avatars.discourse-cdn.com/v4/letter/t/7c8e57/32.png) [@trathi](https://discourse.julialang.org/u/trathi)\
**Post date:** [August 13, 2020, 12:45pm UTC](https://discourse.julialang.org/t/slower-execution-with-multi-threading-using-threads-macro/44867/6 "2020-08-13T12:45:40Z")

</div>

Thank you @oheil. I will benchmark and see if I could find something that could be causing this issue before posting my large code here. Also, just for reference, I found a discussion on similar issue [here](https://discourse.julialang.org/t/multithreading-now-giving-noticeable-advantage-when-running-parallel-functions/44830).

---

_[View the full topic](https://discourse.julialang.org/t/slower-execution-with-multi-threading-using-threads-macro/44867)._
