I don't think that's going to be portable. If you're worried that stats will be lost in the noise, I'd be more inclined to see it written to the status file or to a separate (new) stats file.
On Mon, Oct 26, 2015 at 9:59 PM, Alceu R. de Freitas Jr. < glasswal...@yahoo.com.br> wrote: > Since there is a lot of output going on meanwhile the tests are running, > what do you think about adding a signal handler to a signal like USR1, > print the statistics to STDOUT or STDERR and go back to whatever it was > doing? > > Regards, > > Alceu > > ------------------------------ > *De:* David Golden <x...@xdg.me> > *Para:* Alceu R. de Freitas Jr. <glasswal...@yahoo.com.br> > *Cc:* CPAN Testers Discuss <cpan-testers-discuss@perl.org> > *Enviadas:* Segunda-feira, 26 de Outubro de 2015 11:48 > *Assunto:* Re: smoker speed and statistics > > Hi. The CPAN::Reporter::Smoker repository is here: > https://github.com/cpan-testers/CPAN-Reporter-Smoker > > I'm open to a pull request to output better statistics. > > > > On Sun, Oct 25, 2015 at 9:59 PM, Alceu R. de Freitas Jr. < > glasswal...@yahoo.com.br> wrote: > > Hello there, > > I've setup a smoker test on OpenBSD and noticed that it's somehow slower > than running a Smoker on Linux using the same VM configuration (I use > Virtualbox). > > Not sure if Linux can take some advantages when using Virtualbox that > OpenBSD can't (at least I know that Guest Additions is not available to the > latter, but that shouldn't have a impact on performance anyway). The real > problem is that I can't tell how much slower OpenBSD is for > CPAN::Reporter::Smoker compared to Linux. Of course that are a lot of > others things involved (kernel configuration, difference of filesystem) but > I couldn't find any easier way to compare speed between the two. > > Is it possible to implement the features below on CPAN::Reporter::Smoker? > > - How many distributions tested > - How many yet to test > - Calculate how many distros per unit (minutes, hour, etc) > > I didn't configure the smoker to skip some known problematic > distributions, but I already caught the smoker sitting idle waiting for > output of make. This is something that I already experimented (a lot) with > Windows, but I think this is OK since IPC is problematic anyway on that OS. > But I'm surprise to see it happening with OpenBSD. > > In time: I'm using OpenBSD 5.7 with Perl 5.22.0 (compiled with Perlbrew) > with noatime and softdep configured on FFS ( > http://www.openbsd.org/faq/faq14.html#DiskOpt). For some reason, > compiling Perl with Perlbrew on OpenBSD 5.8 is not working (it fails with > crypt.t and taint.t tests), but I didn't tried compiling it manually either. > > Regards, > > Alceu > > > > > -- > David Golden <x...@xdg.me> Twitter/IRC/Github: @xdg > > > -- David Golden <x...@xdg.me> Twitter/IRC/Github: @xdg