[go-nuts] Re: Decode XML performance in golang

2017-02-09 Thread Egon
This gets you https://play.golang.org/p/J8hFZyyFF8 about 25% perf boost: BenchmarkDecode-8 3 43268 ns/op BenchmarkUnmarshal-8 3 43195 ns/op BenchmarkManual-8 5 30216 ns/op Also, Decode/Unmarshal seem pretty equal. If you don

[go-nuts] Re: Decode XML performance in golang

2017-02-09 Thread Tong Sun
Bump. I'm interested to know as well. On Wednesday, February 8, 2017 at 12:22:35 AM UTC-5, emarti...@gmail.com wrote: > > Hello, > > I'm making a go code which is basically parsing a lot of small xml > responses. I've noticed that right after I enable the parsing code, my R/S > as per wrk, as