Skip Menu |

This queue is for tickets about the DBM-Deep CPAN distribution.

Report information
The Basics
Id: 83789
Status: open
Priority: 0/
Queue: DBM-Deep

People
Owner: Nobody in particular
Requestors: NEILB [...] cpan.org
Cc:
AdminCc:

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



Subject: Some of the slow tests are taking 15+ minutes
I've installed DBM::Deep on a number of machines, and generally the tests that say "can take up to several minutes to run" have run in under a minute. I'm installing perl on a dedicated server, and everything thus far has been noticeably faster. But some of the 'slow tests' are taking 15+ minutes, which is surprising, and worrying for my app. This is 64-bit Linux, Perl 5.16.2. Any thoughts on why this is, and are there any options for addressing whatever the problem is? Happy to dig in to the code, with some direction. Cheers, Neil
05_bigarray.t was taking even longer, so I ended up killing the install.
On Wed Mar 06 10:54:17 2013, NEILB wrote: Show quoted text
> I've installed DBM::Deep on a number of machines, and generally the > tests that say "can take > up to several minutes to run" have run in under a minute. > > I'm installing perl on a dedicated server, and everything thus far has > been noticeably faster. > > But some of the 'slow tests' are taking 15+ minutes, which is > surprising, and worrying for my > app. > > This is 64-bit Linux, Perl 5.16.2. > > Any thoughts on why this is, and are there any options for addressing > whatever the problem > is? Happy to dig in to the code, with some direction.
The slow tests are slow because they hit disk quite a bit. One of them, for example, builds a 1000-level hash. A few things to try: 1. Do you notice a similar slowdown on the same machine, but with 5.14 or 5.12? 2. Can you run the tests with TMPDIR on a ramdisk and see if that speeds things up?