Skip to content

VS Code / Cursor / Windsurf

See performance metrics directly in your VS Code-based editor.

Works with all VS Code-based editors

This guide applies to VS Code, Cursor, and Windsurf — they all use the same extension.


  1. Open Extensions (Ctrl+Shift+X)
  2. Search for “GalataJ”
  3. Click Install

No restart needed!

Requirements

VS Code 1.80 or later


  1. Run your Java application
  2. Open Command Palette (Ctrl+Shift+P)
  3. Run “GalataJ: Start Profiling”
  4. Select your JVM from the list

Start Profiling

That’s it! Metrics will appear above your methods.


Performance data appears directly above your methods:

Inline Hints

Metrics shown:

  • Avg — Average execution time
  • Max — Maximum execution time
  • Calls — Number of invocations
  • Trend — Performance change (↑ slower, ↓ faster)

Hover over a hint for more details.


Open Command Palette (Ctrl+Shift+P) and run “GalataJ: Stop Profiling”


Open Settings and search for “GalataJ” to customize:

  • Show/hide inline hints
  • Auto-start controller
  • Update interval

Settings


Run “GalataJ: Refresh JVMs” from Command Palette. Make sure your Java app is running.

  1. Check status bar shows “GalataJ: Connected”
  2. Open files from the profiled package
  3. Wait a few seconds for data to arrive

Reload the window: Command Palette → “Developer: Reload Window”

Run “GalataJ: Health Check” from Command Palette.

More troubleshooting →


Profiler Panel

Get the most out of the panel

Panel guide →

Session History

Save and compare sessions

History guide →