Created
August 20, 2022 00:37
-
-
Save trycf/9a1bed013d25fb137620d780a3cfc5f5 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> | |
start = getTickCount(); | |
sys = createObject( "java", "java.lang.System" ); | |
nl = sys.getProperty("line.separator"); | |
csvstr = "Email,Rand" & nl; | |
cfloop( from=1, to=50000, index="i" ){ | |
csvstr &= "#i#@test.com,"; | |
csvstr &= "#randRange(1,1000)#" | |
csvstr &= nl; | |
} | |
result = {"Time": getTickCount() - start} | |
writeDump(result); | |
</cfscript> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment