Skip to content

Commit 11cfd16

Browse files
committed
LDEV-5821 cfc properties overhead
1 parent e8824f9 commit 11cfd16

File tree

5 files changed

+23
-0
lines changed

5 files changed

+23
-0
lines changed

custom/benchmark/Application.cfc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ component {
1212
, "set-cookie"
1313
, "query-manipulation"
1414
, "request"
15+
, "cfc-empty"
16+
, "cfc-5props"
1517
, "loops"
1618
, "primes"
1719
, "toString"
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<cfscript>
2+
loop times=10{
3+
new res.PropertiesCFC();
4+
}
5+
</cfscript>
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<cfscript>
2+
loop times=10{
3+
new res.EmptyCFC();
4+
}
5+
</cfscript>
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
component {
2+
3+
}
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
component {
2+
property name="property1" type="string";
3+
property name="property2" type="numeric";
4+
property name="property3" type="boolean";
5+
property name="property4" type="array";
6+
property name="property5" type="struct";
7+
8+
}

0 commit comments

Comments
 (0)