flaticols/Cache Line Optimizer
Go static analyzer for cache line optimization - detects structs that benefit from padding
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| path | Path to analyze (default: ./...) | no | ./... |
| cache-line-size | Cache line size: auto, 64, or 128 | no | auto |
| analyze-all | Analyze all structs, not just hot paths | no | false |
| pprof | Path to CPU/memory profile for hot path detection | no | "" |
| ignore | Comma-separated patterns to ignore | no | "" |
| output | Output format: text or json | no | text |
| version | Version of pleasehitcache to use (default: latest) | no | latest |
Outputs
| name | description |
|---|---|
| findings-count | Number of structs needing optimization found |
| exit-code | Exit code from the analyzer (0 if successful) |
| version | Version of pleasehitcache used |