LedgerMath

View as Markdown

A Series file

v1/series/<id>.json holds one Series: what it is, each Method's summary figures and definitions, the points of its newest Runs, and the list of its month files, each with the file's sha256 and size.

Where it is

  • Address: https://api.ledgermath.com/v1/series/<id>.json, with the Series' id, 12 lower-case hex digits.
  • Reached from: a row's url, in the list of every Series or a benchmark's list; or the table of contents' template series.series_file_url_template with the Series' id.
  • Links to: each of its month files (months[].url); the table of contents (index); its schema (schema_url); and, for each of its newest points, its Run file (evidence) and its boot's summary (boot_summary, null when there is no boot summary the API can link).
  • Schema: LedgerMath data API, version 1: one Series, served by the API.

What its schema says

v1/series/<id>.json: one Series, its summary and its newest Runs.

A Series is the Runs of one benchmark, parameter set (params), build, instance type and Availability Zone ID. Under derivations, keyed <method name>_v<version>, is each Method's Derivation of it, at the same paths and in the same words as LedgerMath's Method writes it, with the Method's own definitions beside it: the percentiles, the groups its split facts make and their facts and figures, how often each dump section changed, how many Runs it counts and does not, and the points of the newest Runs (newest_points; as many as newest_runs says). What grows with every Run is not here: every Run's point, and what differed between consecutive Runs, is in the file of the month the Run started in, which months lists with its address, and the Series' points are those of its month files, oldest month first. The lists of Run ids behind each percentile and in each group are not repeated either; each is recovered from those points by the rule its field's description gives. So the number of points this file holds is bounded, by newest_runs; its summaries still grow with what the data hold: a group for each new combination of the machine's split facts, a value for each new distinct value of a request fact, an entry in months for each month. Each point also gives the sha256 of its Run file and the addresses of its evidence: the Run file (evidence) and its boot's summary (boot_summary). Numbers are exactly as the Derivation holds them; a duration is in nanoseconds of the Run's clock unless its field's name says otherwise. The file changes when the Series gains a Run, a Method first applies to it or a Method's words change, or a boot summary of one of its Runs arrives (that month file's sha256 changes, and the point too when it is a newest one), and when LedgerMath changes how the files are written (the layout of v1/index.json increases). Version 1 only ever gains fields: a field, once in a v1 file, keeps its name, its type and its meaning, and a reader ignores any field it does not know, which is why no object in this schema forbids members it does not list. A new Method, or a new version of one, is a new key beside the old ones. A change that would break a reader is published as v2, beside v1.

Example

An excerpt, made by the generator, of the file at https://api.ledgermath.com/v1/series/124066cf09f9.json (151,953 bytes) as LedgerMath's fixed sample took it on 2026-11-26; that address serves the file as it is now.

The example: 340 lines of JSON
{
  "schema": "ledgermath.api.series/1",
  "schema_url": "https://api.ledgermath.com/v1/schemas/series.schema.json",
  "index": "https://api.ledgermath.com/v1/index.json",
  "id": "124066cf09f9",
  "url": "https://api.ledgermath.com/v1/series/124066cf09f9.json",
  "benchmark": "http_get",
  "params": {
    "auth": "sigv4",
    "budget_seconds": 120,
    "ca_file": "/etc/pki/tls/certs/ca-bundle.crt",
    "connection": "new",
    "gap_mean_ms": 200,
    "key": "http_get/v1/16777216",
    "object_bytes": 16777216,
    "resolv_conf": "/etc/resolv.conf",
    "timeout_ms": 10000
  },
  "build": "static",
  "instance_type": "m5.large",
  "availability_zone_id": "use2-az3",
  "runs": 62,
  "boots": 62,
  "oldest_run_started_at": "2026-11-11T21:38:34.105358497Z",
  "newest_run_started_at": "2026-11-26T16:36:34.164681903Z",
  "newest_runs": 12,
  "months": [
    {
      "month": "2026-11",
      "url": "https://api.ledgermath.com/v1/series/124066cf09f9/2026-11.json",
      "runs": 62,
      "oldest_run_started_at": "2026-11-11T21:38:34.105358497Z",
      "newest_run_started_at": "2026-11-26T16:36:34.164681903Z",
      "sha256": "11cc78ca2533093f1c44ce2518673e9286dd2d6e9375ebd04c16875929216d96",
      "bytes": 565082
    }
  ],
  "derivations": {
    "series_v1": {
      "method": {"name": "series", "version": 1},
      "definitions": {
        "bytes_per_second": "Per Run, where the benchmark observed bytes_per_repetition: bytes_per_repetition × 10^9 / the Run's time per repetition in nanoseconds."
      },
      "split_on": [{"fact": "binary", "what": "binary.blob: the bytes that ran"}],
      "left_out": [
        {
          "section": "cpuid",
          "what": "the lines of hypervisor leaf 0x40000010, one per CPU",
          "why": "its eax is the TSC frequency in kHz as calibrated for the boot: 2,899,996 (0x002c401c) on the c6i.8xlarge boot of 2026-11-10 23:36 UTC, 2,899,978 (0x002c400a) o…"
        }
      ],
      "not_split_on": [
        {
          "fact": "source_commit, source",
          "what": "they change with every commit, whether or not the benchmark did"
        }
      ],
      "counted_runs": 62,
      "failed_runs": 0,
      "percentiles": {
        "time_per_repetition_ns": {
          "count": 62,
          "p5": 172324206.075,
          "p50": 172799363.75,
          "p95": 173426278.4
        },
        "bytes_per_second": null
      },
      "groups": [
        {
          "id": "A",
          "facts": {
            "binary": "sha256:7a46cca0dca68523c5bf0bee93dc56abf2dd40d8de5d83ec1a93b623ff19daaf",
            "cpuid": "canonical-json-sha256:0baf459d77354ff6cb03672766818c90d1629efc1cc13118de4fb85aaf7b926f",
            "image": "ami-03499a87bbb39a09a",
            "kernel": "canonical-json-sha256:dc652ddfbb9f05bf03c813d4d90853158b05fa359ea0fa4d2995c392b35032b3"
          },
          "counted_runs": 62,
          "failed_runs": 0,
          "oldest_run_started_at": "2026-11-11T21:38:34.105358497Z",
          "newest_run_started_at": "2026-11-26T16:36:34.164681903Z",
          "percentiles": {
            "time_per_repetition_ns": {
              "count": 62,
              "p5": 172324206.075,
              "p50": 172799363.75,
              "p95": 173426278.4
            },
            "bytes_per_second": null
          }
        }
      ],
      "sections": [
        {
          "section": "block_stat",
          "runs": 62,
          "changed_within_run": 62,
          "pairs": 61,
          "changed_between_runs": 61,
          "split_on": null
        }
      ],
      "newest_points": [
        {
          "run": "01a20a8d-d287-7eb8-8176-332003a74099",
          "path": "runs/2026/11/23/01a20a8d-d287-7eb8-8176-332003a74099.json",
          "sha256": "c071e9368bf818d8593d8834e20c1e0316b1e981425ff85694c5c524cc8b3fd1",
          "evidence": "https://api.ledgermath.com/runs/2026/11/23/01a20a8d-d287-7eb8-8176-332003a74099.json",
          "boot_summary": "https://api.ledgermath.com/boots/2026/11/23/a1a51247-e20c-4c66-9e1d-ff7a6ff99196.json",
          "started_at": "2026-11-23T22:36:36.359338596Z",
          "boot": "a1a51247-e20c-4c66-9e1d-ff7a6ff99196",
          "group": "A",
          "counted": true,
          "failure": null,
          "samples": [
            {"sample": 1, "ns": 171251121, "repetitions": 1, "ns_per_repetition": 171251121}
          ],
          "time_per_repetition_ns": 172760198,
          "bytes_per_repetition": null,
          "bytes_per_second": null
        }
      ]
    },
    "requests_v1": {
      "method": {"name": "requests", "version": 1},
      "definitions": {
        "breakdown": "The pooled figures again for the requests that had each value of a fact each request records of its connection or of itself (see request_facts), for every fact …"
      },
      "phases": [
        {
          "phase": "dns",
          "name": "name lookup",
          "interval": "name_resolved.t − sample_started.t (new connection only)"
        }
      ],
      "percentiles": [{"name": "p50", "per_mille": 500, "least_requests": 2}],
      "histogram": {
        "bins_per_doubling": 64,
        "exact_below_ns": 128,
        "precision": 0.0078125,
        "definition": "Each phase's times are tallied in fixed bins, the same for every Run, so tallies add: below 128 ns every nanosecond is a bin of its own; from 128 ns each doubli…"
      },
      "request_facts": [
        {
          "fact": "address_block",
          "what": "the server's address block: the /16 of the IPv4 address connected to (connection_opened.address), written a.b.0.0/16; any other address whole"
        }
      ],
      "split_on": [{"fact": "binary", "what": "binary.blob: the bytes that ran"}],
      "left_out": [
        {
          "section": "cpuid",
          "what": "the lines of hypervisor leaf 0x40000010, one per CPU",
          "why": "its eax is the TSC frequency in kHz as calibrated for the boot: 2,899,996 (0x002c401c) on the c6i.8xlarge boot of 2026-11-10 23:36 UTC, 2,899,978 (0x002c400a) o…"
        }
      ],
      "counted_runs": 62,
      "failed_runs": 0,
      "recorded": {
        "regions": [{"value": "us-east-2", "runs": 62}],
        "services": [
          {
            "name": "s3_fixtures",
            "inputs": {
              "endpoint": "https://ledgermath-production-runs-fixturesbucketbucket-zkntsvnz.s3.us-east-2.amazonaws.com",
              "region": "us-east-2"
            },
            "runs": 30
          }
        ],
        "without_service": 0
      },
      "pool": {
        "runs": 62,
        "requests": 2480,
        "failed": 0,
        "phases": {
          "dns": {
            "count": 2480,
            "min": 122593,
            "max": 10264335,
            "p50": 209920,
            "p90": 897024,
            "p95": 1419673.6,
            "p99": 3424256,
            "p99.9": 6657409.024,
            "at_or_above": {"p50": 1240, "p90": 248, "p95": 124, "p99": 25, "p99.9": 3},
            "histogram": [[759, 2]]
          }
        },
        "failures": [],
        "setups_failed": [],
        "by": [
          {
            "fact": "address_block",
            "values": [
              {
                "value": "16.12.0.0/16",
                "runs": 28,
                "requests": 59,
                "phases": {
                  "dns": {
                    "count": 59,
                    "min": 148149,
                    "max": 3014150,
                    "p50": 268288,
                    "p90": 767590.4,
                    "p95": 1132134.4,
                    "p99": null,
                    "p99.9": null,
                    "at_or_above": {"p50": 30, "p90": 6, "p95": 3}
                  }
                }
              }
            ]
          }
        ],
        "facts": [{"fact": "address_block", "values": [{"value": "16.12.0.0/16", "requests": 59}]}]
      },
      "groups": [
        {
          "id": "A",
          "facts": {
            "binary": "sha256:7a46cca0dca68523c5bf0bee93dc56abf2dd40d8de5d83ec1a93b623ff19daaf",
            "cpuid": "canonical-json-sha256:0baf459d77354ff6cb03672766818c90d1629efc1cc13118de4fb85aaf7b926f",
            "image": "ami-03499a87bbb39a09a",
            "kernel": "canonical-json-sha256:dc652ddfbb9f05bf03c813d4d90853158b05fa359ea0fa4d2995c392b35032b3"
          },
          "counted_runs": 62,
          "failed_runs": 0,
          "oldest_run_started_at": "2026-11-11T21:38:34.105358497Z",
          "newest_run_started_at": "2026-11-26T16:36:34.164681903Z",
          "pool": {
            "runs": 62,
            "requests": 2480,
            "failed": 0,
            "phases": {
              "dns": {
                "count": 2480,
                "min": 122593,
                "max": 10264335,
                "p50": 209920,
                "p90": 897024,
                "p95": 1419673.6,
                "p99": 3424256,
                "p99.9": 6657409.024,
                "at_or_above": {"p50": 1240, "p90": 248, "p95": 124, "p99": 25, "p99.9": 3},
                "histogram": [[759, 2]]
              }
            },
            "failures": [],
            "setups_failed": [],
            "by": [
              {
                "fact": "address_block",
                "values": [
                  {
                    "value": "16.12.0.0/16",
                    "runs": 28,
                    "requests": 59,
                    "phases": {
                      "dns": {
                        "count": 59,
                        "min": 148149,
                        "max": 3014150,
                        "p50": 268288,
                        "p90": 767590.4,
                        "p95": 1132134.4,
                        "p99": null,
                        "p99.9": null,
                        "at_or_above": {"p50": 30, "p90": 6, "p95": 3}
                      }
                    }
                  }
                ]
              }
            ],
            "facts": [
              {"fact": "address_block", "values": [{"value": "16.12.0.0/16", "requests": 59}]}
            ]
          }
        }
      ],
      "newest_points": [
        {
          "run": "01a20a8d-d287-7eb8-8176-332003a74099",
          "path": "runs/2026/11/23/01a20a8d-d287-7eb8-8176-332003a74099.json",
          "sha256": "c071e9368bf818d8593d8834e20c1e0316b1e981425ff85694c5c524cc8b3fd1",
          "evidence": "https://api.ledgermath.com/runs/2026/11/23/01a20a8d-d287-7eb8-8176-332003a74099.json",
          "boot_summary": "https://api.ledgermath.com/boots/2026/11/23/a1a51247-e20c-4c66-9e1d-ff7a6ff99196.json",
          "started_at": "2026-11-23T22:36:36.359338596Z",
          "boot": "a1a51247-e20c-4c66-9e1d-ff7a6ff99196",
          "group": "A",
          "counted": true,
          "failure": null,
          "exit_code": 0,
          "counted_requests": 40,
          "succeeded": 40,
          "failed": 0,
          "phases": {
            "dns": {
              "count": 40,
              "min": 152841,
              "max": 2501610,
              "p50": 189923,
              "p90": 774459.2,
              "p95": 790652.85,
              "p99": null,
              "p99.9": null,
              "at_or_above": {"p50": 20, "p90": 4, "p95": 2}
            }
          },
          "failures": [],
          "setups_failed": [],
          "warmup_failure": null,
          "through": {
            "runs": 51,
            "requests": 2040,
            "failed": 0,
            "phases": {
              "dns": {
                "count": 2040,
                "min": 122593,
                "max": 10264335,
                "p50": 206848,
                "p90": 897843.2,
                "p95": 1417216,
                "p99": 3564175.36,
                "p99.9": 6729302.016,
                "at_or_above": {"p50": 1020, "p90": 204, "p95": 102, "p99": 21, "p99.9": 3}
              }
            },
            "failures": []
          },
          "group_through_as_of_run": null
        }
      ]
    }
  }
}
What the excerpt leaves out, in 37 places

