comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » 5.2 slower the 5.1???
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
5.2 slower the 5.1??? [message #14964] Thu, 08 April 1999 00:00 Go to next message
lbryanNOSPAM is currently offline  lbryanNOSPAM
Messages: 21
Registered: July 1998
Junior Member
Below are the results of running the same batch file on the same
computer under IDL 5.1 and 5.2 (the two versions were not run at the
same time). I tried time_test2 and graphics_times from the library,
and they show 5.2 being faster, but I have noticed my large
application running significantly slower on 5.2. Anybody know why?

IDL> print,!version
{ x86 Win32 Windows 5.1 Apr 22 1998}
IDL> @set_dvnew
C:\Users\dvsim\idl\stil3dtools\ read_spe_1d
% Compiled module: READ_SPE_1D.
C:\Users\dvsim\idl\stil3dtools\ stil_bin1d
% Compiled module: STIL_BIN1D.
C:\Users\dvsim\idl\main\dvjjp\ extract3d_bin
% Compiled module: EXTRACT3D_BIN.
.
.
many more compiled procedures
.
.
c:\users\dvsim\idl\main\main_event.pro
% Compiled module: MAIN_EVENT.
c:\users\dvsim\idl\main\file_eh.pro
% Compiled module: FILE_EH.
c:\users\dvsim\idl\main\ dvnew
% Compiled module: DVSIM_CLEANUP.
% Compiled module: DVNEW.
c:\users\dvsim\idl\main\ free_ptrs
% Compiled module: FREE_PTRS.
heap space cleared
5.8590001 Seconds



IDL> print,!version
{ x86 Win32 Windows 5.2 Oct 30 1998}
IDL> @set_dvnew
C:\Users\dvsim\idl\stil3dtools\ read_spe_1d
% Compiled module: READ_SPE_1D.
C:\Users\dvsim\idl\stil3dtools\ stil_bin1d
% Compiled module: STIL_BIN1D.
C:\Users\dvsim\idl\main\dvjjp\ extract3d_bin
% Compiled module: EXTRACT3D_BIN.
.
.
many more compiled procedures
.
.
c:\users\dvsim\idl\main\main_event.pro
% Compiled module: MAIN_EVENT.
c:\users\dvsim\idl\main\file_eh.pro
% Compiled module: FILE_EH.
c:\users\dvsim\idl\main\ dvnew
% Compiled module: DVSIM_CLEANUP.
% Compiled module: DVNEW.
c:\users\dvsim\idl\main\ free_ptrs
% Compiled module: FREE_PTRS.
heap space cleared
13.459000 Seconds

Lisa Bryan
Arete Associates
Tucson, Arizona
lbryan@arete-az.com
Re: 5.2 slower the 5.1??? [message #15103 is a reply to message #14964] Wed, 21 April 1999 00:00 Go to previous message
wbiagiot is currently offline  wbiagiot
Messages: 59
Registered: January 1999
Member
Phillip David <phillip_david@xontech.com> wrote:
> It actually depends on whether your directories are on your local hard
> drive or on a remote machine (such as a file server), and on whether the
> search path is the same between the two versions.

Understood. Thanx for the explanation.

-Bill B.

-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
Re: 5.2 slower the 5.1??? [message #15110 is a reply to message #14964] Tue, 20 April 1999 00:00 Go to previous message
Phillip David is currently offline  Phillip David
Messages: 36
Registered: April 1999
Member
It actually depends on whether your directories are on your local hard
drive or on a remote machine (such as a file server), and on whether the
search path is the same between the two versions. This whole problem
showed its ugly head for me in the initial post when I was trying to
create some simple objects. I defined them without an init method, and
tried creating an array of 10000 of them. When my search path included
network drives, the time consumed was HUGE compared with the time
required when I provided the init method or when the search path stayed
on my local drive. The moral of the story I gave at the time was to
make sure that IDL can find an actual file each time it searches for
one. Otherwise, you may spend a LONG time searching. NOTE: IDL wasn't
smart enough (at least then) to figure out that when it couldn't find
the init method for the first object, it wasn't going to be there the
next time I tried to find it either... This appeared to be the real
problem I had.

By the way, I was searching a (local) NT server with a 100Mb/s line, and
was still spending 3-4 seconds waiting for the init method to not be
found!

Phillip

wbiagiot@suffolk.lib.ny.us wrote:
> David et al.,
>
> Isn't a delta of 7 seconds an awful lot to pin on directory search time?
>
> - Bill B.
>
> -----------== Posted via Deja News, The Discussion Network ==----------
> http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
Re: 5.2 slower the 5.1??? [message #15122 is a reply to message #14964] Tue, 20 April 1999 00:00 Go to previous message
wbiagiot is currently offline  wbiagiot
Messages: 59
Registered: January 1999
Member
> Lisa Bryan (lbryanNOSPAM@arete-az.com) writes:
>
>> Thanks David!!! You're brilliant. RSI support couldn't give me this
>> answer, but it sure makes sense!
>

David et al.,

Isn't a delta of 7 seconds an awful lot to pin on directory search time?

- Bill B.

-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: IDL 4.0x compatibility
Next Topic: 2D velocity field

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 15:51:50 PDT 2025

Total time taken to generate the page: 0.00493 seconds