package sms import ( // jsonorg "encoding/json" "testing" "time" // "github.com/json-iterator/go" ) func Test_PostJsonData(t *testing.T) { t.Log(time.Now().UnixNano()) // data := map[string]string{"11": "22", "33": "44", "55": "66"} var d []byte var err error org := `{"11":"22","33":"44","55":"66"} ` var org_old map[string]string for i := 0; i < 10000000; i++ { err = json.Unmarshal([]byte(org), &org_old) } t.Log(org_old) t.Log(string(d), err) t.Log(time.Now().UnixNano()) }