Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
request: use bufio.Reader and bufio.Writer
Before: ``` goos: linux goarch: amd64 pkg: github.com/thiagokokada/hyprland-go cpu: AMD Ryzen 7 PRO 4750U with Radeon Graphics BenchmarkSplash BenchmarkSplash-16 35851 34729 ns/op PASS ok github.com/thiagokokada/hyprland-go 1.595s`` ``` Bufio.Reader: ``` goos: linux goarch: amd64 pkg: github.com/thiagokokada/hyprland-go cpu: AMD Ryzen 7 PRO 4750U with Radeon Graphics BenchmarkSplash BenchmarkSplash-16 30976 38695 ns/op PASS ok github.com/thiagokokada/hyprland-go 1.604s ``` Bufio.Reader + Bufio.Writer: ``` goos: linux goarch: amd64 pkg: github.com/thiagokokada/hyprland-go cpu: AMD Ryzen 7 PRO 4750U with Radeon Graphics BenchmarkSplash BenchmarkSplash-16 29901 40494 ns/op PASS ok github.com/thiagokokada/hyprland-go 1.630s ```
- Loading branch information