Performance impact of using aop

前端 未结 9 2297
小蘑菇
小蘑菇 2020-12-05 02:07

We have started to use spring aop for cross cutting aspects of our application (security & caching at the moment).

My manager worries about the performance impa

9条回答
  •  粉色の甜心
    2020-12-05 02:19

    If performance is going to be a concern, we have used AspectJ to great effect.

    Because it uses bytecode weaving (compile time vs. runtime makes quite the difference) it's one of the fastest AOP frameworks out there. See: AOP Benchmarks

提交回复
热议问题