+ Reply to Thread
Results 1 to 5 of 5

display how long it takes to calc or timing certain events

Hybrid View

  1. #1
    GH
    Guest

    display how long it takes to calc or timing certain events

    The glorious excel application that I have been constructing over the
    past month is getting very sloooooowwwwww. I have done the obvious
    like turning off screen updating and turning off automatic calculation
    while the code is running and pasting stuff in cells.

    Even the automatic calculation that executes when the user updates a
    single cell is slow.

    I would like to time how slow. Can you somehow display a clock or
    timer to measure whether certain modification to the code improve the
    speed? I would like to be able to quantify questions like: "How much
    faster is the calculation if all UDF functions are made non-volatile?"


  2. #2
    Tom Ogilvy
    Guest

    Re: display how long it takes to calc or timing certain events

    http://support.microsoft.com/default...b;en-us;172338
    How To Use QueryPerformanceCounter to Time Code

    --
    Regards,
    Tom Ogilvy


    "GH" <gwh_lbh@swbell.net> wrote in message
    news:1105725429.626024.218130@c13g2000cwb.googlegroups.com...
    > The glorious excel application that I have been constructing over the
    > past month is getting very sloooooowwwwww. I have done the obvious
    > like turning off screen updating and turning off automatic calculation
    > while the code is running and pasting stuff in cells.
    >
    > Even the automatic calculation that executes when the user updates a
    > single cell is slow.
    >
    > I would like to time how slow. Can you somehow display a clock or
    > timer to measure whether certain modification to the code improve the
    > speed? I would like to be able to quantify questions like: "How much
    > faster is the calculation if all UDF functions are made non-volatile?"
    >




  3. #3
    Norman Jones
    Guest

    Re: display how long it takes to calc or timing certain events

    Hi GH,

    As an alternative, I like Karl E Peterson's Stopwatch, freely downloadable
    from:

    http://vb.mvps.org/samples/project.asp?id=stopwatch

    The site is being revamped as we speak, so click on the 'Old Site
    description ' link to get a flavour of the many goodies available.


    ---
    Regards,
    Norman



    "GH" <gwh_lbh@swbell.net> wrote in message
    news:1105725429.626024.218130@c13g2000cwb.googlegroups.com...
    > The glorious excel application that I have been constructing over the
    > past month is getting very sloooooowwwwww. I have done the obvious
    > like turning off screen updating and turning off automatic calculation
    > while the code is running and pasting stuff in cells.
    >
    > Even the automatic calculation that executes when the user updates a
    > single cell is slow.
    >
    > I would like to time how slow. Can you somehow display a clock or
    > timer to measure whether certain modification to the code improve the
    > speed? I would like to be able to quantify questions like: "How much
    > faster is the calculation if all UDF functions are made non-volatile?"
    >




  4. #4
    Rob van Gelder
    Guest

    Re: display how long it takes to calc or timing certain events

    I have a Speed Test example on my website.

    --
    Rob van Gelder - http://www.vangelder.co.nz/excel


    "GH" <gwh_lbh@swbell.net> wrote in message
    news:1105725429.626024.218130@c13g2000cwb.googlegroups.com...
    > The glorious excel application that I have been constructing over the
    > past month is getting very sloooooowwwwww. I have done the obvious
    > like turning off screen updating and turning off automatic calculation
    > while the code is running and pasting stuff in cells.
    >
    > Even the automatic calculation that executes when the user updates a
    > single cell is slow.
    >
    > I would like to time how slow. Can you somehow display a clock or
    > timer to measure whether certain modification to the code improve the
    > speed? I would like to be able to quantify questions like: "How much
    > faster is the calculation if all UDF functions are made non-volatile?"
    >




  5. #5
    Stephen Bullen
    Guest

    Re: display how long it takes to calc or timing certain events

    Hi Gh,

    > I would like to time how slow. Can you somehow display a clock or
    > timer to measure whether certain modification to the code improve the
    > speed? I would like to be able to quantify questions like: "How much
    > faster is the calculation if all UDF functions are made non-volatile?"


    If you can wait a few weeks, our book "Professional Excel Development"
    includes a chapter about optimizing VBA performance and provides a
    performance monitoring addin that does exactly what you require.

    Regards

    Stephen Bullen
    Microsoft MVP - Excel
    www.oaltd.co.uk



+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1