On 18.06.2018 11:06, Ladislav Slezak wrote:
Short version:
Install the latest ruby2.5-rubygem-parallel_tests ruby2.5-rubygem-parallel_tests
packages from YaST:Head OBS and enjoy lightning fast "rake test:unit"
in yast2-storage-ng:-)
Test results:
rake test:unit in yast-storage-ng took 22:30 (yes, 22 min 30 sec!) on my
machine before that.
Using parallel tests reduced this to 4:50. The code and the tests were
running on a local XFS filesystem, not on NFS.
Moving the y2log from my NFS home to that local XFS reduced it to 0:37 (!!).
Redirecting the y2log to /dev/null reduced it to 0:31 (!!).
This is as simple as
export Y2LOG_FILE=/dev/null
rake test:unit
or, for just that one call,
Y2LOG_FILE=/dev/null rake test:unit
This is really worthwhile.
Kind regards
--
Stefan Hundhammer <[email protected]>
YaST Developer
SUSE Linux GmbH
GF: Felix Imendörffer, Jane Smithard, Graham Norton; HRB 21284 (AG Nürnberg)
Maxfeldstr. 5, 90409 Nürnberg, Germany
--
To unsubscribe, e-mail: [email protected]
To contact the owner, e-mail: [email protected]