{
  "schema": "kotobase.benchmark.biscuit-auth-query.v1",
  "observedAt": "2026-09-08T01:23:19.135Z",
  "environment": {
    "authnUrl": "https://auth.kotobase.net",
    "apiUrl": "https://kotobase.net",
    "runtime": "Node 26.7.0",
    "clientRegion": "not independently geolocated",
    "protocol": "sequential HTTPS through Node fetch; HTTP version not measured"
  },
  "workload": {
    "authentication": "EIP-4361 SIWE with a real secp256k1 EIP-191 signature",
    "authorization": "Biscuit v3 scoped to one tenant, graph, holder, expiry, data:read, and data:write",
    "samplesPerSeries": 100,
    "excludedWarmupsPerSeries": 5,
    "database": "biscuit-query-1788830505697",
    "writes": 1,
    "datomsWritten": 2,
    "query": "two-pattern Datalog point selection returning the inserted marker",
    "entitiesWritten": 1
  },
  "correctness": {
    "siweValid": true,
    "biscuitIssued": true,
    "gatewayBiscuitValid": true,
    "directGraphMode": false,
    "transactionStatus": 200,
    "queryStatus": 200,
    "markerReadBack": true,
    "readAuditReceiptCid": "bafyreihiecylbblrhkwg23xfduk72jidgcebc5opj3l25uf6dnqn7onq7y",
    "readAuditRequiredAndObserved": null
  },
  "firstObservedMs": {
    "siweOptions": 145.03,
    "siweVerifyAndSessionIssue": 437.83,
    "authenticatedWrite": 1806.39,
    "authenticatedQueryReadBack": 1009.52
  },
  "series": {
    "biscuitIssuance": {
      "requests": 100,
      "successes": 100,
      "statusCounts": {
        "201": 100
      },
      "colos": [
        "NRT"
      ],
      "latencyMs": {
        "min": 26.33,
        "p50": 32.23,
        "p95": 110.02,
        "p99": 123.46,
        "max": 144.59,
        "mean": 39.13
      }
    },
    "biscuitVerification": {
      "requests": 100,
      "successes": 100,
      "statusCounts": {
        "200": 100
      },
      "colos": [
        "NRT"
      ],
      "latencyMs": {
        "min": 14.81,
        "p50": 18.26,
        "p95": 80.78,
        "p99": 105.49,
        "max": 105.64,
        "mean": 23.95
      }
    },
    "authenticatedWarmQuery": {
      "requests": 100,
      "successes": 100,
      "statusCounts": {
        "200": 100
      },
      "colos": [
        "NRT"
      ],
      "latencyMs": {
        "min": 650.7,
        "p50": 741.67,
        "p95": 961.66,
        "p99": 1073.58,
        "max": 3667.31,
        "mean": 793.79
      }
    }
  },
  "method": {
    "percentile": "nearest-rank over successful measured requests",
    "concurrency": 1,
    "connectionPolicy": "Node fetch connection reuse; no forced cache clear",
    "secretsRecorded": false
  },
  "limitations": [
    "This is a single-client production edge latency sample, not a throughput or capacity test.",
    "First observed is not claimed as a controlled cold-cache measurement.",
    "The query is a small point-selection workload; it does not represent multi-hop LDBC traversal.",
    "Results include internet and Cloudflare edge latency from the client region."
  ],
  "provenance": {
    "repositoryCommit": "af43a69fa166fa6ae7fd14bc8d96198118755544",
    "harnessSha256": "f8c463baede80afb2ffa88ab22fd32955f449ce830fe014be3a88cbaaf1f8094",
    "measuredQueryMarkerCheckedEveryResponse": true,
    "metadataCorrection": "Metadata correction after measurement: the harness declared 3 datoms by counting all map fields; :db/id is the entity identifier, leaving 2 asserted attributes. Latency samples are unchanged."
  }
}
