boostorg / boostorg/boost

Usefulness of lshaz to boost?

Open
#1,132 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
HTML
Stars
8.6k
Forks
1.9k
Avg merge
39m
Merged PRs (30d)
2

Description

I’ve come across this tool: [GitHub - abokhalill/lshaz: Find the microarchitectural performance bugs hiding in your C++ code · GitHub](https://github.com/abokhalill/lshaz#ci-integration)

It claims to detect latency hazards at compile-time: struct layouts that span cache lines, atomics that trigger cross-core invalidation storms, heap allocations in hot loops, virtual dispatch that defeats branch prediction, etc.

Granted, it seems oriented towards x64, but it claims to also support arm64. In addition, it has GH workflow files to run this tool on PRs.

I'm certain that its usefulness will vary across the subproject's maintainers, so feel free to chime in.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.