# Performance

> The script is built for mobile pages opened from ads, where every kilobyte counts.

This is one page of the Antiro docs (https://docs.antiro.io/performance). Every page in one file: https://docs.antiro.io/llms-full.txt

## At a glance

| Measure | Value |
| --- | --- |
| Script size | 27 KB |
| Compressed | 12.7 KB gzip, 11.3 KB brotli |
| Longest wait at the order button | 4 seconds |
| Requests that block rendering | 0 |

## Loading

The script loads with `async`, so nothing blocks rendering. It starts after the page has loaded and works in short tasks, moving heavier work to a Web Worker where the page allows it.

## Network requests

| When | Requests |
| --- | --- |
| Page load | 1 |
| First use of the order form | 1, and 1 more when the tab is hidden afterwards |
| Each press of the order button | 1, rarely 2 |

The script sends at most one request a second, with no CORS preflight. Every request has a timeout, and when one fails the page carries on as usual.
