pixelherodev commented on PR #556:
URL: https://github.com/apache/arrow-go/pull/556#issuecomment-3465950292

   There's a lot of variance in the run times for the existing benchmarks for 
me, but the before and after for allocations are consistent:
   
   ```bash
   # branch 'main'
   goos: linux
   goarch: amd64
   pkg: github.com/apache/arrow-go/v18/arrow/ipc
   cpu: AMD Ryzen 9 7900X3D 12-Core Processor          
   BenchmarkIPC/Writer/codec=plain-24            207901      5824 ns/op    8160 
B/op         91 allocs/op
   BenchmarkIPC/Reader/codec=plain-24            247482      4812 ns/op    6132 
B/op         83 allocs/op
   BenchmarkIPC/Writer/codec=zstd-24               3618    332506 ns/op 2338754 
B/op        150 allocs/op
   BenchmarkIPC/Reader/codec=zstd-24              40870     24626 ns/op   25887 
B/op        194 allocs/op
   BenchmarkIPC/Writer/codec=lz4-24              112738     10490 ns/op   12864 
B/op        134 allocs/op
   BenchmarkIPC/Reader/codec=lz4-24              133892      9154 ns/op   10115 
B/op        124 allocs/op
   
   
   # branch 'small-optimizations'
   BenchmarkIPC/Writer/codec=plain-24            168954      7469 ns/op    8160 
B/op         91 allocs/op
   BenchmarkIPC/Reader/codec=plain-24            259921      4970 ns/op    5993 
B/op         76 allocs/op
   BenchmarkIPC/Writer/codec=zstd-24               3633    327594 ns/op 2338740 
B/op        150 allocs/op
   BenchmarkIPC/Reader/codec=zstd-24              40442     26658 ns/op   25739 
B/op        187 allocs/op
   BenchmarkIPC/Writer/codec=lz4-24              113894     13151 ns/op   13098 
B/op        134 allocs/op
   BenchmarkIPC/Reader/codec=lz4-24              134320      8952 ns/op    9951 
B/op        117 allocs/op
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to