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

# View time spent per module

> Analyze average execution times for each module and variant in GBG GO to identify performance bottlenecks.

export const VersionWarningBanner = () => {
  const [latestUrl, setLatestUrl] = useState(null);
  useEffect(() => {
    if (typeof window === "undefined") return;
    const {pathname, hash, search} = window.location;
    if (!pathname.includes("/go-v1/")) return;
    setLatestUrl(`${pathname.replace("/go-v1/", "/go-v2/")}${search}${hash}`);
  }, []);
  if (!latestUrl) return null;
  return <div className="not-prose my-6 rounded-xl border border-amber-500/30 bg-amber-500/10 px-4 py-3 text-sm text-gray-800 dark:text-gray-100">
      ⚠️ You are viewing the <strong>GBG GO v1</strong> documentation.
      <a href={latestUrl} className="ml-2 font-medium underline text-amber-700 dark:text-amber-400 hover:text-amber-800 dark:hover:text-amber-300">
        View the latest version (v2) →
      </a>
    </div>;
};

<VersionWarningBanner />

The *Time spent per module* tab provides detailed performance analysis on the average execution time per module and variant.

## Key metrics

The top section displays three main timing performance indicators:

* **Distinct modules**: Shows the count of distinct module types currently being tracked for execution timing
* **Distinct variants**: Displays the number of distinct module variants being tracked for execution time
* **Average execution duration**: Presents the mean processing time across all module executions

## Variant execution duration

This table provides a detailed timing analysis of module variants in a table.

<Frame>
  <img src="https://mintcdn.com/gbg-loqate/wtQrQDGWEOTCei9M/images/analytics-go-18.png?fit=max&auto=format&n=wtQrQDGWEOTCei9M&q=85&s=88c598d6ee0437c062f647d1ca3a9601" alt="Analytics Go 18 Pn" width="1544" height="196" data-path="images/analytics-go-18.png" />
</Frame>

* **Journey name**: Name of executed journey
* **Module name**: Name of executed module
* **Variant name**: Name of module variant
* **Average execution duration in seconds**: Mean time taken for variant execution

## Average execution duration per module

This bar chart shows the average execution duration per module.

## Average execution duration per variant

This bar chart shows the average execution duration per variant.

## Variant execution duration per journey

This section provides journey-specific timing analysis with filtering capabilities for viewing variant execution duration per journey.

<Frame>
  <img src="https://mintcdn.com/gbg-loqate/wtQrQDGWEOTCei9M/images/analytics-go-19.png?fit=max&auto=format&n=wtQrQDGWEOTCei9M&q=85&s=a4c109febeea4d96c5c5046359b10376" alt="Analytics Go 19 Pn" width="1591" height="313" data-path="images/analytics-go-19.png" />
</Frame>

When you select a variant name from the **Choose a variant name** list, a table appears, giving you details that include:

* **Variant name**: Name of module variant
* **Journey name**: Name of journey being executed
* **Average execution duration**: Mean duration for variant execution in that given journey
