[Koha-bugs] [Bug 18055] Speed up '00-strict.t' test
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed May 10 15:12:08 CEST 2017
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18055
Josef Moravec <josef.moravec at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #59902|0 |1
is obsolete| |
--- Comment #24 from Josef Moravec <josef.moravec at gmail.com> ---
Created attachment 63341
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=63341&action=edit
[SIGNED-OFF] Bug 18055 - Speed up '00-strict.t' test, with
Parallel::ForkManager
to test...
1/ run 00-strict.t test, (16.5 mins on a 4xcpu system)
$ time prove t/db_dependent/00-strict.t
...
Files=1, Tests=654, 994 wallclock secs ( 0.19 usr 0.04 sys + 873.40 cusr
116.20 csys = 989.83 CPU)
Result: PASS
real 16m34.104s
2/ apply patch
3/ install Parallel::ForkManager package
$ sudo apt-get install libparallel-forkmanager-perl libsys-cpu-perl
4/ run 00-strict.t test again, (now 6 mins.. much faster)
$ time prove t/db_dependent/00-strict.t
...
Files=1, Tests=654, 364 wallclock secs ( 0.07 usr 0.01 sys + 1159.20 cusr
153.41 csys = 1312.69 CPU)
Result: PASS
real 6m4.355s
Signed-off-by: Josef Moravec <josef.moravec at gmail.com>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list