3 ms·
same here. All i/o libraries eventually hit OS barrier. I can't really see how it could be optimised to gain 6x speed up. I/O libraries are basically transporte
by m00dy 6y ago
same here. All i/o libraries eventually hit OS barrier. I can't really see how it could be optimised to gain 6x speed up. I/O libraries are basically transporters between userland and kernel space.
- vitaut 6y ago> All i/o libraries eventually hit OS barrier Indeed. > I can't really see how it could be optimised to gain 6x speed up. Performance claims appear to not even be based on I/O but only on two formatting microbenchmarks and are severely misleading https://news.ycombinator.com/item?id=23311726 https://news.ycombinator.com/item?id=23311726
- usefulcat 6y agoNot when formatting is involved. stdio and iostreams are notoriously not particularly fast when it comes to formatting. So, while I don't know anything about this particular library, the 6x figure does not sound suspicious to me. Source: have spent a fair amount of time working on speeding up human-readable log output, the performance of which tends to be dominated by formatting.