Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aspectj-dev] Profiling AspectJ Performance impact

Rob,

You may want to read the following paper (particularly section 7)
http://hugunin.net/papers/aosd-2004-cameraReady.pdf

Note, however, this paper is from 2004 and as Eric notes, implementation has been further optimized since.

-Ramnivas

On 10/14/07, Rob Austin <austirob@xxxxxxxxxxxxxx> wrote:
Thanks Eric, that's very useful. That was actually what I planned to do in  a very simple prototype, implement 2 versions, one in pure Java and one using AspectJ. If there is very little overhead it may not be worth it.
 
Thanks again
 
Rob

 
On 14/10/2007, Eric Bodden <eric.bodden@xxxxxxxxxxxxxx > wrote:
Hi, Rob.

We have don a lot of such measurements. I often use JProbe for this.
However, the question is first of all what you want to measure. An
aspect implements functionality. So if you don't implement it with
AspectJ, you have to implement it with pure Java. Hence, to make a
fair comparison you actually need a second version written in pure
Java. Experiments in the past have shown that if you do so, the
overhead is negligible (some very few percent) and since then it has
been even optimized more.

Eric

On 13/10/2007, Rob Austin < austirob@xxxxxxxxxxxxxx> wrote:
> Hi,
>
> I'm new to AspectJ and so apologise if this request has been asked a million
> times before.
>
> Could someone point me in the direction of the best profiler to use to
> examine the impact of aspectJ on my project.
>
> Basically I'm trying to work out the performance impact of an AOP approach
> (aside from the obvious advantages of using AspectJ) versus not using it.
>
> Any help would be great.
>
> Thanks
>
> Rob
> _______________________________________________
> aspectj-dev mailing list
> aspectj-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/aspectj-dev
>
>


--
Eric Bodden
Sable Research Group
McGill University, Montréal, Canada
_______________________________________________
aspectj-dev mailing list
aspectj-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/aspectj-dev


_______________________________________________
aspectj-dev mailing list
aspectj-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/aspectj-dev



Back to the top