Created
June 20, 2011 12:58
-
-
Save andreacfm/1035561 to your computer and use it in GitHub Desktop.
Railo MongoDb Cache Performamce
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
<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