The Inquisitive Coder

Thinking outside of the typical .NET box

Windsor’s Interceptors and Performance

Posted by Davy Brion on May 9, 2008

This blog has been moved to my own site. You can find this post here

One Response to “Windsor’s Interceptors and Performance”

  1. Gael Fraiteur Says:

    I would not say that PostSharp is without performance overhead. Actually, Windsor generates proxies using Reflection Emit, so once the proxy is emitted, Windsor is as fast as PostSharp.

    The big difference is somewhere else: Windsor enables AOP typically only on service boundaries, the set of available aspects is more limited, it forces you to use factories.

    To be more precise, if you use PostSharp Core to inject ad-hoc MSIL instructions, there will be no difference in performance w.r.t. hand-tuned code. But if you use PostSharp Laos, the high-level library offering a similar performance of functionality as Windsor, performance will be similar — since the level of abstraction is similar.

    Happy PostSharping!

    Gael

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>