There are two different times you are dealing with. Server processing time. User perceived time.
You can accurately measure the server processing time easily using cold fusion. grab the startTick at the top of your page. grab the endTick at the end of your page. display the difference as load time. But regardless of the actual time, your user is frustrated. Probably bored. Give him/her something to do while loading. Use cfflush to get partial page info to the user during the page load. Put up a "Loading..." message. Put up a "Loading..." animated gif (and replace it using javascript with "Done" at bottom of page. Throw up a fact about the data set (numbers, stats, last uploaded). On 6/5/06, Ray Champagne <[EMAIL PROTECTED]> wrote: > Is there a way that I can figure out how long a file upload takes? > > I have a client who is complaining that my file upload script is taking > too long. When I test it, everything seems OK, so I'm assuming that it > is a connectivity issue on his end. What I'd like to do is out out the > amount of seconds that the upload takes on the "success" page so I can > have some kind of benchmark. > > I've tried wrapping the <cffile> tag with getTickCount(), but the number > there is ridiculously small, so I'm assuming that it's only telling me > how long it takes to process that tag, not the actual upload itself. > > Anybody have any tricks on how I could accomplish what I'm trying to do? ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:242389 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

