Author martin.panter
Recipients martin.panter, r.david.murray, tw.bert
Date 2016-08-22.01:31:20
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1471829480.7.0.447267921481.issue21826@psf.upfronthosting.co.za>
In-reply-to
Content
It looks like Bert’s patch adjusted two ldconfig calls; the first one was in a BSD-specific branch. Was this intended? Only the second call (default “else:” branch) seems applicable to AIX.

Perhaps the performance is improved now that the popen() shell calls have been replaced with more direct subprocess.Popen() calls; see revision a09ae70f3489 and Issue 22636. If the 300 ms slowdown was due to the shell, that should no longer be a problem.

But if the slowdown is say inherent in fork(), I am not sure it is worth adding the proposed os.path.exists() check. Either try a way of spawning a child process without fork(), like Issue 20104. Or avoid calling find_library() in the first place, like I suggested at <https://bugs.python.org/issue11063#msg264151>.
History
Date User Action Args
2016-08-22 01:31:20martin.pantersetrecipients: + martin.panter, r.david.murray, tw.bert
2016-08-22 01:31:20martin.pantersetmessageid: <1471829480.7.0.447267921481.issue21826@psf.upfronthosting.co.za>
2016-08-22 01:31:20martin.panterlinkissue21826 messages
2016-08-22 01:31:20martin.pantercreate