Skip to content

Datadir symlinks cache#520

Open
rus-alex wants to merge 5 commits intodevelopfrom
feature/datadir-simlinks-cache
Open

Datadir symlinks cache#520
rus-alex wants to merge 5 commits intodevelopfrom
feature/datadir-simlinks-cache

Conversation

@rus-alex
Copy link
Contributor

Datadir size measurement is ~7 times faster with cached filepath.EvalSymlinks().

Benchmark results (see ./cmd/opera/launcher/metrics/metrics_test.go) of 400Gb datadir:

ns per op bytes per op allocs per op
Before: 28363077808 13015784248 156690205
After: 4823172318 1477883992 11329437

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants