Re: Net::LDAP performance problems

2005-09-26 Thread Joel Noble
On Mon, Sep 26, 2005 at 01:14:41PM -0600, Joel Noble wrote: > p.s. - I experimented with using the 'ldapsearch' binary command-line [...] Oops, sorry -- I duplicated that paragraph while editing. Joel Noble [EMAIL PROTECTED]

Re: Net::LDAP performance problems

2005-09-26 Thread Joel Noble
Hello, I have been using Net::LDAPS successfully on a project to create a web interface to an internal LDAP employee directory. The site is in an Apache mod-perl environment, with one web page view potentially causing several LDAP searches. (If more than one record is returned, I show a lis

Re: Net::LDAP performance problems

2005-09-06 Thread Chris Ridd
On 6/9/05 7:51, Sagar Shah <[EMAIL PROTECTED]> wrote: > Certainly. Please see the attached. Hopefully what I've said is a fair > summary, no doubt various people will view the issue in different ways. > Couldn't figure out what the standard wrapping width was looked like > there were inconsistenci

Re: Net::LDAP performance problems

2005-09-06 Thread Sagar Shah
On Fri, 2005-09-02 at 20:51 -0500, Graham Barr wrote: > > Are you pretty certain that pure-perl optimisations/changes cannot > > get a > > comparible speedup? > > Certain. That's good enough for me. Thanks for confirming. > > If you are then fair enough - but perhaps the Net::LDAP FAQ should

Re: Net::LDAP performance problems

2005-09-02 Thread Graham Barr
On Sep 1, 2005, at 08:28 AM, Sagar R. Shah wrote: Why does it 'make sense' to deviate from pure perl? I'm not disputing that doing it in C would probably be faster, but you seem to be implying that there are not enough pure perl optimisations that can be done to get a comprarable speed-up.

Re: Net::LDAP performance problems

2005-09-02 Thread Chris Ridd
On 31/8/05 3:08, Sagar R. Shah <[EMAIL PROTECTED]> wrote: > Hi Graham, > > I'm trying to bring a large Perl application out of the dark ages and as > part of this need to migrate from the existing Perl LDAP module (Ldapp - > based on Ldapc) to Net::LDAP. > > What I've found though is that the pe

Re: Net::LDAP performance problems

2005-09-02 Thread Mike Jackson
ext Sagar R. Shah ([EMAIL PROTECTED]) wrote: > > Why does it 'make sense' to deviate from pure perl? I'm not disputing that > doing it in C would probably be faster, but you seem to be implying that > there are not enough pure perl optimisations that can be done to get a > comprarable speed-up. L

Re: Net::LDAP performance problems

2005-09-01 Thread Sagar R. Shah
> ext Sagar R. Shah ([EMAIL PROTECTED]) wrote: >> >> I decided to investigate further and profiled a script that obtained all >> the LDAP attributes for a specific userid 500 times. Here's the profiler >> output: >> >> $ dprofpp tmon.out >> Total Elapsed Time = 27.01739 Seconds >> User+System Tim

Re: Net::LDAP performance problems

2005-09-01 Thread Mike Jackson
ext Sagar R. Shah ([EMAIL PROTECTED]) wrote: > > I decided to investigate further and profiled a script that obtained all > the LDAP attributes for a specific userid 500 times. Here's the profiler > output: > > $ dprofpp tmon.out > Total Elapsed Time = 27.01739 Seconds > User+System Time = 20.4

Net::LDAP performance problems

2005-08-31 Thread Sagar R. Shah
Hi Graham, I'm trying to bring a large Perl application out of the dark ages and as part of this need to migrate from the existing Perl LDAP module (Ldapp - based on Ldapc) to Net::LDAP. What I've found though is that the performance of Net::LDAP is around seven times worse than the old solution