svn commit: r319897 - head/usr.bin/yes

Bryan Drewery bdrewery at FreeBSD.org
Wed Jun 14 14:28:10 UTC 2017


On 6/14/2017 7:26 AM, Justin Hibbits wrote:
> On Wed, Jun 14, 2017 at 9:19 AM, Bryan Drewery <bdrewery at freebsd.org> wrote:
>> On 6/13/2017 5:35 AM, Pietro Cerutti wrote:
>>> Author: gahr (ports committer)
>>> Date: Tue Jun 13 12:35:01 2017
>>> New Revision: 319897
>>> URL: https://svnweb.freebsd.org/changeset/base/319897
>>>
>>> Log:
>>>   Improve yes' throughput
>>>
>>>   On my system, this brings up the throughput from ~20 to ~600 MiB/s.
>>>
>>>   Inspired by: https://www.reddit.com/r/unix/comments/6gxduc/how_is_gnu_yes_so_fast/
>>>
>>>   Reviewed by:        cognet
>>>   Approved by:        cognet
>>>
>>> Modified:
>>>   head/usr.bin/yes/yes.c
>>
>>
>> While here we should add libxo support.
>>
>> --
>> Regards,
>> Bryan Drewery
>>
> 
> I think before we add libxo, we need to capsicumize it.  After all, it
> does accept arbitrary arguments.

The code has become more complex.  I think capsicum does make sense now
in case there is an unseen overflow in the new optimized code.


-- 
Regards,
Bryan Drewery

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/svn-src-all/attachments/20170614/db519951/attachment.sig>


More information about the svn-src-all mailing list