cubefs/blobstore/common
slasher ec6ee4a793 perf(trace): cache span to reduce allocation in span tracking
Benchmark_Span_Pool
Benchmark_Span_Pool/nocache
Benchmark_Span_Pool/nocache-4  506971  6923 ns/op  1520 B/op  32 allocs/op
-->
Benchmark_Span_Pool
Benchmark_Span_Pool/cached
Benchmark_Span_Pool/cached-4   732175  1585 ns/op  654 B/op  16 allocs/op
Benchmark_Span_Pool/nocache
Benchmark_Span_Pool/nocache-4  688984  3551 ns/op 1582 B/op  23 allocs/op

Benchmark_Span_TrackLog
Benchmark_Span_TrackLog/duration-any
Benchmark_Span_TrackLog/duration-any-4    16785505  70.35 ns/op  0 B/op  0 allocs/op
Benchmark_Span_TrackLog/duration-second
Benchmark_Span_TrackLog/duration-second-4 18425104  64.40 ns/op  0 B/op  0 allocs/op
Benchmark_Span_TrackLog/duration-error
Benchmark_Span_TrackLog/duration-error-4  17530114  65.82 ns/op  0 B/op  0 allocs/op

. #23135507

Signed-off-by: slasher <shenjie1@oppo.com>
2025-10-13 15:29:33 +08:00
..
codemode feat(common): add extend codemode 2025-10-13 15:29:33 +08:00
config chore(util): rename deprecated ioutil 2024-04-25 10:27:27 +08:00
consul chore(style): fix up semgrep for ip v4 and v6 2025-02-19 10:05:11 +08:00
counter build: add blobstore module access 2022-10-12 10:21:39 +08:00
crc32block feat(util): alignment size's head and padding tail 2025-10-13 15:29:33 +08:00
diskutil chore(test): change assert to require 2022-10-12 10:21:39 +08:00
ec chore(blobstore): format code with new gofumt 2024-07-19 09:42:11 +08:00
errors feat(clustermgr): lock unlock volume support epoch 2025-10-13 15:29:33 +08:00
fileutil chore(util): rename deprecated ioutil 2024-04-25 10:27:27 +08:00
iostat refactor(blobnode): limit disk concurrency, ctx cancel read write 2025-07-08 11:30:12 +08:00
kafka fix(common): correct kafka monitor error log for blobstore 2025-09-19 15:22:05 +08:00
kvstore refactor(tools): drop disk stat, open rocksdb read only without depend on LOCK 2025-07-08 11:30:14 +08:00
kvstorev2 feat(util): alignment size's head and padding tail 2025-10-13 15:29:33 +08:00
memcache refactor(common): refactor memcache with lru 2023-03-21 10:30:28 +08:00
profile feat(rpc2): add intercepor of auth 2025-07-08 11:30:13 +08:00
proto feat(common): add extend codemode 2025-10-13 15:29:33 +08:00
raft chore(testing): move mock files to testing all 2025-10-13 15:29:33 +08:00
raftserver refactor(fmt): use gofumpt to format code. #1000063488 2025-08-08 14:59:27 +08:00
recordlog refactor(all): reslove merge conflicts between 3.3.x and 3.4.0. 2024-07-18 16:57:38 +08:00
resourcepool chore(blobstore): format code with new gofumt 2024-07-19 09:42:11 +08:00
rpc fix(rpc2): write limited body to reader 2025-10-13 15:29:33 +08:00
rpc2 pref(rpc2): _gc_ reuse objects in rpc2 2025-10-13 15:29:33 +08:00
security fix(access): remove token if last slice only has one blob 2025-07-08 11:30:16 +08:00
sharding fix(bssdk): get blob fill crc, shard keys fix panic, shard not 2025-07-08 11:30:14 +08:00
taskswitch chore(util): add default of switch, update err judgment 2024-07-29 15:13:21 +08:00
tcmalloc feat(util): alignment size's head and padding tail 2025-10-13 15:29:33 +08:00
trace perf(trace): cache span to reduce allocation in span tracking 2025-10-13 15:29:33 +08:00