microsoft / microsoft/SPTAG

lshaz: a possibly useful static optimization analysis tool?

Open
#445 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
5k
Forks
622
Avg merge
8h 37m
Merged PRs (30d)
5

Description

I’ve come across this tool: GitHub - abokhalill/lshaz: Find the microarchitectural performance bugs hiding in your C++ code · GitHub

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.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Review lshaz's linked CI integration documentation and SPTAG's existing GitHub workflow files. Determine whether the tool supports this repository's C++ targets and supported architectures, then define the intended pull-request check and its success criteria; the issue does not name a specific file or test.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, github-actions
Domain
ci-cd, tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.