Just-in-Time (JiT) vs Ahead-of-Time (AoT) compilation in Angular

前端 未结 8 720
难免孤独
难免孤独 2020-12-04 05:50

I was referring this documentation and came across the compilation concept. One can use either JIT or AOT compilation. However, I found it very brief and need to know follow

8条回答
  •  春和景丽
    2020-12-04 06:31

    Benyamin and Nisar mentioned some good points here. I will add to it.

    While theoretically, AOT looks an attractive option than JIT for production purpose but I had my doubt whether AOT really worth it!

    Well, I found nice stats by Jeff Cross and it does prove that AOT significantly reduces the bootstrapping time of the app. Below snap from Jeff Cross' post will give you quick idea about it,

提交回复
热议问题