The excerpt is made by one rule, applied at every depth, and changes nothing else. A list of more than one element keeps its first, unless every element is a string, a number, true, false or null and the list takes at most 120 characters as JSON: then it is kept whole. An object keeps every member its schema names, but of members whose schemas are each nothing but a reference to one and the same definition (such as a request's eight phases), it keeps the first. Of an object's members whose names its schema does not fix, it keeps the first, then each next one while the values kept, as excerpted, take at most 300 bytes as JSON, and none after the first that does not fit. A string longer than 160 characters keeps its first 160 and ends with …

  • derivations.series_v1.definitions: 1 of its 7 members whose names its schema does not fix
  • derivations.series_v1.split_on: its first element of 10
  • derivations.series_v1.left_out: its first element of 3
  • derivations.series_v1.left_out[0].why: its first 160 of 247 characters
  • derivations.series_v1.not_split_on: its first element of 14
  • derivations.series_v1.groups[0].facts: 4 of its 10 members whose names its schema does not fix
  • derivations.series_v1.sections: its first element of 20
  • derivations.series_v1.newest_points: its first element of 12
  • derivations.series_v1.newest_points[0].samples: its first element of 40
  • derivations.requests_v1.definitions.breakdown: its first 160 of 226 characters
  • derivations.requests_v1.definitions: 1 of its 13 members whose names its schema does not fix
  • derivations.requests_v1.phases: its first element of 8
  • derivations.requests_v1.percentiles: its first element of 5
  • derivations.requests_v1.histogram.definition: its first 160 of 332 characters
  • derivations.requests_v1.request_facts: its first element of 7
  • derivations.requests_v1.split_on: its first element of 10
  • derivations.requests_v1.left_out: its first element of 3
  • derivations.requests_v1.left_out[0].why: its first 160 of 247 characters
  • derivations.requests_v1.recorded.services: its first element of 2
  • derivations.requests_v1.pool.phases.dns.histogram: its first element of 291
  • derivations.requests_v1.pool.phases: the first of its 8 members whose schemas are the same reference
  • derivations.requests_v1.pool.by: its first element of 2
  • derivations.requests_v1.pool.by[0].values: its first element of 3
  • derivations.requests_v1.pool.by[0].values[0].phases: the first of its 8 members whose schemas are the same reference
  • derivations.requests_v1.pool.facts: its first element of 7
  • derivations.requests_v1.pool.facts[0].values: its first element of 3
  • derivations.requests_v1.groups[0].facts: 4 of its 10 members whose names its schema does not fix
  • derivations.requests_v1.groups[0].pool.phases.dns.histogram: its first element of 291
  • derivations.requests_v1.groups[0].pool.phases: the first of its 8 members whose schemas are the same reference
  • derivations.requests_v1.groups[0].pool.by: its first element of 2
  • derivations.requests_v1.groups[0].pool.by[0].values: its first element of 3
  • derivations.requests_v1.groups[0].pool.by[0].values[0].phases: the first of its 8 members whose schemas are the same reference
  • derivations.requests_v1.groups[0].pool.facts: its first element of 7
  • derivations.requests_v1.groups[0].pool.facts[0].values: its first element of 3
  • derivations.requests_v1.newest_points: its first element of 12
  • derivations.requests_v1.newest_points[0].phases: the first of its 8 members whose schemas are the same reference
  • derivations.requests_v1.newest_points[0].through.phases: the first of its 8 members whose schemas are the same reference

Fields

Each field is named by its path from the top of the file: a.b is the member b of the object a, [] stands for each element of a list, * for a member whose name is not fixed (its object's type says when the names must match a pattern), and a name with a dot in it is written ["p99.9"]. Under each path are its type and whether it is required (present wherever the object holding it is) or optional (it may be absent). An object said to have no other members holds none but those listed for it; any other object may hold members this page does not list. A shape used in more than one place is described once, under Shared shapes, and each place links to it. Version 1 only ever gains fields, so a file may hold a field this page does not list yet: a reader ignores it.

schema

always "ledgermath.api.series/1" · required

What this file is, and which version of its shape.

schema_url

string matching ^https?:// · required

The address of this schema.

An address: an absolute URL starting http:// or https://.

index

string matching ^https?:// · required

The address of the table of contents, v1/index.json.

An address: an absolute URL starting http:// or https://.

id

string matching ^[0-9a-f]{12}$ · required

The Series' id: the first 12 hex digits of the sha256 of its key (benchmark, params, build, instance type, zone ID) as canonical JSON.

url

string matching ^https?:// · required

This file's own address.

An address: an absolute URL starting http:// or https://.

benchmark

string · required

The benchmark's name, as its Runs give it.

params

object · required

The parameter set, as each Run was given it (LM_PARAM_*).

params.*

string, number or boolean · any number of them

One parameter's value, under the parameter's name, as each Run was given it.

build

string · required

The named build of the benchmark (static, dynamic).

instance_type

string or null · required

The EC2 instance type, as the provider names it.

availability_zone_id

string or null · required

The Availability Zone ID, as the provider names it.

runs

integer, 1 or more · required

Runs in the Series, counted or not.

boots

integer, 1 or more · optional

How many boots its Runs were made on: the distinct boots its points name, counted or not.

A boot is one fresh machine; each point names its boot (boot) and links its summary (boot_summary). Written since layout 2 (the layout of v1/index.json); a file written before it lacks it.

oldest_run_started_at

string matching ^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}(\.[0-9]+)?Z$ · required

When its oldest Run started.

UTC, to the nanosecond, as the Run records it.

newest_run_started_at

string matching ^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}(\.[0-9]+)?Z$ · required

When its newest Run started: the moment a citation of the Series as it stands names.

UTC, to the nanosecond, as the Run records it.

newest_runs

integer, 1 or more · required

How many of the Series' newest Runs each Method's newest_points holds: this many, or every Run when the Series has fewer. The same in every Series file.

months

list of objects, at least 1 element · required

Every month in which a Run of the Series started (UTC, by the Run's start), oldest first, each with the address of its file, and the sha256 and size of the file as it is now.

A month's file holds every point of its Runs. For a given layout (the layout of v1/index.json), a month file's bytes change only when (a) a Run that started in that month is added, (b) a boot summary that was missing arrives, (c) a Run arrives late, having started before a Run of the Series already in the files, in that month or an earlier one, or (d) a Method first applies to the Series; otherwise they do not change. These four are the only causes for a given layout: layout increases when LedgerMath changes how the files are written, and only then may a file's bytes change without one of them. A past month is therefore not immutable: each entry of the Series file's months gives its month file's sha256 and size in bytes, so a reader holding a copy can tell whether it is current, and fetches the file again only when the sha256 differs. A Series file and a month file fetched together can still be from different updates of the files: a cache may hold one of them from before the other changed, and an update that stopped halfway leaves them so until the next one. So a reader checks the sha256 of every month file it fetches against the one its Series file lists; on a mismatch, it fetches the Series file again, then the month file, and compares again; while they still differ, it uses neither, and tries again later.

Each element: One month in which a Run of the Series started: the address of its month file, how many of the Series' Runs started in it and when the oldest and newest of them did, and the month file's sha256 and size as it is now.

months[].month

string matching ^[0-9]{4}-(0[1-9]|1[0-2])$ · required

The month, yyyy-mm, UTC.

months[].url

string matching ^https?:// · required

The address of the month's file, v1/series/<id>/<yyyy-mm>.json.

An address: an absolute URL starting http:// or https://.

months[].runs

integer, 1 or more · required

Runs of the Series that started that month, counted or not.

months[].oldest_run_started_at

string matching ^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}(\.[0-9]+)?Z$ · required

When the oldest of them started.

UTC, to the nanosecond, as the Run records it.

months[].newest_run_started_at

string matching ^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}(\.[0-9]+)?Z$ · required

When the newest of them started.

UTC, to the nanosecond, as the Run records it.

months[].sha256

string matching ^[0-9a-f]{64}$ · required

The sha256 of the month file's bytes as they are now, in hex.

A reader holding a copy of the month file compares its sha256 with this one, and fetches the file again only when they differ; a month file just fetched that does not match it is from another update than this Series file, and months says what to do.

months[].bytes

integer, 1 or more · required

The month file's size in bytes, as it is now.

derivations

object · required

Each Method's Derivation of the Series, keyed <method name>_v<version>.

Method series v1 derives every Series; Method requests v1 only those whose samples are requests, and its key is absent from the others.

derivations.series_v1

object · required

Method series, version 1: one number per Run, and the 5th, 50th and 95th percentiles across Runs, for the Series and for each group. Its points are in the month files, under the same key.

derivations.series_v1.method

object · required

The Method, by name and version: series, version 1.

derivations.series_v1.method.name

always "series" · required

The Method's name: series.

derivations.series_v1.method.version

always 1 · required

The Method's version: 1.

derivations.series_v1.definitions

object (shape definitions) · required

How each number is made, in the Method's words, by name.

derivations.series_v1.split_on

list of objects (shape split_fact) · required

The facts a Series is split into groups on, in order.

derivations.series_v1.left_out

list of objects (shape left_out) · required

What is left out of a dump section before it is compared for the split, and why.

derivations.series_v1.not_split_on

list of objects (shape split_fact) · required

Facts the Runs record that do not split a Series, and why.

derivations.series_v1.counted_runs

integer, 0 or more · required

Runs this Method counts.

derivations.series_v1.failed_runs

integer, 0 or more · required

Runs it does not count: shown in their month's file with why, in no percentile.

derivations.series_v1.percentiles

object (shape series_percentiles) · required

Across every counted Run of the Series, whatever its group.

derivations.series_v1.groups

list of objects · required

The groups its split facts make of the Series' Runs, in the order each first appears.

Each element: The Runs whose split facts are all equal.

Lettered A, B, C… in the order each first appears; groups may interleave in time. Its Runs are not listed: they are the points whose group is its id, counted or not, in order of start, then Run id, as the month files hold them. How many there are and when the oldest and newest started are given here, taken from those points: what its percentiles rest on (written since layout 2, the layout of v1/index.json; a file written before it lacks them).

derivations.series_v1.groups[].id

string · required

The group's letters: A, B, …, Z, AA, AB, … in the order each group first appears in the Series. Each of its points gives them as group.

derivations.series_v1.groups[].facts

object (shape facts) · required

A group's split facts and their values, by the fact's name: for binary and runner, a blob's sha256:<hex>; for samples, the sample count; for image, the image ID; for a dump section something is left out of (cpuid, lscpu, kernel), canonical-json-sha256:<hex>, the sha256 of what remains; for any other section (sys_cpu, process, packages), its blob's sha256:<hex>.

Null for a section the before-dump lacks, or an image ID the Run lacks.

derivations.series_v1.groups[].counted_runs

integer, 0 or more · optional

Its Runs the Method counts: its points with counted true.

derivations.series_v1.groups[].failed_runs

integer, 0 or more · optional

Its Runs the Method does not count: its points with counted false. Its Runs, counted or not, number counted_runs and failed_runs together.

derivations.series_v1.groups[].oldest_run_started_at

string matching ^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}(\.[0-9]+)?Z$ · optional

When its oldest Run started, counted or not.

UTC, to the nanosecond, as the Run records it.

derivations.series_v1.groups[].newest_run_started_at

string matching ^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}(\.[0-9]+)?Z$ · optional

When its newest Run started, counted or not.

UTC, to the nanosecond, as the Run records it.

derivations.series_v1.groups[].percentiles

object (shape series_percentiles) · required

The 5th, 50th and 95th percentiles of time per repetition and of bytes per second across a set of counted Runs: the Series', or one group's.

time_per_repetition_ns is null when no Run counts; bytes_per_second is null when no counted Run observed a finite bytes per repetition above 0.

derivations.series_v1.sections

list of objects · required

How often each dump section's hash changed in this Series.

Each element: One dump section, and how often its hash changed in the Series: within a Run, between its before-dump and after-dump, and between consecutive Runs' before-dumps.

derivations.series_v1.sections[].section

string · required

The dump section's name.

derivations.series_v1.sections[].runs

integer, 0 or more · required

Runs whose before-dump or after-dump holds the section.

derivations.series_v1.sections[].changed_within_run

integer, 0 or more · required

Of those, the Runs whose before-dump and after-dump hold different hashes for it, or only one of which holds it.

derivations.series_v1.sections[].pairs

integer, 0 or more · required

Pairs of consecutive Runs in the Series at least one of whose before-dumps holds the section.

A pair neither of whose before-dumps holds it is not counted for it, so the count can differ from section to section.

derivations.series_v1.sections[].changed_between_runs

integer, 0 or more · required

Of those, the pairs whose before-dumps hold different hashes for it, or only one of which holds it.

derivations.series_v1.sections[].split_on

string or null · required

The split fact read from the section, or null.

A string, or null.

derivations.series_v1.newest_points

list of objects · required

The points of the Series' newest Runs (newest_runs of them, or all when there are fewer), in time order: the same points, value for value, as their month's file holds.

Each element: One Run on the Series' chart, with the sha256 of its Run file and the addresses of its evidence.

derivations.series_v1.newest_points[].run

string · required

The Run's id.

derivations.series_v1.newest_points[].path

string matching ^runs/[0-9]{4}/[0-9]{2}/[0-9]{2}/[^/]+\.json$ · required

The Run file's path, runs/<yyyy>/<mm>/<dd>/<id>.json: the name LedgerMath gives it, and its address under the API's base (evidence).

derivations.series_v1.newest_points[].sha256

string matching ^[0-9a-f]{64}$ · required

The sha256 of the Run file's bytes, in hex: what the Derivation cites.

derivations.series_v1.newest_points[].evidence

string matching ^https?:// · required

The Run file's address.

An address: an absolute URL starting http:// or https://.

derivations.series_v1.newest_points[].boot_summary

string matching ^https?:// or null · required

The address of the summary of the boot the Run was part of, which accounts for every execution the boot was to run; null when LedgerMath held no summary of that boot when the file was made.

A summary that arrives later turns it into the address, and is one of the four causes for which a month file changes.

An address: an absolute URL starting http:// or https://.

derivations.series_v1.newest_points[].started_at

string matching ^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}(\.[0-9]+)?Z$ · required

When the Run started.

UTC, to the nanosecond, as the Run records it.

derivations.series_v1.newest_points[].boot

string · required

The boot's id.

derivations.series_v1.newest_points[].group

string · required

The group its split facts put it in.

derivations.series_v1.newest_points[].counted

boolean · required

Whether the Method counts the Run. A Run it does not count is shown, with why, and is left out of the Method's statistics.

derivations.series_v1.newest_points[].failure

string or null · required

Why it is not counted, or null: the first 10 of its reasons, each cut to its first 500 characters, joined by "; ", then how many more there are.

A string, or null.

derivations.series_v1.newest_points[].samples

list of objects · required

Its counted samples, in stream order; empty when it is not counted.

derivations.series_v1.newest_points[].samples[].sample

integer · required

The sample's number in the stream.

derivations.series_v1.newest_points[].samples[].ns

number · required

sample_ended.t minus sample_started.t, in nanoseconds of the Run's clock.

derivations.series_v1.newest_points[].samples[].repetitions

number · required

How many repetitions of the measured work the sample holds, as its sample_started gives it.

derivations.series_v1.newest_points[].samples[].ns_per_repetition

number · required

ns / repetitions.

derivations.series_v1.newest_points[].time_per_repetition_ns

number or null · required

The median of its samples' ns_per_repetition: the Run's one number, 0 or more.

Null when it is not counted; and null when it is infinite, past a double's range, which JSON cannot hold: when it is the mean of its two middle samples' ns_per_repetition and their sum overflows (both near the top of a double's range; no real clock comes near). Such a Run is still counted, and still among the Runs of its Series' and group's time_per_repetition_ns percentiles.

A number, or null.

derivations.series_v1.newest_points[].bytes_per_repetition

number or null · required

As the benchmark observed it, a positive number. Null when it is not counted, or when the benchmark observed no bytes per repetition.

A number, or null.

derivations.series_v1.newest_points[].bytes_per_second

number or null · required

bytes_per_repetition × 10^9 / time_per_repetition_ns.

Null when either is null; and null when the quotient is infinite, past a double's range, which JSON cannot hold: chiefly a counted Run that observed a finite bytes per repetition above 0 and whose time per repetition is 0 (its median sample ended at the clock read it started at). Such a Run is still counted, and still among the Runs of its Series' and group's bytes_per_second percentiles.

A number, or null.

derivations.requests_v1

object · optional

Method requests, version 1: each phase of a request, across the requests, within each Run and pooled across Runs, for the Series and for each group.

Its points are in the month files, under the same key.

derivations.requests_v1.method

object · required

The Method, by name and version: requests, version 1.

derivations.requests_v1.method.name

always "requests" · required

The Method's name: requests.

derivations.requests_v1.method.version

always 1 · required

The Method's version: 1.

derivations.requests_v1.definitions

object (shape definitions) · required

How each number is made, in the Method's words, by name.

derivations.requests_v1.phases

list of objects · required

The phases of a request, each an interval between two of its events, in nanoseconds of the Run's clock.

derivations.requests_v1.phases[].phase

string · required

The phase's key, as each phase's statistics are keyed: dns, connect, tls, send, first_byte, headers, body or total.

derivations.requests_v1.phases[].name

string · required

The phase in words, such as name lookup.

derivations.requests_v1.phases[].interval

string · required

Which two of the request's event timestamps the phase is the difference of, in words, and over which connections it applies.

derivations.requests_v1.percentiles

list of objects · required

The percentiles reported, and the fewest requests that support each.

derivations.requests_v1.percentiles[].name

string · required

The percentile's name, as the statistics are keyed: p50, p90, p95, p99 or p99.9.

derivations.requests_v1.percentiles[].per_mille

integer · required

The percentile as a whole number per mille: 500 for p50, 999 for p99.9.

derivations.requests_v1.percentiles[].least_requests

integer · required

The fewest requests that support it: at least one request is then expected above it.

derivations.requests_v1.histogram

object · required

How each phase's times are tallied in fixed bins, the same for every Run, so that the tallies of different Runs add: a pooled percentile is read from the summed bins.

derivations.requests_v1.histogram.bins_per_doubling

integer · required

How many bins each doubling of time is cut into, from exact_below_ns on.

derivations.requests_v1.histogram.exact_below_ns

integer · required

Below this many nanoseconds, every nanosecond is a bin of its own.

derivations.requests_v1.histogram.precision

number · required

A pooled percentile is within this fraction of the exact percentile of the same requests.

derivations.requests_v1.histogram.definition

string · required

How a time's bin is found, in the Method's words.

derivations.requests_v1.request_facts

list of objects · required

The facts each request records of its connection or of itself.

derivations.requests_v1.request_facts[].fact

string · required

The request fact's name, as a pool's breakdowns (by) and values (facts) name it.

derivations.requests_v1.request_facts[].what

string · required

What the request fact is and which event it is read from, in the Method's words.

derivations.requests_v1.split_on

list of objects (shape split_fact) · required

Method series v1's split facts, which give the same groups.

derivations.requests_v1.left_out

list of objects (shape left_out) · required

Method series v1's: what is left out of a dump section before it is compared for the split, and why.

derivations.requests_v1.counted_runs

integer, 0 or more · required

Runs this Method counts (exit 0, or 4 with failed requests).

derivations.requests_v1.failed_runs

integer, 0 or more · required

Runs it does not count: shown in their month's file with why, left out of its request statistics.

derivations.requests_v1.recorded

object · required

What the Series' Runs record beside their requests, counted or not: words for a reader, no figure.

derivations.requests_v1.recorded.regions

list of objects · required

The box's Region as each Run's provider names it, with how many Runs.

derivations.requests_v1.recorded.regions[].value

string or null · required

The Region, as the provider names it; null for the Runs whose provider names none.

A string, or null.

derivations.requests_v1.recorded.regions[].runs

integer · required

How many of the Series' Runs give this value, counted or not.

derivations.requests_v1.recorded.services

list of objects · required

The Service each Run names, with its inputs that are not secret, as delivered, and how many Runs.

derivations.requests_v1.recorded.services[].name

string · required

The Service's name, as the Runs give it, such as s3_fixtures.

derivations.requests_v1.recorded.services[].inputs

object · required

Its inputs that are not secret, by name, exactly as delivered to the binary.

derivations.requests_v1.recorded.services[].inputs.*

string · any number of them

One input's value, exactly as delivered.

derivations.requests_v1.recorded.services[].runs

integer · required

How many of the Series' Runs name this Service with these inputs, counted or not.

derivations.requests_v1.recorded.without_service

integer · required

Runs that name no Service.

derivations.requests_v1.pool

object (shape pool) · required

Every succeeded request of the Series' counted Runs, whatever their group.

derivations.requests_v1.groups

list of objects · required

Its groups: Method series v1's, the same letters for the same Runs, in the order each first appears.

Each element: Method series v1's group of the same letter: the same Runs.

Its Runs are not listed: they are the points whose group is its id, counted or not, in order of start, then Run id, as the month files hold them. How many there are and when the oldest and newest started are given here, taken from this Method's points, which count Runs as this Method does: what its pooled figures rest on (written since layout 2, the layout of v1/index.json; a file written before it lacks them).

derivations.requests_v1.groups[].id

string · required

The group's letters, series v1's for the same Runs. Each of its points gives them as group.

derivations.requests_v1.groups[].facts

object (shape facts) · required

A group's split facts and their values, by the fact's name: for binary and runner, a blob's sha256:<hex>; for samples, the sample count; for image, the image ID; for a dump section something is left out of (cpuid, lscpu, kernel), canonical-json-sha256:<hex>, the sha256 of what remains; for any other section (sys_cpu, process, packages), its blob's sha256:<hex>.

Null for a section the before-dump lacks, or an image ID the Run lacks.

derivations.requests_v1.groups[].counted_runs

integer, 0 or more · optional

Its Runs the Method counts: its points with counted true.

derivations.requests_v1.groups[].failed_runs

integer, 0 or more · optional

Its Runs the Method does not count: its points with counted false. Its Runs, counted or not, number counted_runs and failed_runs together.

derivations.requests_v1.groups[].oldest_run_started_at

string matching ^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}(\.[0-9]+)?Z$ · optional

When its oldest Run started, counted or not.

UTC, to the nanosecond, as the Run records it.

derivations.requests_v1.groups[].newest_run_started_at

string matching ^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}(\.[0-9]+)?Z$ · optional

When its newest Run started, counted or not.

UTC, to the nanosecond, as the Run records it.

derivations.requests_v1.groups[].pool

object (shape pool) · required

Every succeeded request of a set of counted Runs, pooled.

derivations.requests_v1.newest_points

list of objects · required

The points of the Series' newest Runs (newest_runs of them, or all when there are fewer), in time order: the same points, value for value, as their month's file holds.

