frostfs-api-go-pogpp/service
Evgeniy Kulikov 8d028100e9
service: Use sync pool for Sign/Verify request headers
```
// Before
BenchmarkSignRequestHeader-8   	     146	   8070375 ns/op	 4210607 B/op	      48 allocs/op
BenchmarkVerifyRequestHeader-8   	      14	  83058325 ns/op	42085955 B/op	    1601 allocs/op

// After
BenchmarkSignRequestHeader-8   	     156	   7709172 ns/op	   33902 B/op	      45 allocs/op
BenchmarkVerifyRequestHeader-8   	      15	  76910232 ns/op	   54368 B/op	    1563 allocs/op

// Summary:
benchmark                          old ns/op     new ns/op     delta
BenchmarkSignRequestHeader-8       8070375       7709172       -4.48%
BenchmarkVerifyRequestHeader-8     83058325      76910232      -7.40%

benchmark                          old allocs     new allocs     delta
BenchmarkSignRequestHeader-8       48             45             -6.25%
BenchmarkVerifyRequestHeader-8     1601           1563           -2.37%

benchmark                          old bytes     new bytes     delta
BenchmarkSignRequestHeader-8       4210607       33902         -99.19%
BenchmarkVerifyRequestHeader-8     42085955      54368         -99.87%
```
2019-12-20 17:14:51 +03:00
..
meta.go Merge pull request #21 from nspcc-dev/fix/get-status-error-even-if-it-is-wrapped 2019-11-26 14:20:05 +03:00
meta.pb.go proto: regenerate proto files 2019-11-21 16:16:39 +03:00
meta.proto docs: add doc comments for meta and verify proto files 2019-11-21 16:16:34 +03:00
meta_test.go service: test coverage for wrapped status errors 2019-11-26 14:09:23 +03:00
role.go initial 2019-11-18 16:34:06 +03:00
role_test.go Update develop branch 2019-11-21 13:10:57 +03:00
verify.go service: Use sync pool for Sign/Verify request headers 2019-12-20 17:14:51 +03:00
verify.pb.go proto: regenerate proto files 2019-11-21 16:16:39 +03:00
verify.proto docs: add doc comments for meta and verify proto files 2019-11-21 16:16:34 +03:00
verify_test.go service: Use sync pool for Sign/Verify request headers 2019-12-20 17:14:51 +03:00
verify_test.pb.go Fix issue with Sign/VerifyRequestHeader proto.Clone 2019-11-21 13:10:57 +03:00
verify_test.proto Fix issue with Sign/VerifyRequestHeader proto.Clone 2019-11-21 13:10:57 +03:00