go-zero/core
Changkun Ou 762af9dda2
optimize AtomicError (#82)
This commit optimize AtomicError using atomic.Value. Benchmarks:

name               old time/op  new time/op  delta
AtomicError/Load-6   305ns ±11%    12ns ± 6%  -96.18%  (p=0.000 n=10+10)
AtomicError/Set-6   314ns ±16%    14ns ± 2%  -95.61%  (p=0.000 n=10+9)
2020-09-18 22:45:01 +08:00
..
bloom update package reference 2020-08-08 16:40:10 +08:00
breaker add more tests 2020-09-16 20:03:30 +08:00
cmdline initial import 2020-07-26 17:09:05 +08:00
codec update package reference 2020-08-08 16:40:10 +08:00
collection make tests parallel 2020-08-21 23:15:45 +08:00
conf update package reference 2020-08-08 16:40:10 +08:00
contextx chore: fix typo 2020-08-16 22:32:56 +08:00
discov add etcd deploy yaml 2020-08-25 16:32:01 +08:00
errorx optimize AtomicError (#82) 2020-09-18 22:45:01 +08:00
executors chore: fix typo 2020-08-16 22:32:56 +08:00
filex reorg imports 2020-08-20 10:46:39 +08:00
fs update package reference 2020-08-08 16:40:10 +08:00
fx chore: fix typo 2020-08-16 22:32:56 +08:00
hash update package reference 2020-08-08 16:40:10 +08:00
iox update package reference 2020-08-08 16:40:10 +08:00
jsontype initial import 2020-07-26 17:09:05 +08:00
jsonx initial import 2020-07-26 17:09:05 +08:00
lang move lang.Must into logx.Must to make sure output fatal message as json 2020-08-14 15:08:06 +08:00
limit update package reference 2020-08-08 16:40:10 +08:00
load update package reference 2020-08-08 16:40:10 +08:00
logx add fatal to stderr 2020-08-25 16:59:14 +08:00
mapping update package reference 2020-08-08 16:40:10 +08:00
mathx update package reference 2020-08-08 16:40:10 +08:00
metric update package reference 2020-08-08 16:40:10 +08:00
mr add more tests 2020-09-16 20:03:30 +08:00
naming initial import 2020-07-26 17:09:05 +08:00
netx initial import 2020-07-26 17:09:05 +08:00
proc rename function 2020-09-14 21:13:19 +08:00
prof update package reference 2020-08-08 16:40:10 +08:00
prometheus update package reference 2020-08-08 16:40:10 +08:00
queue refactor names 2020-08-16 23:08:29 +08:00
rescue update package reference 2020-08-08 16:40:10 +08:00
search rename files 2020-08-12 15:03:07 +08:00
service update package reference 2020-08-08 16:40:10 +08:00
stat disable cpu stat in wsl linux 2020-08-27 13:22:44 +08:00
stores replace clickhouse driver to the official one 2020-09-03 16:58:31 +08:00
stringx fix golint warnings 2020-08-19 16:00:55 +08:00
syncx refactor compare versions 2020-08-10 14:53:01 +08:00
sysx move lang.Must into logx.Must to make sure output fatal message as json 2020-08-14 15:08:06 +08:00
threading update package reference 2020-08-08 16:40:10 +08:00
timex update package reference 2020-08-08 16:40:10 +08:00
trace update package reference 2020-08-08 16:40:10 +08:00
utils remove utils.Report 2020-08-17 18:05:56 +08:00