Each element: One Run of the Series, with the sha256 of its Run file and the addresses of its evidence.

derivations.requests_v1.newest_points[].run

string · required

The Run's id.

derivations.requests_v1.newest_points[].path

string matching ^runs/[0-9]{4}/[0-9]{2}/[0-9]{2}/[^/]+\.json$ · required

The Run file's path, runs/<yyyy>/<mm>/<dd>/<id>.json: the name LedgerMath gives it, and its address under the API's base (evidence).

derivations.requests_v1.newest_points[].sha256

string matching ^[0-9a-f]{64}$ · required

The sha256 of the Run file's bytes, in hex: what the Derivation cites.

derivations.requests_v1.newest_points[].evidence

string matching ^https?:// · required

The Run file's address.

An address: an absolute URL starting http:// or https://.

derivations.requests_v1.newest_points[].boot_summary

string matching ^https?:// or null · required

The address of the summary of the boot the Run was part of, which accounts for every execution the boot was to run; null when LedgerMath held no summary of that boot when the file was made.

A summary that arrives later turns it into the address, and is one of the four causes for which a month file changes.

An address: an absolute URL starting http:// or https://.

derivations.requests_v1.newest_points[].started_at

string matching ^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}(\.[0-9]+)?Z$ · required

When the Run started.

UTC, to the nanosecond, as the Run records it.

derivations.requests_v1.newest_points[].boot

string · required

The boot's id.

derivations.requests_v1.newest_points[].group

string · required

The group its split facts put it in.

derivations.requests_v1.newest_points[].counted

boolean · required

Whether the Method counts the Run. A Run it does not count is shown, with why, and is left out of the Method's statistics.

derivations.requests_v1.newest_points[].failure

string or null · required

Why it is not counted, or null: the first 10 of its reasons, each cut to its first 500 characters, joined by "; ", then how many more there are.

A string, or null.

derivations.requests_v1.newest_points[].exit_code

integer or null · required

The binary's exit code, or null when a signal ended it.

derivations.requests_v1.newest_points[].counted_requests

integer or null · required

Counted samples in its stream (counted requests); null when there was none to count.

derivations.requests_v1.newest_points[].succeeded

integer, 0 or more · required

Of the counted requests, those that succeeded; 0 for a Run not counted.

derivations.requests_v1.newest_points[].failed

integer, 0 or more · required

Of the counted requests, those that failed; 0 for a Run not counted.

derivations.requests_v1.newest_points[].phases

object (shape phase_stats) · required

Its own succeeded requests' statistics per phase, exactly; empty for a Run not counted or one whose every request failed.

derivations.requests_v1.newest_points[].failures

list of objects (shape failures) · required

Its counted requests that failed, by where and what kind of failure, with how many; empty for a Run not counted.

Each element: Failures of one kind: where (phase), what kind, and how many.

Under failures they are requests that failed; under setups_failed they are setups of a kept connection that failed outside any sample, whose phase and kind are their connection_failed event's phase and error.

derivations.requests_v1.newest_points[].setups_failed

list of objects (shape failures) · required

Its setups of a kept connection that failed outside any sample, by where and what kind of failure, with how many; empty for a Run not counted.

Each element: Failures of one kind: where (phase), what kind, and how many.

Under failures they are requests that failed; under setups_failed they are setups of a kept connection that failed outside any sample, whose phase and kind are their connection_failed event's phase and error.

derivations.requests_v1.newest_points[].warmup_failure

object or null · required

How the warmup request failed, or null.

derivations.requests_v1.newest_points[].warmup_failure.phase

string · required

Where the warmup request failed, read as a counted request's failure is: its certificate events, and a withheld certificate line (its withheld_event the string certificate), are set aside first; then it is record when the binary withheld any other of its lines; otherwise request_failed.phase, or response for a complete response whose status is not 2xx.

derivations.requests_v1.newest_points[].warmup_failure.kind

string · required

What kind of failure, read in the same order: for record, line_withheld_<event> from the first withheld line in stream order that is not a certificate's, when it names the event it replaced as a word of a-z, 0-9 and _ starting with a letter, and line_withheld when it does not; otherwise request_failed.error, or status_<code>.

derivations.requests_v1.newest_points[].through

object (shape pool_summary) or null · required

The Series' pooled figures through this Run; null before its first counted Run.

derivations.requests_v1.newest_points[].group_through_as_of_run

object (shape pool_summary) or null · required

Its group's pooled figures through this Run (the counted Runs of its group that started at or before it), as they stood through this Run: a Run that started later never changes it, as such a Run never changes through (a Run that started earlier and arrives late can change both: cause (c) of when a month file changes).

It is null for two reasons: the Series had had Runs of one group only, up to and including this Run; or its group had had no counted Run by this Run (a group whose first Run is not counted, say), even when through, which pools every group, has figures. requests v1's Derivation has a field group_through that differs from it in one case only: in a Series that later has more than one group, the Derivation gives each point before the Series' first Run of a group other than the first its group's figures, which are then the Series' own, its through. To recover the Derivation's group_through, take through for exactly those points: the points before the first point whose group differs from the first point's, in a Series whose requests_v1 groups number more than one (the Series file's). Take this field as it is for every other point. Never substitute through for a null otherwise: a null on a point of a group with no counted Run yet stands beside a through that holds other groups' figures.

Shared shapes

… stands for the path at which the shape is used; each shape gives every place it is used.

Shape definitions

object

How each number is made, in the Method's words, by name.

Used at derivations.series_v1.definitions and derivations.requests_v1.definitions.

….*

string · any number of them

One definition, in the Method's words, under the name of what it defines.

Shape split_fact

object

A fact the Runs record, by name, with the Method's words for it: under split_on, a fact a Series is split into groups on, and where it is read from; under not_split_on, one or more Run fields or dump sections that do not split a Series, and why.

Used at derivations.series_v1.split_on[], derivations.series_v1.not_split_on[] and derivations.requests_v1.split_on[].

….fact

string · required

The fact's name. In split_on, the name under which a group's facts give its value; in not_split_on, the Run fields or dump sections it names, separated by commas when there are more than one.

….what

string · required

In the Method's words: in split_on, what the fact is and where it is read from; in not_split_on, why it does not split a Series.

….section

string · optional

The dump section it is read from, if it is.

Shape left_out

object

Something the Method leaves out of a dump section before it compares the section for the split: the section, and what is left out and why, in the Method's words.

Used at derivations.series_v1.left_out[] and derivations.requests_v1.left_out[].

….section

string · required

The dump section it is left out of.

….what

string · required

What is left out of the section, in the Method's words.

….why

string · required

Why it is left out, in the Method's words.

Shape series_percentiles

object

The 5th, 50th and 95th percentiles of time per repetition and of bytes per second across a set of counted Runs: the Series', or one group's.

time_per_repetition_ns is null when no Run counts; bytes_per_second is null when no counted Run observed a finite bytes per repetition above 0.

Used at derivations.series_v1.percentiles and derivations.series_v1.groups[].percentiles.

….time_per_repetition_ns

object or null · required

Nanoseconds per repetition: each Run's median over its counted samples.

Percentiles of time per repetition across counted Runs.

The Runs behind it are not listed: they are every counted point of the Series (for a group's, the points with the group's letter, counted or not, and of those the counted ones), in order of start, then Run id, as the month files hold them. Every counted Run has a time per repetition. A counted Run's time per repetition is infinite, past a double's range, when it is the mean of its two middle samples' ns_per_repetition and their sum overflows (both near the top of a double's range; no real clock comes near): JSON cannot hold it, so its point shows null, and it is counted here all the same; a percentile taken from it, or interpolated towards it, is null.

….time_per_repetition_ns.count

integer, 1 or more · required

Counted Runs.

….time_per_repetition_ns.p5

number or null · required

The 5th percentile of the counted Runs' times per repetition (count of them), in nanoseconds, by linear interpolation between closest ranks (R type 7).

Null when it is infinite or undefined: taken from, or interpolated towards, an infinite time per repetition.

A number, or null.

….time_per_repetition_ns.p50

number or null · required

The 50th percentile of the counted Runs' times per repetition (count of them), in nanoseconds, by linear interpolation between closest ranks (R type 7).

Null when it is infinite or undefined: taken from, or interpolated towards, an infinite time per repetition.

A number, or null.

….time_per_repetition_ns.p95

number or null · required

The 95th percentile of the counted Runs' times per repetition (count of them), in nanoseconds, by linear interpolation between closest ranks (R type 7).

Null when it is infinite or undefined: taken from, or interpolated towards, an infinite time per repetition.

A number, or null.

….bytes_per_second

object or null · required

Bytes per second: each Run's bytes per repetition × 10^9 / its time per repetition in nanoseconds.

Percentiles of bytes per second across the counted Runs that observed a finite bytes per repetition above 0.

The Runs behind it are not listed: they are every counted point of the Series whose bytes_per_repetition is not null (for a group's, the points with the group's letter, counted or not, and of those the counted ones whose bytes_per_repetition is not null), in order of start, then Run id, as the month files hold them. A Run among them whose bytes per second is infinite, past a double's range (chiefly one whose time per repetition is 0), cannot have it written in JSON: its point shows null, it is counted here all the same, and a percentile taken from it, or interpolated towards it, is null.

….bytes_per_second.count

integer, 1 or more · required

Counted Runs that observed a finite bytes per repetition above 0, a Run with a bytes per second that is not a finite number included.

….bytes_per_second.p5

number or null · required

The 5th percentile of the bytes per second of the counted Runs that observed a finite bytes per repetition above 0 (count of them), by linear interpolation between closest ranks (R type 7).

Null when it is infinite or undefined: taken from, or interpolated towards, a bytes per second that is not a finite number.

A number, or null.

….bytes_per_second.p50

number or null · required

The 50th percentile of the bytes per second of the counted Runs that observed a finite bytes per repetition above 0 (count of them), by linear interpolation between closest ranks (R type 7).

Null when it is infinite or undefined: taken from, or interpolated towards, a bytes per second that is not a finite number.

A number, or null.

….bytes_per_second.p95

number or null · required

The 95th percentile of the bytes per second of the counted Runs that observed a finite bytes per repetition above 0 (count of them), by linear interpolation between closest ranks (R type 7).

Null when it is infinite or undefined: taken from, or interpolated towards, a bytes per second that is not a finite number.

A number, or null.

Shape facts

object

A group's split facts and their values, by the fact's name: for binary and runner, a blob's sha256:<hex>; for samples, the sample count; for image, the image ID; for a dump section something is left out of (cpuid, lscpu, kernel), canonical-json-sha256:<hex>, the sha256 of what remains; for any other section (sys_cpu, process, packages), its blob's sha256:<hex>.

Null for a section the before-dump lacks, or an image ID the Run lacks.

Used at derivations.series_v1.groups[].facts and derivations.requests_v1.groups[].facts.

….*

string, number or null · any number of them

One split fact's value, under the fact's name as split_on gives it; null when the Runs do not record it (a dump section their before-dumps lack, no image ID).

Shape pool

object

Every succeeded request of a set of counted Runs, pooled.

Used at derivations.requests_v1.pool and derivations.requests_v1.groups[].pool.

….runs

integer, 0 or more · required

Counted Runs.

….requests

integer, 0 or more · required

Succeeded requests.

….failed

integer, 0 or more · required

Failed requests, never timed.

….phases

object · required

Each phase pooled, by phase; a phase no request had is absent (dns, connect and tls over a kept connection).

….phases.dns

object (shape pooled_phase) · optional

One phase pooled: its statistics, read from the summed histogram, and the histogram itself.

….phases.connect

object (shape pooled_phase) · optional

One phase pooled: its statistics, read from the summed histogram, and the histogram itself.

….phases.tls

object (shape pooled_phase) · optional

One phase pooled: its statistics, read from the summed histogram, and the histogram itself.

….phases.send

object (shape pooled_phase) · optional

One phase pooled: its statistics, read from the summed histogram, and the histogram itself.

….phases.first_byte

object (shape pooled_phase) · optional

One phase pooled: its statistics, read from the summed histogram, and the histogram itself.

….phases.headers

object (shape pooled_phase) · optional

One phase pooled: its statistics, read from the summed histogram, and the histogram itself.

….phases.body

object (shape pooled_phase) · optional

One phase pooled: its statistics, read from the summed histogram, and the histogram itself.

….phases.total

object (shape pooled_phase) · optional

One phase pooled: its statistics, read from the summed histogram, and the histogram itself.

….failures

list of objects (shape failures) · required

Its counted Runs' failed requests, by where and what kind of failure, with how many.

Each element: Failures of one kind: where (phase), what kind, and how many.

Under failures they are requests that failed; under setups_failed they are setups of a kept connection that failed outside any sample, whose phase and kind are their connection_failed event's phase and error.

….setups_failed

list of objects (shape failures) · required

Setups of a kept connection that failed outside any sample.

Each element: Failures of one kind: where (phase), what kind, and how many.

Under failures they are requests that failed; under setups_failed they are setups of a kept connection that failed outside any sample, whose phase and kind are their connection_failed event's phase and error.

….by

list of objects · required

The pooled figures again for the requests that had each value of a request fact, for each fact that took more than one value among the pool's requests.

….by[].fact

string · required

The request fact's name, one that request_facts lists.

….by[].values

list of objects · required

Each value the fact took among the pool's succeeded requests, in order of the value, with the pooled figures of the requests that had it.

….by[].values[].value

string · required

The value, read from each request as request_facts says.

….by[].values[].runs

integer · required

Counted Runs with at least one succeeded request of this value.

….by[].values[].requests

integer · required

How many of the pool's succeeded requests had this value.

….by[].values[].phases

object (shape phase_stats) · required

Each phase's statistics, by phase; a phase no request had is absent (dns, connect and tls over a kept connection).

….facts

list of objects · required

Every value each request fact took among the pool's succeeded requests, a single value included, with how many requests had it.

….facts[].fact

string · required

The request fact's name, one that request_facts lists.

….facts[].values

list of objects · required

Every value the fact took among the pool's succeeded requests, in order of the value, with how many had it.

….facts[].values[].value

string · required

The value, read from each request as request_facts says.

….facts[].values[].requests

integer · required

How many of the pool's succeeded requests had this value.

Shape phase_stats

object

Each phase's statistics, by phase; a phase no request had is absent (dns, connect and tls over a kept connection).

Used at derivations.requests_v1.newest_points[].phases; ….by[].values[].phases in pool; ….phases in pool_summary.

….dns

object (shape request_stats) · optional

One phase over a set of requests, in nanoseconds: the count of requests, the least and greatest time, and each percentile the count supports (null when it does not), with how many requests are ranked at or above each one reported.

….connect

object (shape request_stats) · optional

One phase over a set of requests, in nanoseconds: the count of requests, the least and greatest time, and each percentile the count supports (null when it does not), with how many requests are ranked at or above each one reported.

….tls

object (shape request_stats) · optional

One phase over a set of requests, in nanoseconds: the count of requests, the least and greatest time, and each percentile the count supports (null when it does not), with how many requests are ranked at or above each one reported.

….send

object (shape request_stats) · optional

One phase over a set of requests, in nanoseconds: the count of requests, the least and greatest time, and each percentile the count supports (null when it does not), with how many requests are ranked at or above each one reported.

….first_byte

object (shape request_stats) · optional

One phase over a set of requests, in nanoseconds: the count of requests, the least and greatest time, and each percentile the count supports (null when it does not), with how many requests are ranked at or above each one reported.

….headers

object (shape request_stats) · optional

One phase over a set of requests, in nanoseconds: the count of requests, the least and greatest time, and each percentile the count supports (null when it does not), with how many requests are ranked at or above each one reported.

….body

object (shape request_stats) · optional

One phase over a set of requests, in nanoseconds: the count of requests, the least and greatest time, and each percentile the count supports (null when it does not), with how many requests are ranked at or above each one reported.

….total

object (shape request_stats) · optional

One phase over a set of requests, in nanoseconds: the count of requests, the least and greatest time, and each percentile the count supports (null when it does not), with how many requests are ranked at or above each one reported.

Shape failures

list of objects

Failures counted by where and what kind: each entry gives a phase, a kind of failure, and how many failed with both.

Each element: Failures of one kind: where (phase), what kind, and how many.

Under failures they are requests that failed; under setups_failed they are setups of a kept connection that failed outside any sample, whose phase and kind are their connection_failed event's phase and error.

Used at derivations.requests_v1.newest_points[].failures and derivations.requests_v1.newest_points[].setups_failed; ….failures and ….setups_failed in pool; ….failures in pool_summary.

…[].phase

string · required

For a request that failed: record when the binary withheld one of its lines (a withheld certificate line, its withheld_event the string certificate, is set aside first, like a certificate event, and is no failure); otherwise request_failed.phase, or response for a complete response whose status is not 2xx.

For a setup of a kept connection that failed (setups_failed): the phase its connection_failed event gives.

…[].kind

string · required

For a request that failed: for record, from the first withheld line in stream order that is not a certificate's, line_withheld_<event> when it names the event it replaced as a word of a-z, 0-9 and _ starting with a letter, and line_withheld when it does not; otherwise request_failed.error, or status_<code>.

For a setup of a kept connection that failed (setups_failed): the error its connection_failed event gives.

…[].count

integer, 1 or more · required

How many failed in that phase with that kind of failure, 1 or more.

Shape pool_summary

object

The pooled figures as they stood through one Run: the counted Runs that started at or before it. What a citation of an earlier moment is checked against.

Used at derivations.requests_v1.newest_points[].through and derivations.requests_v1.newest_points[].group_through_as_of_run.

….runs

integer, 0 or more · required

How many counted Runs it pools.

….requests

integer, 0 or more · required

How many succeeded requests it pools.

….failed

integer, 0 or more · required

How many of its counted requests failed, never timed.

….phases

object (shape phase_stats) · required

Each phase's statistics, by phase; a phase no request had is absent (dns, connect and tls over a kept connection).

….failures

list of objects (shape failures) · required

Its failed requests, by where and what kind of failure, with how many.

Each element: Failures of one kind: where (phase), what kind, and how many.

Under failures they are requests that failed; under setups_failed they are setups of a kept connection that failed outside any sample, whose phase and kind are their connection_failed event's phase and error.

Shape pooled_phase

object

One phase pooled: its statistics, read from the summed histogram, and the histogram itself.

Used at ….phases.dns, ….phases.connect, ….phases.tls, ….phases.send, ….phases.first_byte, ….phases.headers, ….phases.body and ….phases.total in pool.

….count

integer, 0 or more · required

How many requests the figures are of: those of the set that succeeded and had this phase.

….min

number · required

The least of their times, in nanoseconds, exactly.

….max

number · required

The greatest of their times, in nanoseconds, exactly.

….p50

number or null · required

The 50th percentile of their times, in nanoseconds, read from the summed histogram: within 1/128 of the exact percentile of the same requests. Null when count is under 2, too few to support it.

A number, or null.

….p90

number or null · required

The 90th percentile of their times, in nanoseconds, read from the summed histogram: within 1/128 of the exact percentile of the same requests. Null when count is under 10, too few to support it.

A number, or null.

….p95

number or null · required

The 95th percentile of their times, in nanoseconds, read from the summed histogram: within 1/128 of the exact percentile of the same requests. Null when count is under 20, too few to support it.

A number, or null.

….p99

number or null · required

The 99th percentile of their times, in nanoseconds, read from the summed histogram: within 1/128 of the exact percentile of the same requests. Null when count is under 100, too few to support it.

A number, or null.

…["p99.9"]

number or null · required

The 99.9th percentile of their times, in nanoseconds, read from the summed histogram: within 1/128 of the exact percentile of the same requests. Null when count is under 1000, too few to support it.

A number, or null.

….at_or_above

object (shape at_or_above) · required

For each percentile reported, how many requests are ranked at or above it (ties counted by rank).

….histogram

list, each element: list of exactly 2: integer, integer · required

[bin, count] in bin order, no empty bin; the requests' histogram definition says which times each bin holds.

Shape request_stats

object

One phase over a set of requests, in nanoseconds: the count of requests, the least and greatest time, and each percentile the count supports (null when it does not), with how many requests are ranked at or above each one reported.

Used at ….dns, ….connect, ….tls, ….send, ….first_byte, ….headers, ….body and ….total in phase_stats.

….count

integer, 0 or more · required

How many requests the figures are of: those of the set that succeeded and had this phase.

….min

number · required

The least of their times, in nanoseconds, exactly.

….max

number · required

The greatest of their times, in nanoseconds, exactly.

….p50

number or null · required

The 50th percentile of their times, in nanoseconds; null when count is under 2, too few to support it.

In one Run's own statistics, interpolated between its sorted times; in pooled statistics, read from the summed histogram, within 1/128 of the exact percentile.

A number, or null.

….p90

number or null · required

The 90th percentile of their times, in nanoseconds; null when count is under 10, too few to support it.

In one Run's own statistics, interpolated between its sorted times; in pooled statistics, read from the summed histogram, within 1/128 of the exact percentile.

A number, or null.

….p95

number or null · required

The 95th percentile of their times, in nanoseconds; null when count is under 20, too few to support it.

In one Run's own statistics, interpolated between its sorted times; in pooled statistics, read from the summed histogram, within 1/128 of the exact percentile.

A number, or null.

….p99

number or null · required

The 99th percentile of their times, in nanoseconds; null when count is under 100, too few to support it.

In one Run's own statistics, interpolated between its sorted times; in pooled statistics, read from the summed histogram, within 1/128 of the exact percentile.

A number, or null.

…["p99.9"]

number or null · required

The 99.9th percentile of their times, in nanoseconds; null when count is under 1000, too few to support it.

In one Run's own statistics, interpolated between its sorted times; in pooled statistics, read from the summed histogram, within 1/128 of the exact percentile.

A number, or null.

….at_or_above

object (shape at_or_above) · required

For each percentile reported, how many requests are ranked at or above it (ties counted by rank).

Shape at_or_above

object

For each percentile reported, how many requests are ranked at or above it (ties counted by rank).

Used at ….at_or_above in pooled_phase; ….at_or_above in request_stats.

….p50

integer · optional

How many requests are ranked at or above the 50th percentile; absent when it is not reported.

….p90

integer · optional

How many requests are ranked at or above the 90th percentile; absent when it is not reported.

….p95

integer · optional

How many requests are ranked at or above the 95th percentile; absent when it is not reported.

….p99

integer · optional

How many requests are ranked at or above the 99th percentile; absent when it is not reported.

…["p99.9"]

integer · optional

How many requests are ranked at or above the 99.9th percentile; absent when it is not reported.