in reply to Win32 OLE painfully slow
Win32::OLE is no speed demon, but this code:
use Win32::OLE;
Takes 2 seconds to run on Win2K, AS Perl 5.6.1 Are you sure about where the time is being spent? To use Excel you then have to instantiate an Excel object which also takes a couple of seconds on this box. Nothing takes minutes.
Do you have enough RAM? If you only have 256MB and XP you don't have enough RAM to have many windows open at once before you will start swapping. That might cause that sort of slow down.
As an aside why use Excel for graphing? It has always been rather mediocre. Can I recommend GD::Graph to you. It is fast and has a much nicer interface than (dare I say) anything involving Win32::OLE.
cheers
tachyon
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Win32 OLE painfully slow
by spurperl (Priest) on Apr 13, 2004 at 11:40 UTC | |
by tachyon (Chancellor) on Apr 13, 2004 at 11:57 UTC | |
by spurperl (Priest) on Apr 13, 2004 at 17:14 UTC |