5.2 slower the 5.1??? [message #14964] |
Thu, 08 April 1999 00:00  |
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  |
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  |
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
|
|
|
|