modern-go / reflect2

reflect api without runtime reflect.Value cost
Apache License 2.0
758 stars 73 forks source link

The performance is getting much worse since upgrade from go 1.19 to go 1.22 #31

Open vrealzhou opened 1 month ago

vrealzhou commented 1 month ago

Just upgraded from go 1.19 to go 1.22 and found the performance is much worse in production (5+ times slower). It affects the json-iterator lib and some of our codes depend on reflect2. Has anyone experienced the same issue?