Thursday 17-05-2012
About Us | Contact Us | FAQ | Support | Links
Coldfusion Custom Tags, CFXs, CFCs, Full Applications and more!
< Built by ColdFusion Developers, for ColdFusion Developers >
 
Home | Tag Categories | Latest Tags | Top Rated Tags | Top Selling Tags | My Account | Search | Sell Your Tags | Tags A-Z
cf_stopwatch

cf_stopwatch -
Developer Name: Stephen Wittenberg
Company Name:
Email Developer Email Developer:
Latest Version: 1.0
Price: $20
License: One copy for multiple servers in multiple locations.
Encrypted: Yes
Average Rating:
Times Rated: 1
Rate This Tag:


Tag Comments

There are no comments for this tag yet!
 Related ColdFusion Applications
Developers who purchased cf_stopwatch also purchased:
  1. CF_FileManager V3.2 (Cross Browser)
  2. CFX PDF (Adobe PDF Generator)
  3. XLSAdapter
  4. cf_datepicker
  5. cf_siteInsight
  6. CFX Image System
  7. XPMenu - Pulldown Menu (Un-encrypted Version)
  8. XPToolbar - Un-encrypted
  9. CF_Error logging
  10. cfx_WebThumb


What Is cf_stopwatch?
This custom tag returns the amount of time it takes for a block of code to complete.

WHY: This tag is helpful in performance testing chunks of code.  I use it all the time to see what parts of my code are taking the longest to run.

USAGE: <cf_stopwatch swName="[name_of_returned_structure]" swUnit="[all|milliseconds|seconds|minutes|hours|days]">Some block of code</cf_stopwatch>

RETURNS: <cf_stopwatch> returns a structure by the value assigned to swName.

EXAMPLE:
<cf_stopwatch swName="ticktock" swUnit="seconds">
    <cfloop from="1" to="50000" index="x"></cfloop>
</cf_stopwatch>
<cfoutput>It took (#ticktock.seconds#) seconds to complete this loop.</cfoutput>

 

 



 


< Business Strength Coldfusion Custom Tags >
Sitemap | Privacy | Branding | Web Services | Support | Contact Us