Skip to content

Commit 7b9acc1

Browse files
committed
update changelog for v0.3.0
1 parent 964eb30 commit 7b9acc1

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

CHANGELOG.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,32 @@
22

33
All 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

0 commit comments

Comments
 (0)