Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Devel-PPPort CPAN distribution.

Report information
The Basics
Id: 80314
Status: resolved
Priority: 0/
Queue: Devel-PPPort

People
Owner: MHX [...] cpan.org
Requestors: BULKDD [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 3.20
Fixed in: (no value)



Subject: Devel-PPPort needs to use PERL_NO_GET_CONTEXT for its XS library
Looking at the Devel::PPPort included with Perl 5.17, on a Win32 Perl, I see about 3000 calls to Perl_get_context inside PPPort.dll. Devel::PPPort needs to use PERL_NO_GET_CONTEXT to avoid all these redundant calls. PPPort.dll is the 9th largest XS DLL I see included with Perl on my system.
On Sun Oct 21 04:54:45 2012, BULKDD wrote: Show quoted text
> Looking at the Devel::PPPort included with Perl 5.17, on a Win32 Perl, I > see about 3000 calls to Perl_get_context inside PPPort.dll. > Devel::PPPort needs to use PERL_NO_GET_CONTEXT to avoid all these > redundant calls. PPPort.dll is the 9th largest XS DLL I see included > with Perl on my system.
Sorry for the late reply. This isn't actually a real problem as the XS part of D::PPP is only being used for testing. Yes, it's being loaded if you load D::PPP, but you only do that to generate ppport.h. So it's a non-issue, apart from the size the DLL wastes on your disk. You can actually build D::PPP with PERL_NO_GET_CONTEXT if you set PERL_NO_GET_CONTEXT=1 in your environment. I'll consider making that the default if it doesn't cause any trouble. Marcus
On Fri Jul 19 16:54:34 2013, MHX wrote: Show quoted text
> On Sun Oct 21 04:54:45 2012, BULKDD wrote:
> > Looking at the Devel::PPPort included with Perl 5.17, on a Win32 Perl, I > > see about 3000 calls to Perl_get_context inside PPPort.dll. > > Devel::PPPort needs to use PERL_NO_GET_CONTEXT to avoid all these > > redundant calls. PPPort.dll is the 9th largest XS DLL I see included > > with Perl on my system.
> > Sorry for the late reply. This isn't actually a real problem > as the XS part of D::PPP is only being used for testing. Yes, > it's being loaded if you load D::PPP, but you only do that to > generate ppport.h. So it's a non-issue, apart from the size > the DLL wastes on your disk. You can actually build D::PPP > with PERL_NO_GET_CONTEXT if you set PERL_NO_GET_CONTEXT=1 in > your environment. I'll consider making that the default if it > doesn't cause any trouble. > > Marcus
I've just released Devel::PPPort 3.21 to CPAN, which sets PERL_NO_GET_CONTEXT by default. Marcus