# How to improve JIT compile performance for local julia scripts

**URL:** <https://discourse.julialang.org/t/how-to-improve-jit-compile-performance-for-local-julia-scripts/31995>\
**Category:** New to Julia\
**Tags:** compilation\
**Created:** [December 8, 2019, 1:44am UTC](https://discourse.julialang.org/t/how-to-improve-jit-compile-performance-for-local-julia-scripts/31995 "2019-12-08T01:44:05Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![AtsushiSakai](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/atsushisakai/32/6559_2.png) [@AtsushiSakai](https://discourse.julialang.org/u/AtsushiSakai)\
**Post date:** [December 8, 2019, 1:44am UTC](https://discourse.julialang.org/t/how-to-improve-jit-compile-performance-for-local-julia-scripts/31995/1 "2019-12-08T01:44:05Z")

</div>

I have a question about JIT compile performance improvement.

The official doc has performance tips:  
[https://docs.julialang.org/en/v1/manual/performance-tips/index.html](https://docs.julialang.org/en/v1/manual/performance-tips/index.html)  
But, in my understanding, this tips are for runtime performance, not JIT compile.

For packages, we can use precompile for JIT compile time improvement.

But, what should user do to improve JIT compile performance for local julia scripts?

According to this post,

> [@Type annotation make JIT compile faster?](https://discourse.julialang.org/t/type-annotation-make-jit-compile-faster/31906):
>
> I have a very simple question about Julia itself. Does type annotation for function make JIT compile faster? In other words, Should I add type annotations as much as possible for good JIT compile performance? Best

Type annotation for functions does’t help it.

Is there any way or strategy to improve JIT compile performance for local julia scripts?

Best
