CorefinityCorefinityDocs
Open the Control PanelControl Panel
Tools · 1 of 2

Performance audits

Measure how quickly the same pages answer on two hosts, such as a site where it is now and the same site on Corefinity.

On this page

Before you start

  • Any user of your organisation can create, run, change and delete its audits.
  • Each URL starts http:// or https://. For a site behind a login prompt, have its username and password ready.

Create an audit

  1. Open Performance Audits

    Go to Tools › Performance Audits and choose Create performance audit.

  2. Say what to measure

    Enter a Name, then give each host an Environment name and its URL under Domain, and each page a Title and Path under Page Types. Choose a Server Location, then Create Performance Audit.

The audit opens, ready to run.

FieldWhat it does
DomainA host to measure. Up to 10 rows, each a row of the results.
HTTP Username, HTTP PasswordOpen a site that asks for a login. They are kept for later runs.
Page TypesA page to load, its Path added to every URL. Up to 20 rows.
Check CacheAlso measures the page a second time, served from cache.
Number Of RequestsHow many times each page is loaded, from 1 to 20. The result is the average.
Server LocationThe place the pages are requested from.

Run it and read the results

  1. Run the audit

    Open the audit and choose Refresh All under Performance Audit Result. Each cell fills in as its page finishes.

  • Times are in milliseconds, and lower is better. Performance Difference compares the rows as a percentage.
  • A cell's colour is the answer the page gave: green for 2xx, yellow for 3xx, orange for 4xx and red for 5xx.
  • The arrow in a cell measures that page again. Not run gives the reason under it.
  • Copy Table copies the results, and Download Log saves every request that was made.

To change the hosts or pages, choose the pencil at the top of the audit, then run it again.

Automate this

Performance audits

Creates an audit and starts its first run: each page of each environment is loaded number_of_requests times from the server location, uncached and, where check_cache is set, cached as well.

POST/api/performance-audits
curl -X POST https://manage.corefinity.com/api/performance-audits \
  -H "Authorization: Bearer $COREFINITY_TOKEN" \
  -H "Accept: application/json" \
  -H "Content-Type: application/json" \
  -d '{
    "domains": [
      {
        "environment": "Current host",
        "url": "https://old.harbourandfinch.example.org"
      },
      {
        "environment": "Corefinity",
        "http_password": "made-up-preview-password",
        "http_username": "preview",
        "url": "https://harbourandfinch-example-com.northwind.cfstack.example.net"
      }
    ],
    "name": "Shop audit",
    "number_of_requests": 5,
    "page_types": [
      {
        "check_cache": true,
        "path": "/",
        "title": "Home"
      },
      {
        "path": "/shop/",
        "title": "Category"
      }
    ]
  }'
Was this helpful?
Open in ClaudeOpen in ChatGPT