Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • I may have missed a point where you said you couldn't do this, and if so, I apologize, but: can you wrap every test file in a transaction and then rollback after each test? That's the best speedup I've found for this kind of thing.
    • That works for successful cases, because begin/commit nest properly. But begin/rollback doesn't. Rollback rolls back everything.

      There's a hack/workaround for that though. It's possible to implement properly nested transactions using savepoints. I think I'll do that at some point on a gold-card day.