Skip to content

Instantly share code, notes, and snippets.

@ivanionut
Created September 23, 2018 08:00
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/c629b3f45eab6d6879139945c8ad1103 to your computer and use it in GitHub Desktop.
Save ivanionut/c629b3f45eab6d6879139945c8ad1103 to your computer and use it in GitHub Desktop.
<cfscript>
num_iterations = 1*1000*10000;
start_time = getTickCount();
for(i=1; i<=num_iterations; i++);
end_time = getTickCount();
tot_time = end_time - start_time;
writeOutput("#tot_time#ms");
</cfscript>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment