Skip to content

Instantly share code, notes, and snippets.

@ivanionut
Created June 6, 2018 21:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ivanionut/29be52fa287f379fe4e0e8ae6b7c6813 to your computer and use it in GitHub Desktop.
Save ivanionut/29be52fa287f379fe4e0e8ae6b7c6813 to your computer and use it in GitHub Desktop.
<cfscript>
cftimer(label = "UnScoped", type = "outline"){
for (i = 1; i LTE 1000000; i++){
_site.foo = "";
}
}
cftimer(label = "Scoped", type = "outline"){
for (i = 1; i LTE 1000000; i++){
variables._site.foo = "";
}
}
</cfscript>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment