> ## Documentation Index
> Fetch the complete documentation index at: https://developer.upsun.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Comparing Continuous Profiling Timeframes

> Comparing continuous profiling timeframes

> [!NOTE]
>
> By default, Upsun offers 15 minutes of continuous profiling per project and for free.
> To get 30 days of continuous profiling per project and for a fixed fee, [upgrade to the Continuous Profiling add-on](https://developer.upsun.com/docs/administration/billing/add-on-subscription#continuous-profiling-add-on).

Upsun Cloud Continuous Profiler dashboard allows you to compare two timeframes to better
understand application dynamics in various contexts.

You could compare two versions of the application, before and after a deployment,
or rush hours with quiet times for instance.

## Enabling comparison mode

A toggle on the top-right corner of the continuous profiling dashboard enables
the comparison mode.

![Routes](https://mintcdn.com/upsun-c9761871/tdb1nLmHEPAmx6I9/images/observability/cont-prof-comparison-console.png?fit=max\&auto=format\&n=tdb1nLmHEPAmx6I9\&q=85\&s=cdbca40ee3c56538a7246f8cb778eadb)

With comparisons enabled, you can select two timeframes referred to as `A` and
`B`. Those times can overlap.

## Understanding continuous profiling visual comparison

The flamegraph provides a visual representation of how timeframe `B` compares
to `A` for the selected dimension using shades of color. The stronger the
color, the higher resource variation.

![Routes](https://mintcdn.com/upsun-c9761871/tdb1nLmHEPAmx6I9/images/observability/cont-prof-comparison-flamegraph.png?fit=max\&auto=format\&n=tdb1nLmHEPAmx6I9\&q=85\&s=8bb695442494caf65d0432db84c10cc8)

Shades of green indicate timeframe `B` is consuming less resources than `A`
for the selected dimension. Shades of red indicate the opposite.

A scale and contextual information are displayed when hovering a span. This ensures
accessibility for all users and allows colorblind users to benefit from this feature.

![Routes](https://mintcdn.com/upsun-c9761871/tdb1nLmHEPAmx6I9/images/observability/cont-prof-comparison-scale.png?fit=max\&auto=format\&n=tdb1nLmHEPAmx6I9\&q=85\&s=ccfefd331bca3426485c95fb6c8fe928)

The [Upsun Cloud performance agent](https://developer.upsun.com/docs/get-started/ai/upsun-cloud-performance-agent.md) reads this continuous profiling data and returns a ranked report of bottlenecks with recommended code changes. It doesn't apply changes automatically, and running it requires a one-time configuration change.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.