Recently I prepared a lecture on AOP & interception in .NET for my collegues.
As part of a lecture I created a small demo to demonstrate how interception could affect
the performance of the intercepted code. My original estimation was to obtain result
similar to one, obtained in that nice article (slowdown upto 300%
with ~~0,022 microsecond per call).
My test shows a quite different numbers - slowdown by 1099 times with timing of
about ~~19 microsecond per call. The only difference is that I created a complete simple
AOP scenario with context attribute, context property and a message sink (all of a no-op style).
Full test code is below ...