+ Reply to Thread
Results 1 to 3 of 3

Hardware effect on Chart creation speed

  1. #1
    Denis Boucher
    Guest

    Hardware effect on Chart creation speed

    Hi: (sorry for the long post).

    I have created a macro to create graphs (X-Y Plot) from data contained in
    worksheets. There is very little computation; most of the work is selecting
    the proper columns, figuring out what the titles should be, formatting the
    axes and axes titles, creating a footer, formatting the legend on some of the
    graphs and setting the margins.

    I turn ScreenUpdating off while the chart is "under construction" and turn
    it back on once it is constructed; the macro builds 11 Charts and then
    displays the time it took to build these charts.

    The total time required for the macro varies considerably from one PC to the
    next (from 5 seconds to about 50 seconds on my PC); we are all running Office
    2000; some of us are on Windows 2000, others on XP. I am on XP.

    My question is: what affects the speed of a macro creating charts in Excel ?
    I am running a Dell Precision 470 workstation with a Dual Xeon and a NVidia
    PCI-e video card (64 MB RAM). I would like to think that this should easily
    beat a Pentium 4 box with a 16 or 32 MB RAM video card, but that doesn't seem
    to be the case.

    I have noticed that, while the macro is running, there is considerable
    network traffic (several MBytes) and the CPU allocation to service
    SpoolSV.EXE jumps from 0% to over 30%. These activities stop when the macro
    ends or is stopped.... what could be creating this (the macro does not
    attempt to access data on the network, nor does it print anything). If I
    stop SpoolSV.EXE, the macro won't run.

    Any insights would be welcomed.

    Thanks -- Denis

  2. #2
    Jim Rech
    Guest

    Re: Hardware effect on Chart creation speed

    SpoolSV.EXE is your Windows print spooler. This suggests that your macro is
    doing some page setup stuff for printing. Printer drivers vary remarkably
    in their speed and efficiency. I've witness a macro so slowed down by a
    slow driver that the user actually did a C-A-D thinking his machine was
    hung! A macro that ran instantly for me.

    So make sure you have the latest drivers for your printer. Switch to a
    newer printer if you have to.

    --
    Jim
    "Denis Boucher" <[email protected]> wrote in message
    news:[email protected]...
    | Hi: (sorry for the long post).
    |
    | I have created a macro to create graphs (X-Y Plot) from data contained in
    | worksheets. There is very little computation; most of the work is
    selecting
    | the proper columns, figuring out what the titles should be, formatting the
    | axes and axes titles, creating a footer, formatting the legend on some of
    the
    | graphs and setting the margins.
    |
    | I turn ScreenUpdating off while the chart is "under construction" and turn
    | it back on once it is constructed; the macro builds 11 Charts and then
    | displays the time it took to build these charts.
    |
    | The total time required for the macro varies considerably from one PC to
    the
    | next (from 5 seconds to about 50 seconds on my PC); we are all running
    Office
    | 2000; some of us are on Windows 2000, others on XP. I am on XP.
    |
    | My question is: what affects the speed of a macro creating charts in Excel
    ?
    | I am running a Dell Precision 470 workstation with a Dual Xeon and a
    NVidia
    | PCI-e video card (64 MB RAM). I would like to think that this should
    easily
    | beat a Pentium 4 box with a 16 or 32 MB RAM video card, but that doesn't
    seem
    | to be the case.
    |
    | I have noticed that, while the macro is running, there is considerable
    | network traffic (several MBytes) and the CPU allocation to service
    | SpoolSV.EXE jumps from 0% to over 30%. These activities stop when the
    macro
    | ends or is stopped.... what could be creating this (the macro does not
    | attempt to access data on the network, nor does it print anything). If I
    | stop SpoolSV.EXE, the macro won't run.
    |
    | Any insights would be welcomed.
    |
    | Thanks -- Denis



  3. #3
    Denis Boucher
    Guest

    Re: Hardware effect on Chart creation speed

    Jim: I commented out the part that was setting the charts margins and
    footer.... and my run time is now 2 seconds, instead of over 50 !!

    Thanks a whole bunch !!!

    Denis
    (now... I have to convince my LAN Manager that we need to upgrade the
    printer driver !!)


    "Jim Rech" wrote:

    > SpoolSV.EXE is your Windows print spooler. This suggests that your macro is
    > doing some page setup stuff for printing. Printer drivers vary remarkably
    > in their speed and efficiency. I've witness a macro so slowed down by a
    > slow driver that the user actually did a C-A-D thinking his machine was
    > hung! A macro that ran instantly for me.
    >
    > So make sure you have the latest drivers for your printer. Switch to a
    > newer printer if you have to.
    >
    > --
    > Jim
    > "Denis Boucher" <[email protected]> wrote in message
    > news:[email protected]...
    > | Hi: (sorry for the long post).
    > |
    > | I have created a macro to create graphs (X-Y Plot) from data contained in
    > | worksheets. There is very little computation; most of the work is
    > selecting
    > | the proper columns, figuring out what the titles should be, formatting the
    > | axes and axes titles, creating a footer, formatting the legend on some of
    > the
    > | graphs and setting the margins.
    > |
    > | I turn ScreenUpdating off while the chart is "under construction" and turn
    > | it back on once it is constructed; the macro builds 11 Charts and then
    > | displays the time it took to build these charts.
    > |
    > | The total time required for the macro varies considerably from one PC to
    > the
    > | next (from 5 seconds to about 50 seconds on my PC); we are all running
    > Office
    > | 2000; some of us are on Windows 2000, others on XP. I am on XP.
    > |
    > | My question is: what affects the speed of a macro creating charts in Excel
    > ?
    > | I am running a Dell Precision 470 workstation with a Dual Xeon and a
    > NVidia
    > | PCI-e video card (64 MB RAM). I would like to think that this should
    > easily
    > | beat a Pentium 4 box with a 16 or 32 MB RAM video card, but that doesn't
    > seem
    > | to be the case.
    > |
    > | I have noticed that, while the macro is running, there is considerable
    > | network traffic (several MBytes) and the CPU allocation to service
    > | SpoolSV.EXE jumps from 0% to over 30%. These activities stop when the
    > macro
    > | ends or is stopped.... what could be creating this (the macro does not
    > | attempt to access data on the network, nor does it print anything). If I
    > | stop SpoolSV.EXE, the macro won't run.
    > |
    > | Any insights would be welcomed.
    > |
    > | Thanks -- Denis
    >
    >
    >


+ 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