Created
June 7, 2018 01:55
-
-
Save trycf/68369d6e51830de96a5517c8036c71f9 to your computer and use it in GitHub Desktop.
TryCF Gist
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<cfscript> | |
cftimer(label = "Scoped", type = "outline"){ | |
for (i = 1; i LTE 1000000; i++){ | |
variables._site.foo1 = i; | |
variables._site.foo = i; | |
variables._site1.foo = i; | |
variables._site1.foo1 = i; | |
} | |
} | |
cftimer(label = "UnScoped", type = "outline"){ | |
for (i = 1; i LTE 1000000; i++){ | |
_1site.foo1 = i; | |
_1site.foo = i; | |
_1site1.foo = i; | |
_1site1.foo1 = i; | |
} | |
} | |
cftimer(label = "Scoped", type = "outline"){ | |
for (i = 1; i LTE 1000000; i++){ | |
variables._2site.foo1 = i; | |
variables._2site.foo = i; | |
variables._2site1.foo = i; | |
variables._2site1.foo1 = i; | |
} | |
} | |
cftimer(label = "UnScoped", type = "outline"){ | |
for (i = 1; i LTE 1000000; i++){ | |
_3site.foo1 = i; | |
_3site.foo = i; | |
_3site1.foo = i; | |
_3site1.foo1 = i; | |
} | |
} | |
cftimer(label = "Scoped", type = "outline"){ | |
for (i = 1; i LTE 1000000; i++){ | |
variables._4site.foo1 = i; | |
variables._4site.foo = i; | |
variables._4site1.foo = i; | |
variables._4site1.foo1 = i; | |
} | |
} | |
cftimer(label = "UnScoped", type = "outline"){ | |
for (i = 1; i LTE 1000000; i++){ | |
_5site.foo1 = i; | |
_5site.foo = i; | |
_5site1.foo = i; | |
_5site1.foo1 = i; | |
} | |
} | |
</cfscript> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment