-
Notifications
You must be signed in to change notification settings - Fork 34
Open
Description
Jemalloc statistics buys us per-thread aggregatable statistics with the downside of one additional requirement.
Should consider rolling our own interposition here (can be a separate product library), which may have slightly more performance impact, but will enable running benchmarks with malloc stats without adding the dependency (and works around problems with macOS xctest/Xcode usage of benchmarks).
We can base it off the work done here by the NIO team:
https://github.com/apple/swift-nio/tree/main/IntegrationTests/allocation-counter-tests-framework
But should expand it with statistics that covers the metrics we already support (e.g. small/large allocs etc).
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels