DynamicProxy 2: awesome performance

August 20th, 2006

I’m happy to present the results of the newly DP2 (which is 60% completed) compared with the performance of DP1. The method invocation is much less time consuming, but the proxy generation is the inverse, slower. I believe this is OK, as a proxy only needs to be generated once.

To the results.

Proxy Generation (numbers in ticks):

  DP1 DP2  
data 1 1,562,500.00 2,031,250.00 130.00%
data 2 1,562,500.00 1,250,000.00 80.00%
data 3 1,562,500.00 1,250,000.00 80.00%
avg 1,562,500.00 1,510,416.67 96.67%

Proxied methods calls (numbers in ticks – 100000 executions):

  DP1 DP2  
data 1 5,468,750.00 937,500.00 583.33%
data 2 4,531,250.00 625,000.00 725.00%
data 3 4,531,250.00 468,750.00 966.67%
avg 4,843,750.00 677,083.33 715.38%

The next step is to review th DP 2 API, plus import all tests cases from DP1 and review all jira issues for DP1 and apply any relevant fix on the DP2 codebase.

Categories: Castle | Top Of Page | 1 Comment » |

One Response to “DynamicProxy 2: awesome performance”

Mike Says:

Is DP2 still alive and will be completed ? I hope so but it’s been over a year since this post when DP2 was 60% complete.

Leave a Reply