Skip to content

Commit 7ac47d3

Browse files
author
Martin Tamme
committed
Updated benchmarks.
1 parent 0792dcb commit 7ac47d3

File tree

7 files changed

+44
-1
lines changed

7 files changed

+44
-1
lines changed

Documentation/BENCHMARKS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ the values in microseconds for this scenario.
3838

3939
![Method invocation performance](https://raw.github.com/mtamme/NProxy/master/Documentation/MethodInvocation.png "Method invocation performance")
4040

41-
Details to the performed tests can be found [here](https://github.com/mtamme/NProxy/tree/master/Documentation/Benchmark_20140113_120411.md).
41+
Details to the performed tests can be found [here](https://github.com/mtamme/NProxy/tree/master/Documentation/Benchmark_20140221_094332.md).
4242
All tests have been performed under Microsoft .NET 4.0.30319 and can be found [here](https://github.com/mtamme/NProxy/tree/master/Source/Test/NProxy.Core.Benchmark/).
4343

4444
## Conclusion
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
"Type";"Version";"Scenario";"Description";"Iterations";"Total time (ms)";"Average time (ms)";"Average time (µs)"
2+
"Castle.Core";"v 3.2";"MethodInvocation";"Method invocation";10000000;630.031;0.000;0.063
3+
"Castle.Core";"v 3.2";"MethodInvocationWithGenericParameter";"Method invocation (w/ generic param)";10000000;10699.253;0.001;1.070
4+
"Castle.Core";"v 3.2";"ProxyGeneration";"Proxy generation";1000;2829.769;2.830;2829.769
5+
"Castle.Core";"v 3.2";"ProxyGenerationWithGenericParameter";"Proxy generation (w/ generic param)";1000;2686.184;2.686;2686.184
6+
"Castle.Core";"v 3.2";"ProxyInstantiation";"Proxy instantiation";1000000;3358.441;0.003;3.358
7+
"Castle.Core";"v 3.2";"ProxyInstantiationWithGenericParameter";"Proxy instantiation (w/ generic param)";1000000;3356.702;0.003;3.357
8+
"LinFu.Core";"v 2.3";"MethodInvocation";"Method invocation";10000000;12589.556;0.001;1.259
9+
"LinFu.Core";"v 2.3";"MethodInvocationWithGenericParameter";"Method invocation (w/ generic param)";10000000;47086.966;0.005;4.709
10+
"LinFu.Core";"v 2.3";"ProxyGeneration";"Proxy generation";1000;3318.705;3.319;3318.705
11+
"LinFu.Core";"v 2.3";"ProxyGenerationWithGenericParameter";"Proxy generation (w/ generic param)";1000;3652.119;3.652;3652.119
12+
"LinFu.Core";"v 2.3";"ProxyInstantiation";"Proxy instantiation";1000000;921.531;0.001;0.922
13+
"LinFu.Core";"v 2.3";"ProxyInstantiationWithGenericParameter";"Proxy instantiation (w/ generic param)";1000000;918.563;0.001;0.919
14+
"NProxy.Core";"v 2.2";"MethodInvocation";"Method invocation";10000000;641.273;0.000;0.064
15+
"NProxy.Core";"v 2.2";"MethodInvocationWithGenericParameter";"Method invocation (w/ generic param)";10000000;817.850;0.000;0.082
16+
"NProxy.Core";"v 2.2";"ProxyGeneration";"Proxy generation";1000;1072.426;1.072;1072.426
17+
"NProxy.Core";"v 2.2";"ProxyGenerationWithGenericParameter";"Proxy generation (w/ generic param)";1000;1100.371;1.100;1100.371
18+
"NProxy.Core";"v 2.2";"ProxyInstantiation";"Proxy instantiation";1000000;1333.968;0.001;1.334
19+
"NProxy.Core";"v 2.2";"ProxyInstantiationWithGenericParameter";"Proxy instantiation (w/ generic param)";1000000;1323.382;0.001;1.323
20+
"Regular";"n/a";"MethodInvocation";"Method invocation";100000000;243.422;0.000;0.002
21+
"Regular";"n/a";"MethodInvocationWithGenericParameter";"Method invocation (w/ generic param)";100000000;1077.018;0.000;0.011
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
| Type | Version | Scenario | Iterations | Total time in ms | Average time in µs |
2+
|:----------|--------:|:-------------------------------------|-----------:|-----------------:|-------------------:|
3+
|Castle.Core| v 3.2|Method invocation | 10000000| 630.031| 0.063|
4+
|Castle.Core| v 3.2|Method invocation (w/ generic param) | 10000000| 10699.253| 1.070|
5+
|Castle.Core| v 3.2|Proxy generation | 1000| 2829.769| 2829.769|
6+
|Castle.Core| v 3.2|Proxy generation (w/ generic param) | 1000| 2686.184| 2686.184|
7+
|Castle.Core| v 3.2|Proxy instantiation | 1000000| 3358.441| 3.358|
8+
|Castle.Core| v 3.2|Proxy instantiation (w/ generic param)| 1000000| 3356.702| 3.357|
9+
|LinFu.Core | v 2.3|Method invocation | 10000000| 12589.556| 1.259|
10+
|LinFu.Core | v 2.3|Method invocation (w/ generic param) | 10000000| 47086.966| 4.709|
11+
|LinFu.Core | v 2.3|Proxy generation | 1000| 3318.705| 3318.705|
12+
|LinFu.Core | v 2.3|Proxy generation (w/ generic param) | 1000| 3652.119| 3652.119|
13+
|LinFu.Core | v 2.3|Proxy instantiation | 1000000| 921.531| 0.922|
14+
|LinFu.Core | v 2.3|Proxy instantiation (w/ generic param)| 1000000| 918.563| 0.919|
15+
|NProxy.Core| v 2.2|Method invocation | 10000000| 641.273| 0.064|
16+
|NProxy.Core| v 2.2|Method invocation (w/ generic param) | 10000000| 817.850| 0.082|
17+
|NProxy.Core| v 2.2|Proxy generation | 1000| 1072.426| 1072.426|
18+
|NProxy.Core| v 2.2|Proxy generation (w/ generic param) | 1000| 1100.371| 1100.371|
19+
|NProxy.Core| v 2.2|Proxy instantiation | 1000000| 1333.968| 1.334|
20+
|NProxy.Core| v 2.2|Proxy instantiation (w/ generic param)| 1000000| 1323.382| 1.323|
21+
|Regular | n/a|Method invocation | 100000000| 243.422| 0.002|
22+
|Regular | n/a|Method invocation (w/ generic param) | 100000000| 1077.018| 0.011|
33.3 KB
Binary file not shown.

Documentation/MethodInvocation.png

6 Bytes
Loading

Documentation/ProxyGeneration.png

61 Bytes
Loading
-106 Bytes
Loading

0 commit comments

Comments
 (0)