Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the DateTime-Format-Strptime CPAN distribution.

Report information
The Basics
Id: 114237
Status: resolved
Priority: 0/
Queue: DateTime-Format-Strptime

Owner: Nobody in particular
Requestors: KENTNL [...]

Bug Information
Severity: (no value)
Broken in: 1.68
Fixed in: 1.68

Subject: use of [ExtraTests] on this dist leads to lots of wasted CPU time in install

After seeing my computer spend more than 30 seconds running this test suite emitting nothing other than "SKIPPED" lines I decided to investigate.


I made a fork of the current CPAN release and nuked all the tests that actually ran :

so I could *just* test the skipped ones.


On my machine:


time prove --timer -lr t/  


Files=723, Tests=0, 64 wallclock secs ( 3.73 usr  2.84 sys + 37.89 cusr 10.97 csys = 55.43 CPU)

real   1m4.039s
user   0m41.861s
sys    0m13.860s
cpu    87.01%


And on Mithaldus much faster computer with an SSD .... but under windows *( which has a reputation for perl being a bit slow to start ):


Files=723, Tests=0, 52 wallclock secs ( 2.24 usr 1.83 sys + 21.36 cusr 22.19 csys = 47.61 CPU)
23.79user 24.17system 0:52.30elapsed 91%CPU (0avgtext+0avgdata 1012662272maxresident)k


These tests would very much be better off not re-written to t/ 



This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to