Diomidis Spinellis
91b7d6dc58
- Check and report write(2) errors.
...
- Issue a single writev(2) call instead of multiple write(2)s.
This change improves the inefficiencies introduced when echo
went on an stdio diet.
The following figures are for echoing 1000 arguments.
original stdio-based echo:
0.01 real 0.01 user 0.00 sys
before:
0.05 real 0.00 user 0.04 sys
after:
0.01 real 0.00 user 0.00 sys
2003-10-11 20:34:43 +00:00
..
2003-04-30 17:40:28 +00:00
2003-05-16 21:18:01 +00:00
2003-05-01 16:58:57 +00:00
2003-05-01 16:58:57 +00:00
2003-06-30 06:16:06 +00:00
2003-07-11 05:24:32 +00:00
2003-10-04 07:16:40 +00:00
2003-06-13 07:04:02 +00:00
2003-09-13 20:46:58 +00:00
2003-05-01 16:58:57 +00:00
2003-10-11 20:34:43 +00:00
2003-07-24 18:30:25 +00:00
2003-06-13 07:04:02 +00:00
2003-02-23 01:43:45 +00:00
2003-05-01 16:58:57 +00:00
2003-06-13 07:04:02 +00:00
2003-05-01 16:58:57 +00:00
2003-05-01 16:58:57 +00:00
2003-09-09 12:02:52 +00:00
2003-05-01 16:58:57 +00:00
2003-05-05 22:49:23 +00:00
2003-06-13 07:04:02 +00:00
2003-09-08 19:57:22 +00:00
2003-06-30 17:05:40 +00:00
2003-05-03 16:39:34 +00:00
2003-01-15 21:22:55 +00:00
2003-05-01 16:58:57 +00:00
2003-07-07 03:54:04 +00:00
2003-05-01 16:58:57 +00:00
2003-08-07 14:52:17 +00:00
2003-09-13 06:59:22 +00:00
2003-05-03 10:14:26 +00:00
2003-05-03 10:16:51 +00:00
2003-05-01 16:58:57 +00:00
2003-09-07 12:52:17 +00:00
2003-05-22 13:10:32 +00:00
2003-02-18 19:51:59 +00:00
2003-08-17 08:37:47 +00:00