{
  "schemaVersion": 1,
  "measuredAt": "2026-11-04T11:26:48.414Z",
  "classification": "Local development benchmark",
  "scope": "This website’s enquiry API and notification queue only; not flagship workflows or client deployments.",
  "environment": {
    "runtime": "v22.22.1",
    "platform": "darwin",
    "architecture": "arm64",
    "http": "loopback HTTP",
    "storage": "temporary SQLite file",
    "smtp": "disposable loopback SMTP receiver"
  },
  "methodology": {
    "command": "npm run benchmark:contact",
    "endpoint": "POST /api/contact",
    "requestCount": 100,
    "concurrency": 1,
    "warmupRequests": 0,
    "backgroundWorkerEnabled": true,
    "timing": "Client request start through complete HTTP acknowledgement body. Includes validation and SQLite commit; excludes SMTP delivery, third-party APIs, frontend rendering and scheduling.",
    "delivery": "After requests complete, flush the queue and check saved records, sent status, local SMTP receipt count and each synthetic sender Reply-To."
  },
  "results": {
    "acknowledgementMs": {
      "p50": 0.877,
      "p95": 2.648,
      "min": 0.576,
      "max": 20.283
    },
    "acceptedRequests": 100,
    "persistedEnquiries": 100,
    "localNotificationsReceived": 100,
    "queueJobsSent": 100
  },
  "samplesMs": [
    20.283,
    4.062,
    6.363,
    2.016,
    2.53,
    2.235,
    1.821,
    2.648,
    5.253,
    2.068,
    1.272,
    1.795,
    0.983,
    1.051,
    1.011,
    0.765,
    2.146,
    2.023,
    0.891,
    0.727,
    1.295,
    0.846,
    0.861,
    0.959,
    0.719,
    1.067,
    1.497,
    0.799,
    0.639,
    0.955,
    0.699,
    0.715,
    0.877,
    1.208,
    0.941,
    1.513,
    0.859,
    0.597,
    0.934,
    0.618,
    0.735,
    0.737,
    0.637,
    1.115,
    1.242,
    0.748,
    0.602,
    0.878,
    0.642,
    0.753,
    0.728,
    0.628,
    1.266,
    1.614,
    1.012,
    1.034,
    0.639,
    0.724,
    0.681,
    0.687,
    1.036,
    1.24,
    0.883,
    0.771,
    0.845,
    0.699,
    0.659,
    0.72,
    0.637,
    0.867,
    1.705,
    0.968,
    1.08,
    1.177,
    0.71,
    0.782,
    0.751,
    0.633,
    1.144,
    1.697,
    0.765,
    0.576,
    0.821,
    0.6,
    0.64,
    0.687,
    0.577,
    0.879,
    1.164,
    0.696,
    0.604,
    0.848,
    0.609,
    1.802,
    0.991,
    0.822,
    1.211,
    2.997,
    0.938,
    0.644
  ],
  "sourceSha256": {
    "scripts/benchmark-contact.mjs": "eb8ebefeadeea20dd78bdad365cda785fad7eb2796bd5c7c7d2fbfbd91e028ec",
    "server/app.mjs": "bb55c298812a6403619d8eab2b57fa60724c6a8d62861e95c295934dc1693f91",
    "server/contact.mjs": "03110dcc378815ddfaaa0c412a5caeaf7dec0721bbaabfecc8a5ac328ce4fa03",
    "server/database.mjs": "4aff359c59a479fcf5f768834f1d4f319c90ae44897fea2ec529b2cfd1b55655",
    "server/mail.mjs": "669be5952dcea08a650634286921458f729ae6c5991fe30e5a780c1b980407ab",
    "server/testing/smtp.mjs": "1e83d43040df883984ac8053469c511b37a538021ee46410ed22b7ef402542de"
  },
  "limitations": [
    "Single local run with synthetic data and sequential requests; not a production load test.",
    "Local SMTP receipt is not Gmail inbox delivery.",
    "No uptime, customer savings, deployed-project count or flagship-system performance was measured.",
    "Results vary with hardware, hosting, concurrency and external providers."
  ]
}
