The idea is that kyua now uses wait6() to collect wrusage per test and save it into a file, after full run of kyua test command. Next time, having such test profile on the disk (usually beneath ~/.kyua/profiles/) it can schedule testing in a special way based on the facts from the profile. To apply such special scheduling Kyua must be run with a newly added configuration parameter (-v execplan=time).
Obviously, it does not provide magic multiple times speedup, it seems to potentially provide -10-20% of runtime or so. But the idea is that running many iterations is expected to bring a cumulative improvement in the total runtime.
The first run is the usual one to generate a profile:
/usr/tests> time -h kyua -v parallelism=N -v execplan=time test
From the 2nd run , having the profile, it should schedule the tests differently:
/usr/tests> time -h kyua -v parallelism=N -v execplan=time test