| Author |
Message |
John E. Malmberg *nix forums Guru Wannabe
Joined: 30 May 2005
Posts: 264
|
Posted: Mon Apr 03, 2006 11:39 am Post subject:
[patch@27694] VMS RMSEXPAND/PERL_CANDO fixes
|
|
|
This patch updates vms.c and vmsish.h:
In vmsish.h, add a new flag for RMSEXPAND to tell it not to do the
initial vmsify() step when it is not needed.
The ODS-2 only variant of the RMSEXPAND was missing some of the fixes
needed for using it to completely replace vmsify() for internal use
where the output needs to fit in 256 characters.
Perl_cando_by_name() was also calling vmsify() or rmsexpand() sometimes
on filenames that were already in the proper VMS format.
Removing the redundant or unneeded calls to vmsify() results on in the 6
minute reduction in the time needed to run the Perl test suite on my
system. The CPU time reduction can not easily be calculated because it
does not include subprocesses.
EAGLE> search thread.log; " time"
Elapsed CPU time: 0 00:02:18.80
Connect time: 0 01:15:17.85
EAGLE> search thread.log;-1 " time"
Elapsed CPU time: 0 00:02:20.64
Connect time: 0 01:21:26.60
-John
wb8tyw@qsl.net
Personal Opinion Only |
|
| Back to top |
|
 |
John E. Malmberg *nix forums Guru Wannabe
Joined: 30 May 2005
Posts: 264
|
Posted: Thu Apr 06, 2006 11:41 pm Post subject:
Re: [patch@27694] VMS RMSEXPAND/PERL_CANDO fixes
|
|
|
John E. Malmberg wrote:
| Quote: | This patch updates vms.c and vmsish.h:
In vmsish.h, add a new flag for RMSEXPAND to tell it not to do the
initial vmsify() step when it is not needed.
The ODS-2 only variant of the RMSEXPAND was missing some of the fixes
needed for using it to completely replace vmsify() for internal use
where the output needs to fit in 256 characters.
Perl_cando_by_name() was also calling vmsify() or rmsexpand() sometimes
on filenames that were already in the proper VMS format.
Removing the redundant or unneeded calls to vmsify() results on in the 6
minute reduction in the time needed to run the Perl test suite on my
system. The CPU time reduction can not easily be calculated because it
does not include subprocesses.
EAGLE> search thread.log; " time"
Elapsed CPU time: 0 00:02:18.80
Connect time: 0 01:15:17.85
EAGLE> search thread.log;-1 " time"
Elapsed CPU time: 0 00:02:20.64
Connect time: 0 01:21:26.60
|
Any progress on this patch?
-John |
|
| Back to top |
|
 |
Craig A. Berry *nix forums Guru Wannabe
Joined: 27 May 2005
Posts: 143
|
Posted: Fri Apr 07, 2006 3:06 am Post subject:
Re: [patch@27694] VMS RMSEXPAND/PERL_CANDO fixes
|
|
|
At 7:41 PM -0400 4/6/06, John E. Malmberg wrote:
| Quote: | Any progress on this patch?
|
Sorry to disappear for a couple days. I just checked it in as #27733.
--
________________________________________
Craig A. Berry
mailto:craigberry@mac.com
"... getting out of a sonnet is much more
difficult than getting in."
Brad Leithauser |
|
| Back to top |
|
 |
Google
|
|
| Back to top |
|
 |
|