Measure Code
Without Changing It

See how often your code runs and how long it takes with Metrics that add no overhead. Measure real behavior across environments with zero runtime impact.

See how your code really runs

Create metrics
in your IDE

Create metrics directly from your IDE. Select the environment you want to measure, and your new metrics are ready in an instant.

Track usage
frequency

Use Lightrun Counters to see how often your code runs and identify dead code, unexpected execution patterns, or performance risks.

Measure execution
duration

Measure how long methods or specific code blocks take to run in real environments, so you can see where to prioritize optimization.

Two steps for Dynamic Metrics

1. Pick a line of code

Right-click the line you want to measure and choose a metric type, Counter, Method Duration, Tic-Toc block timing, or a Custom Metric. Lightrun instruments it instantly with no redeploys.

2. Get results

See results immediately in your IDE or console output, and forward them to standard output or any logging tool you already use.

Enterprise-grade security

Built to meet enterprise security and compliance standards, with full access controls.

Understand real performance with Metrics

Add a counter, time a method, or measure duration, right from your IDE or AI code assistant,
and watch insights flow instantly.