[go-nuts] Re: Performance degradation when reading STDIN to multiple buffers?

2023-03-09 Thread Kursk
March 2023 at 14:05:53 UTC Wojciech Kaczmarek wrote: > > Hey! > > May I ask, what would be the practical usage of 500x 1MB buffers? What > kind of problem are you solving? > > Best, > -W > niedziela, 5 marca 2023 o 22:13:57 UTC+1 Kursk napisaƂ(a): > >> Oh, intere

[go-nuts] Re: Performance degradation when reading STDIN to multiple buffers?

2023-03-05 Thread Kursk
Oh, interesting enough this performance degradation shows only in some Linux boxes (heavily optimised) from a LAB... I guess then this behaviour might be related to the specific Linux OS settings that those boxes have. On Sunday 5 March 2023 at 20:36:08 UTC Kursk wrote: > Hi, > I&#

[go-nuts] Performance degradation when reading STDIN to multiple buffers?

2023-03-05 Thread Kursk
Hi, I've been recently experimenting with system pipes performance using Go, trying to measure how fast I could read from STDIN to a buffer, then do something with it. During that experiment I noticed a significant throughput degradation when reading into the same buffer vs different (pre-alloc

[go-nuts] Achieving C/C++/Rust comparable performance with Golang

2022-12-14 Thread Kursk
Hi, Go is a high performant garbage collected language, (considered) memory safe programming language, and as such its performance may not be comparable with other languages such as C/C++/Rust under certain application scenarios. I was wondering, how much of the Go language could be stretched (