Create a gist now

Instantly share code, notes, and snippets.

Railo MongoDb Cache Performamce
<cfset start = gettickcount()>
<cfloop from="1" to="1000" index="i">
<cfcache action="put" id="a#i#" value="#i#">
<cfcache action="get" id="a#i#" name="v">
<cfcache action="put" id="b#i#" value="#{value = i}#">
<cfcache action="get" id="b#i#" name="v">
</cfloop>
<cfset end = gettickcount()>
<cfoutput>#end - start# millis</cfoutput>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment