COM interface very SLOW compared to interactive

Get help with installation and running here.

Moderators: DataMystic Support, Moderators

RossEvans
Posts: 3
Joined: Sat Apr 02, 2005 1:05 am
Location: Austin, TX USA

COM interface very SLOW compared to interactive

Postby RossEvans » Sat Apr 02, 2005 1:16 am

I am trying to run a filter via the COM interface (VBScript). The script, basically cut-and-pasted from the Export .. Export VBScript wizard on the TextPipe Pro menu, used a filter file containing several subfilters, and executes against a data file of about 500 MB.

The script runs, but it runs an order of magnitude slower than the same filter run against the same data file interactively using the TextPipe Pro GUI. (1 minute interactive vs. 1 hour using VBScript).

I have tried setting TextPipe.Application = True, which then does make the window visible. But it still runs just as slowly when the script executes.

What is wrong and what can be done to fix this?

User avatar
DataMystic Support
Site Admin
Posts: 2164
Joined: Mon Jun 30, 2003 12:32 pm
Location: Melbourne, Australia
Contact:

Postby DataMystic Support » Wed Apr 06, 2005 11:14 am

Hi Ross,

Sounds strange. Do you have virus scanning active which could be checking what the script (and related COM objects) are doing?

In theory it should be the same speed once the job is running.
Regards,

Simon Carter, http://DataMystic.com/forums/index.php
http://PredictBGL.com - Insulin dose calculator for Type 1 diabetes
http://DownloadPipe.com - 250,000 free software downloads
http://DetachPipe.com - send huge email attachments

RossEvans
Posts: 3
Joined: Sat Apr 02, 2005 1:05 am
Location: Austin, TX USA

Postby RossEvans » Fri Apr 22, 2005 6:36 am

Simon Carter wrote:Hi Ross,

Sounds strange. Do you have virus scanning active which could be checking what the script (and related COM objects) are doing?

In theory it should be the same speed once the job is running.


I do have a McAfee AV running, but it is installed by our central sysadmin and I don't know what its real-time functionality might be with respect to COM objects.

I worked around the problem by running the task as a batch job, rather than as a VBScript. The results are very fast.


Return to “TextPipe Tips and Tricks, Questions and Support”

Who is online

Users browsing this forum: No registered users and 10 guests