File tree Expand file tree Collapse file tree 1 file changed +26
-0
lines changed
Expand file tree Collapse file tree 1 file changed +26
-0
lines changed Original file line number Diff line number Diff line change 22
33All notable changes to the Go Memory Layout Visualizer extension will be documented in this file.
44
5+ ## [ 0.3.0] - 2025-12-03
6+
7+ ### Added
8+
9+ - ** Cache line visualization** : Shows which cache line (64-byte) each field occupies
10+ - ** Cache line crossing detection** : Warns when fields span multiple cache lines (performance issue)
11+ - ** Workspace memory analyzer** : New command ` Go: Analyze Workspace Memory Layout ` scans all Go files for optimization opportunities
12+ - ** Hot field detection** : Identifies fields that cross cache line boundaries (false sharing risk)
13+ - Cache line breakdown in memory layout view showing bytes used vs padding per line
14+ - New example file ` cache-lines.go ` demonstrating cache line issues
15+
16+ ### Enhanced
17+
18+ - Inline annotations now show cache line number for each field (e.g., ` [L0] ` , ` [L1] ` )
19+ - Fields crossing cache lines highlighted with distinct warning style
20+ - Hover tooltips explain cache line crossing performance implications
21+ - Memory layout panel includes cache line breakdown table
22+
23+ ### New Command
24+
25+ - ` Go: Analyze Workspace Memory Layout ` - Scans entire workspace for:
26+ - Structs with excessive padding
27+ - Optimization opportunities (bytes saveable)
28+ - Cache line boundary issues
29+ - Hot fields that may cause false sharing
30+
531## [ 0.2.2] - 2025-11-26
632
733### Security
You can’t perform that action at this time.
0 commit comments