# General advice for how to maximize code performance

**URL:** <https://discourse.julialang.org/t/general-advice-for-how-to-maximize-code-performance/50439>\
**Category:** General Usage\
**Tags:** question\
**Created:** [November 19, 2020, 2:00pm UTC](https://discourse.julialang.org/t/general-advice-for-how-to-maximize-code-performance/50439 "2020-11-19T14:00:50Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![fusion809](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/fusion809/32/6080_2.png) [@fusion809](https://discourse.julialang.org/u/fusion809)\
**Post date:** [November 19, 2020, 2:00pm UTC](https://discourse.julialang.org/t/general-advice-for-how-to-maximize-code-performance/50439/1 "2020-11-19T14:00:50Z")

</div>

I thought I’d ask for what tips you more advanced Julia users have for how to maximize code performance in general. I realize that without a specific use-case some ways may be missed, but I thought I’d check whether yous have any general advice. Based on the replies to [Inconsistent typing making adding arrays and adding a vector to the end of an array difficult](https://discourse.julialang.org/t/inconsistent-typing-making-adding-arrays-and-adding-a-vector-to-the-end-of-an-array-difficult/47662), I know some already, such as using StaticArrays instead of regular arrays.

---

<div class="post-metadata">

**Author:** ![rdeits](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/rdeits/32/286_2.png) [@rdeits](https://discourse.julialang.org/u/rdeits)\
**Post date:** [November 19, 2020, 2:06pm UTC](https://discourse.julialang.org/t/general-advice-for-how-to-maximize-code-performance/50439/2 "2020-11-19T14:06:25Z")

</div>

There’s a lot of useful performance information here: [Performance Tips · The Julia Language](https://docs.julialang.org/en/v1/manual/performance-tips/)
