T
traeai
登录
返回首页
The JetBrains Blog

The GoLand 2026.2 Early Access Program Has Started

7.5Score
The GoLand 2026.2 Early Access Program Has Started

TL;DR · AI 摘要

GoLand 2026.2 EAP 开始,提供性能分析工具和内存优化功能,开发者可提前测试新特性并反馈。

核心要点

  • GoLand 2026.2 EAP 提供性能分析工具和内存优化功能
  • EAP 允许开发者免费测试新功能并提交反馈
  • 新增 Go 性能优化工具窗口整合 profiling、escape analysis 等功能

结构提纲

按章节快速跳转。

  1. GoLand 2026.2 EAP 已开启,开发者可提前体验新功能。

  2. EAP 提供早期访问功能,允许开发者测试新特性并提交反馈。

  3. EAP 构建在开发周期中定期发布,可能不稳定但免费。

  4. 本次更新聚焦性能洞察、内存优化和项目导入流程改进。

  5. 新增 Go 性能优化工具窗口整合 profiling、escape analysis 等功能。

  6. 支持 pprof 集成,提供 CPU、Heap、Goroutine 等多种分析类型。

思维导图

用一张图看清主题之间的关系。

查看大纲文本(无障碍 / 无 JS 友好)
  • GoLand 2026.2 EAP 新功能
    • EAP 机制
      • 早期访问功能
      • 定期发布构建
      • 免费试用
    • 新功能重点
      • 性能洞察
      • 内存优化
      • 项目导入改进
    • 性能分析工具
      • Go 性能优化工具窗口
      • pprof 集成
      • 多种分析类型(CPU、Heap、Goroutine)

金句 / Highlights

值得收藏与分享的关键句。

  • EAP 允许开发者免费测试新功能并提交反馈,直接影响最终版本内容。

    第 2 段

    ⬇︎ 下载 PNG𝕏 分享到 X
  • 新增 Go 性能优化工具窗口整合 profiling、escape analysis 等功能,提升开发效率。

    第 4 段

    ⬇︎ 下载 PNG𝕏 分享到 X
  • 支持 pprof 集成,提供 CPU、Heap、Goroutine 等多种分析类型,帮助开发者优化程序性能。

    第 5 段

    ⬇︎ 下载 PNG𝕏 分享到 X
#Go#IDE#JetBrains
打开原文

GoLand

The GoLand 2026.2 Early Access Program Has Started

Image 1: Artem Pronichev

May 11, 2026

The Early Access Program (EAP) for GoLand 2026.2 is now open. It’s a great opportunity to try upcoming features for free and help shape the product.

EAP builds give you early access to what we’re working on, so you can test new functionality in your real workflows and share feedback with the GoLand team. Your input directly influences what makes it into the final release.

If you are new to the EAP, here is how it works:

  • The EAP allows you to try new features before the final release.
  • New EAP builds are released regularly during the cycle.
  • Builds are still in development and may be unstable.
  • Builds are free for the whole EAP cycle until Beta.
  • Your feedback helps us improve the product.
  • During the EAP, we will also share a survey. Participating gives you a chance to receive a free GoLand subscription or an Amazon Gift Card.

In this release cycle, we’re focusing on performance insights, memory optimization, and smoother project onboarding. The goal is simple. You should be able to understand your Go program’s behavior and optimize its performance without leaving the IDE.

You can download the first EAP build from the Toolbox App, from our website, or by updating from inside the IDE.

Download GoLand 2026.2 EAP

**Disclaimer**

We continue to work on performance tooling, analysis accuracy, and workflow improvements throughout the EAP cycle.

You can explore the full list of tasks and features we are currently working on in our roadmap.

This roadmap reflects our current priorities. Plans can change as we collect feedback and validate ideas during the EAP.

**What we’re planning for GoLand 2026.2**

This EAP cycle introduces a new set of tools for performance analysis and several improvements to everyday workflows.

**Get insight into performance without leaving the IDE**

**Evaluate your program from the****_Go Performance Optimization_****tool window**

You can now access all performance tools in one place. The new _Go Performance Optimization_ tool window brings together profiling, escape analysis, and struct optimization.

You no longer need to switch between different tools or workflows. You can analyze CPU usage, memory behavior, and allocation patterns from a single UI.

Image 2

**Profile any Go application with****pprof**

You can now run profiling for both tests and regular run configurations.

The profiler is based on pprof and integrates directly into the IDE. It helps you answer key questions about your program:

  • Where does the program spend CPU time?
  • How much memory does it allocate and retain?
  • Which parts of the code create excessive allocations?
  • What goroutines are running and where are they blocked?
Image 3

A variety of profiling types are included:

  • The _CPU_ profiler shows where your program spends CPU time during active execution. It samples running goroutines and helps you find CPU-intensive code paths.
  • The _Heap_ and _Allocs_ profilers track memory usage and allocation patterns. Both collect the same allocation data but use different default views. The _Heap_ profile shows memory that is currently in use, while the _Allocs_ profile shows total memory allocated over time, including memory that has already been freed.
  • The _Goroutine_ profiler shows all current goroutines and their stack traces. It helps you understand what goroutines are doing and identify issues such as leaks or deadlocks.
  • The _Block_ profiler shows where goroutines are blocked by synchronization operations, such as channel operations or locks. It helps you find delays caused by code that is waiting instead of being executed.
  • The _Mutex_ profiler shows lock contention between goroutines. It helps you identify where goroutines block each other when accessing shared data.

There are a few ways to start profiling:

**Detect unnecessary heap allocations with escape analysis**

Escape analysis helps you understand when values move from the stack to the heap.

A stack allocation is fast and short-lived. A heap allocation is slower and requires garbage collection. When values escape to the heap unnecessarily, they increase memory usage and reduce performance.

GoLand highlights these cases directly in the editor. You can see:

  • Which variables escape.
  • Why they escape.
  • How the data flows through your code.
Image 4

**Optimize struct layouts for better memory usage**

GoLand now helps you improve the layout of your structs, allowing you to conserve memory.

Image 5

In Go, field order affects memory alignment. Poor alignment introduces padding and increases the size of a struct.

For example:

type Inefficient struct { A byte  // 1 byte B int32 // 4 bytes C byte  // 1 byte } The struct is laid out in memory as follows. Field A occupies 1 byte. The next 3 bytes are padding to align field B to a 4-byte boundary. Field B then occupies 4 bytes, while field C occupies 1 byte. After that, another 3 bytes of padding are added so that the total struct size matches the largest alignment requirement. As a result, the struct takes 12 bytes in total, even though the fields themselves require only 6 bytes.

The optimal layout of fields in the struct goes as follows:

type Efficient struct { B int32 // 4 bytes A byte  // 1 byte C byte  // 1 byte } GoLand detects suboptimal layouts and suggests a quick-fix. This helps you reduce the memory footprint without changing program behavior.

**See CPU and memory usage in real time**

You can now monitor CPU and memory usage while your program runs.

Image 6

Live charts are available in:

  • The _Run_ tool window.
  • The _Go Performance Optimization_ tool window.

This gives you immediate feedback. You can see how changes in code affect resource usage without running a full profiling session.

**Start projects faster with automatic run/debug configurations**

GoLand can now detect main packages in your project and create run/debug configurations automatically.

When you open a project, the IDE:

  • Scans for executable entry points.
  • Creates run configurations, reducing manual setup.

Your feedback shapes GoLand.

Try the new features in your projects and tell us what works and what doesn’t. Report issues and vote for features in our issue tracker.

Happy coding,

The GoLand team

AI 可能会生成不准确的信息,请核实重要内容