{
 "generated": "2026-10-04T09:35:50.833Z",
 "meta": {
  "upstreamVersion": "1.435.8",
  "upstreamCommit": "c9d890a4",
  "compiler": "d8f79ed5",
  "versions": {
   "terser": "5.51.2",
   "esbuild": "0.28.2",
   "rolldown": "1.2.12"
  },
  "modules": {
   "error-tracking": {
    "name": "Exception capture",
    "summary": "Turns thrown values into $exception events",
    "description": "Coerces any thrown value (Error, DOMException, ErrorEvent, promise rejections, plain objects, strings) into PostHog's exception list, parses Chrome, Firefox and Safari stack traces, collapses repeated recursion cycles, attaches chunk ids, and keeps the exception steps buffer.",
    "upstream": "packages/core/src/error-tracking/",
    "port": "src/posthog/core/error-tracking/"
   },
   "user-agent": {
    "name": "Browser, OS and device detection",
    "summary": "Reads $browser, $os and $device_type from the user agent",
    "description": "Detects the browser and its version, the operating system and the device type from a user agent string, as posthog-js does for every event's properties.",
    "upstream": "packages/core/src/utils/user-agent-utils.ts",
    "port": "src/posthog/core/utils/user-agent-utils.lil"
   },
   "autocapture-utils": {
    "name": "Autocapture DOM utilities",
    "summary": "Decides what a click captures and how it is described",
    "description": "The helpers autocapture runs on every click: element chains, which elements and values are safe to capture, sensitive-input checks, class and text extraction.",
    "upstream": "packages/browser-common/src/utils/autocapture-utils.ts",
    "port": "src/posthog/browser-common/utils/autocapture-utils.lil"
   },
   "feature-flags": {
    "name": "Feature flag responses",
    "summary": "Normalizes /flags responses into flag values and payloads",
    "description": "Normalizes /flags responses, in the older and the current format, into flag values, details and payloads; reads a flag's value and variant; trims the properties of $feature_flag_called events.",
    "upstream": "packages/core/src/featureFlagUtils.ts",
    "port": "src/posthog/core/featureFlagUtils.lil"
   },
   "metrics": {
    "name": "Metrics client",
    "summary": "Aggregates counters, gauges and histograms into OTLP",
    "description": "The pre-aggregating metrics client: counts, gauges and histograms per series, a cardinality cap, beforeSend hooks, retry-after backoff and the OTLP payload it sends.",
    "upstream": "packages/core/src/metrics/index.ts",
    "port": "src/posthog/core/metrics/index.lil"
   },
   "uuidv7": {
    "name": "UUIDv7 ids",
    "summary": "Generates the event and session ids",
    "description": "Generates time-ordered UUIDv7 values, the ids posthog-js gives every event and session, and reads the timestamp back out of one.",
    "upstream": "packages/browser-common/src/utils/uuidv7.ts",
    "port": "src/posthog/browser-common/utils/uuidv7.lil"
   },
   "gzip": {
    "name": "Request compression",
    "summary": "Gzips request bodies before they are sent",
    "description": "Compresses request bodies with the browser's CompressionStream, and tells whether gzip is supported and whether a body or request is already gzipped.",
    "upstream": "packages/core/src/gzip.ts",
    "port": "src/posthog/core/gzip.lil"
   }
  },
  "workloads": {
   "error-tracking": {
    "build-properties": "29 inputs through the properties builder: real Chromium errors with causes, an AggregateError, a DOMException, error and rejection events, strings, objects",
    "parse-stacks": "11 Chrome, Firefox and Safari stack strings through the parser",
    "exception-steps": "150 exception steps into the 32 KB buffer"
   },
   "user-agent": {
    "corpus": "OS, browser, device, device type and version for the 606 user agents in posthog-js’s tests",
    "traffic-mix": "the same per-event sequence for 200 events from a modern browser mix"
   },
   "autocapture-utils": {
    "click-pipeline": "43 clicks on a realistic app page through posthog-js’s autocapture flow, with the dead-click and rage-click checks",
    "text-scrub": "scrubbing page text, attributes and 12 network bodies"
   },
   "feature-flags": {
    "flags-v2-reads": "a 64-flag /flags response handled as the client does: normalize, values, payloads, reads, overrides, the flag-called event",
    "flags-v1-storage": "rebuilding stored flags in the older format"
   },
   "metrics": {
    "record-drain": "1,000 samples (histograms, counters, gauges), then drainWindow()",
    "record-flush": "200 samples, then await flush()"
   },
   "uuidv7": {
    "generate": "1,000 uuidv7() calls",
    "timestamp": "1,000 uuid7ToTimestampMs() calls"
   },
   "gzip": {
    "event-batch": "a 30-event batch (61 KB)",
    "replay-snapshot": "a 563 KB replay snapshot"
   }
  },
  "compilerSha256": "68b5d4776ebc3a2ac67b8945846256126285bc7f09f4b2024b40b4aa79dd9d88"
 },
 "results": {
  "compiler": "/home/azureuser/lilscript-work/bin/posthog100-f18/lilscript",
  "date": "2026-10-04T09:15:56.821Z",
  "results": [
   {
    "id": "error-tracking",
    "title": "Exception capture pipeline",
    "upstream": {
     "terser-upstream": {
      "file": "/home/azureuser/posthoglil-work/lil100/showcase/out/lanes/terser-upstream/error-tracking.mjs",
      "seconds": 0.326,
      "raw": 14046,
      "gzip": 5385,
      "brotli": 4911
     },
     "esbuild": {
      "file": "/home/azureuser/posthoglil-work/lil100/showcase/out/lanes/esbuild/error-tracking.mjs",
      "seconds": 0.038,
      "raw": 17510,
      "gzip": 7095,
      "brotli": 6497
     },
     "oxc": {
      "file": "/home/azureuser/posthoglil-work/lil100/showcase/out/lanes/oxc/error-tracking.mjs",
      "seconds": 0.011,
      "raw": 14282,
      "gzip": 5471,
      "brotli": 4997
     }
    },
    "best": {
     "raw": {
      "lane": "terser-upstream",
      "bytes": 14046
     },
     "gzip": {
      "lane": "terser-upstream",
      "bytes": 5385
     },
     "brotli": {
      "lane": "terser-upstream",
      "bytes": 4911
     }
    },
    "lilscript": {
     "raw": {
      "file": "/home/azureuser/posthoglil-work/lil100/showcase/out/raw/error-tracking.mjs",
      "seconds": 3.17,
      "raw": 12903,
      "gzip": 5471,
      "brotli": 4956
     },
     "gzip": {
      "file": "/home/azureuser/posthoglil-work/lil100/showcase/out/gzip/error-tracking.mjs",
      "seconds": 6.06,
      "raw": 13110,
      "gzip": 5356,
      "brotli": 4898
     },
     "brotli": {
      "file": "/home/azureuser/posthoglil-work/lil100/showcase/out/brotli/error-tracking.mjs",
      "seconds": 8.17,
      "raw": 13403,
      "gzip": 5398,
      "brotli": 4875
     }
    },
    "delta": {
     "raw": -8.14,
     "gzip": -0.54,
     "brotli": -0.73
    }
   },
   {
    "id": "user-agent",
    "title": "Browser, OS and device detection",
    "upstream": {
     "terser-upstream": {
      "file": "/home/azureuser/posthoglil-work/lil100/showcase/out/lanes/terser-upstream/user-agent.mjs",
      "seconds": 0.096,
      "raw": 5588,
      "gzip": 2399,
      "brotli": 2189
     },
     "esbuild": {
      "file": "/home/azureuser/posthoglil-work/lil100/showcase/out/lanes/esbuild/user-agent.mjs",
      "seconds": 0.008,
      "raw": 5282,
      "gzip": 2488,
      "brotli": 2280
     },
     "oxc": {
      "file": "/home/azureuser/posthoglil-work/lil100/showcase/out/lanes/oxc/user-agent.mjs",
      "seconds": 0.005,
      "raw": 6047,
      "gzip": 2483,
      "brotli": 2260
     }
    },
    "best": {
     "raw": {
      "lane": "esbuild",
      "bytes": 5282
     },
     "gzip": {
      "lane": "terser-upstream",
      "bytes": 2399
     },
     "brotli": {
      "lane": "terser-upstream",
      "bytes": 2189
     }
    },
    "lilscript": {
     "raw": {
      "file": "/home/azureuser/posthoglil-work/lil100/showcase/out/raw/user-agent-utils.mjs",
      "seconds": 0.42,
      "raw": 5198,
      "gzip": 2330,
      "brotli": 2160
     },
     "gzip": {
      "file": "/home/azureuser/posthoglil-work/lil100/showcase/out/gzip/user-agent-utils.mjs",
      "seconds": 0.49,
      "raw": 5533,
      "gzip": 2239,
      "brotli": 2069
     },
     "brotli": {
      "file": "/home/azureuser/posthoglil-work/lil100/showcase/out/brotli/user-agent-utils.mjs",
      "seconds": 1.83,
      "raw": 5526,
      "gzip": 2223,
      "brotli": 2049
     }
    },
    "delta": {
     "raw": -1.59,
     "gzip": -6.67,
     "brotli": -6.4
    }
   },
   {
    "id": "autocapture-utils",
    "title": "Autocapture DOM utilities",
    "upstream": {
     "terser-upstream": {
      "file": "/home/azureuser/posthoglil-work/lil100/showcase/out/lanes/terser-upstream/autocapture-utils.mjs",
      "seconds": 0.157,
      "raw": 9624,
      "gzip": 3971,
      "brotli": 3560
     },
     "esbuild": {
      "file": "/home/azureuser/posthoglil-work/lil100/showcase/out/lanes/esbuild/autocapture-utils.mjs",
      "seconds": 0.04,
      "raw": 14173,
      "gzip": 6181,
      "brotli": 5544
     },
     "oxc": {
      "file": "/home/azureuser/posthoglil-work/lil100/showcase/out/lanes/oxc/autocapture-utils.mjs",
      "seconds": 0.013,
      "raw": 9865,
      "gzip": 4138,
      "brotli": 3719
     }
    },
    "best": {
     "raw": {
      "lane": "terser-upstream",
      "bytes": 9624
     },
     "gzip": {
      "lane": "terser-upstream",
      "bytes": 3971
     },
     "brotli": {
      "lane": "terser-upstream",
      "bytes": 3560
     }
    },
    "lilscript": {
     "raw": {
      "file": "/home/azureuser/posthoglil-work/lil100/showcase/out/raw/autocapture-utils.mjs",
      "seconds": 1.52,
      "raw": 9203,
      "gzip": 4075,
      "brotli": 3635
     },
     "gzip": {
      "file": "/home/azureuser/posthoglil-work/lil100/showcase/out/gzip/autocapture-utils.mjs",
      "seconds": 2.6,
      "raw": 9502,
      "gzip": 3941,
      "brotli": 3538
     },
     "brotli": {
      "file": "/home/azureuser/posthoglil-work/lil100/showcase/out/brotli/autocapture-utils.mjs",
      "seconds": 6.75,
      "raw": 9409,
      "gzip": 3980,
      "brotli": 3548
     }
    },
    "delta": {
     "raw": -4.37,
     "gzip": -0.76,
     "brotli": -0.34
    }
   },
   {
    "id": "feature-flags",
    "title": "Feature flag response utilities",
    "upstream": {
     "terser-upstream": {
      "file": "/home/azureuser/posthoglil-work/lil100/showcase/out/lanes/terser-upstream/feature-flags.mjs",
      "seconds": 0.045,
      "raw": 2669,
      "gzip": 1118,
      "brotli": 976
     },
     "esbuild": {
      "file": "/home/azureuser/posthoglil-work/lil100/showcase/out/lanes/esbuild/feature-flags.mjs",
      "seconds": 0.009,
      "raw": 2658,
      "gzip": 1145,
      "brotli": 998
     },
     "oxc": {
      "file": "/home/azureuser/posthoglil-work/lil100/showcase/out/lanes/oxc/feature-flags.mjs",
      "seconds": 0.003,
      "raw": 2671,
      "gzip": 1140,
      "brotli": 994
     }
    },
    "best": {
     "raw": {
      "lane": "esbuild",
      "bytes": 2658
     },
     "gzip": {
      "lane": "terser-upstream",
      "bytes": 1118
     },
     "brotli": {
      "lane": "terser-upstream",
      "bytes": 976
     }
    },
    "lilscript": {
     "raw": {
      "file": "/home/azureuser/posthoglil-work/lil100/showcase/out/raw/featureFlagUtils.mjs",
      "seconds": 0.1,
      "raw": 2608,
      "gzip": 1140,
      "brotli": 999
     },
     "gzip": {
      "file": "/home/azureuser/posthoglil-work/lil100/showcase/out/gzip/featureFlagUtils.mjs",
      "seconds": 0.11,
      "raw": 2632,
      "gzip": 1107,
      "brotli": 972
     },
     "brotli": {
      "file": "/home/azureuser/posthoglil-work/lil100/showcase/out/brotli/featureFlagUtils.mjs",
      "seconds": 0.32,
      "raw": 2632,
      "gzip": 1107,
      "brotli": 972
     }
    },
    "delta": {
     "raw": -1.88,
     "gzip": -0.98,
     "brotli": -0.41
    }
   },
   {
    "id": "metrics",
    "title": "Metrics client (OTLP)",
    "upstream": {
     "terser-upstream": {
      "file": "/home/azureuser/posthoglil-work/lil100/showcase/out/lanes/terser-upstream/metrics.mjs",
      "seconds": 0.125,
      "raw": 10409,
      "gzip": 3920,
      "brotli": 3611
     },
     "esbuild": {
      "file": "/home/azureuser/posthoglil-work/lil100/showcase/out/lanes/esbuild/metrics.mjs",
      "seconds": 0.015,
      "raw": 14927,
      "gzip": 5674,
      "brotli": 5170
     },
     "oxc": {
      "file": "/home/azureuser/posthoglil-work/lil100/showcase/out/lanes/oxc/metrics.mjs",
      "seconds": 0.008,
      "raw": 12090,
      "gzip": 4169,
      "brotli": 3817
     }
    },
    "best": {
     "raw": {
      "lane": "terser-upstream",
      "bytes": 10409
     },
     "gzip": {
      "lane": "terser-upstream",
      "bytes": 3920
     },
     "brotli": {
      "lane": "terser-upstream",
      "bytes": 3611
     }
    },
    "lilscript": {
     "raw": {
      "file": "/home/azureuser/posthoglil-work/lil100/showcase/out/raw/index.mjs",
      "seconds": 2.42,
      "raw": 9512,
      "gzip": 4059,
      "brotli": 3681
     },
     "gzip": {
      "file": "/home/azureuser/posthoglil-work/lil100/showcase/out/gzip/index.mjs",
      "seconds": 3.13,
      "raw": 10003,
      "gzip": 3878,
      "brotli": 3584
     },
     "brotli": {
      "file": "/home/azureuser/posthoglil-work/lil100/showcase/out/brotli/index.mjs",
      "seconds": 8.45,
      "raw": 9982,
      "gzip": 3931,
      "brotli": 3569
     }
    },
    "delta": {
     "raw": -8.62,
     "gzip": -1.07,
     "brotli": -1.16
    }
   },
   {
    "id": "uuidv7",
    "title": "UUIDv7 event and session IDs",
    "upstream": {
     "terser-upstream": {
      "file": "/home/azureuser/posthoglil-work/lil100/showcase/out/lanes/terser-upstream/uuidv7.mjs",
      "seconds": 0.082,
      "raw": 2775,
      "gzip": 1271,
      "brotli": 1114
     },
     "esbuild": {
      "file": "/home/azureuser/posthoglil-work/lil100/showcase/out/lanes/esbuild/uuidv7.mjs",
      "seconds": 0.032,
      "raw": 7505,
      "gzip": 3412,
      "brotli": 3016
     },
     "oxc": {
      "file": "/home/azureuser/posthoglil-work/lil100/showcase/out/lanes/oxc/uuidv7.mjs",
      "seconds": 0.013,
      "raw": 3413,
      "gzip": 1609,
      "brotli": 1379
     }
    },
    "best": {
     "raw": {
      "lane": "terser-upstream",
      "bytes": 2775
     },
     "gzip": {
      "lane": "terser-upstream",
      "bytes": 1271
     },
     "brotli": {
      "lane": "terser-upstream",
      "bytes": 1114
     }
    },
    "lilscript": {
     "raw": {
      "file": "/home/azureuser/posthoglil-work/lil100/showcase/out/raw/uuidv7.mjs",
      "seconds": 0.21,
      "raw": 2402,
      "gzip": 1274,
      "brotli": 1117
     },
     "gzip": {
      "file": "/home/azureuser/posthoglil-work/lil100/showcase/out/gzip/uuidv7.mjs",
      "seconds": 0.28,
      "raw": 2442,
      "gzip": 1245,
      "brotli": 1080
     },
     "brotli": {
      "file": "/home/azureuser/posthoglil-work/lil100/showcase/out/brotli/uuidv7.mjs",
      "seconds": 0.48,
      "raw": 2441,
      "gzip": 1256,
      "brotli": 1093
     }
    },
    "delta": {
     "raw": -13.44,
     "gzip": -2.05,
     "brotli": -1.89
    }
   },
   {
    "id": "gzip",
    "title": "Request gzip compression",
    "upstream": {
     "terser-upstream": {
      "file": "/home/azureuser/posthoglil-work/lil100/showcase/out/lanes/terser-upstream/gzip.mjs",
      "seconds": 0.039,
      "raw": 1876,
      "gzip": 981,
      "brotli": 873
     },
     "esbuild": {
      "file": "/home/azureuser/posthoglil-work/lil100/showcase/out/lanes/esbuild/gzip.mjs",
      "seconds": 0.009,
      "raw": 5000,
      "gzip": 2457,
      "brotli": 2202
     },
     "oxc": {
      "file": "/home/azureuser/posthoglil-work/lil100/showcase/out/lanes/oxc/gzip.mjs",
      "seconds": 0.005,
      "raw": 1866,
      "gzip": 981,
      "brotli": 874
     }
    },
    "best": {
     "raw": {
      "lane": "oxc",
      "bytes": 1866
     },
     "gzip": {
      "lane": "terser-upstream",
      "bytes": 981
     },
     "brotli": {
      "lane": "terser-upstream",
      "bytes": 873
     }
    },
    "lilscript": {
     "raw": {
      "file": "/home/azureuser/posthoglil-work/lil100/showcase/out/raw/gzip.mjs",
      "seconds": 0.21,
      "raw": 1847,
      "gzip": 996,
      "brotli": 878
     },
     "gzip": {
      "file": "/home/azureuser/posthoglil-work/lil100/showcase/out/gzip/gzip.mjs",
      "seconds": 0.28,
      "raw": 1879,
      "gzip": 968,
      "brotli": 849
     },
     "brotli": {
      "file": "/home/azureuser/posthoglil-work/lil100/showcase/out/brotli/gzip.mjs",
      "seconds": 0.5,
      "raw": 1865,
      "gzip": 977,
      "brotli": 847
     }
    },
    "delta": {
     "raw": -1.02,
     "gzip": -1.33,
     "brotli": -2.98
    }
   }
  ]
 },
 "files": {
  "files/upstream/terser-upstream/error-tracking.mjs": "24f2ce66e4f082c41cd588320b550a1fb966ca8d72990d4994218a3768a72145",
  "files/upstream/esbuild/error-tracking.mjs": "4e1655de3d0ec06ae3047c2c3274ed936a7d0e1a489556fe92c18d1e9d8334fb",
  "files/upstream/oxc/error-tracking.mjs": "11c04ff295b8679b56f24d71e347fb7bad3abc0f0e51feeab215f1cc2c959bd5",
  "files/lilscript/raw/error-tracking.mjs": "df4b30d8ab57e775dc3f969a049864c75b8a3945a7a9989cb83d8e6a0bcd4b2f",
  "files/lilscript/gzip/error-tracking.mjs": "f87f3021682bc55b3ec85fadd2e9eba02ce2ed9cd984fede3aa88bbcfffd2895",
  "files/lilscript/brotli/error-tracking.mjs": "d4fd8d700ac5678b373faf24153f6b7a60f3d544452dc9f5fbf293a65d29c862",
  "files/upstream/terser-upstream/user-agent.mjs": "e780edad73f989458d9c92454095e7d3fb0d7ec90625cf976e88dd34265a40d2",
  "files/upstream/esbuild/user-agent.mjs": "29e7fbe8af64b8420908e002f4d4a25d2be16ba154050683343b702f5d67c534",
  "files/upstream/oxc/user-agent.mjs": "306af2cc165244701197b20dcb0647b0066e286a336e713e51bdc08c608c26c8",
  "files/lilscript/raw/user-agent.mjs": "3fcf97d2497653da376be3084e6cc275613b70317fd4f7755bd7a728936506cb",
  "files/lilscript/gzip/user-agent.mjs": "8203570cc97918335df436bf7f81686ecce3ed08f610442fcc67d9697e5a5192",
  "files/lilscript/brotli/user-agent.mjs": "420c93c0669694d61954fc89a0d2cff4d8faa7097921c68a6f04fcff2cff6245",
  "files/upstream/terser-upstream/autocapture-utils.mjs": "db2847c7fbf7e14d967472c18e937bf68f7fcac607178442337e0ab01149e833",
  "files/upstream/esbuild/autocapture-utils.mjs": "4c815ada08d7a2ee1e8400016ab0ef9eb0b1b93fe6c7ce6da188dcee037aef01",
  "files/upstream/oxc/autocapture-utils.mjs": "1778e379362d463540c0f968bc8d09b6d9ece17c263905da0d5de6bae7761551",
  "files/lilscript/raw/autocapture-utils.mjs": "7ed75f9083c758237d5810323e2d49a0e02440c0c863d996a4a0d7030cdd74f2",
  "files/lilscript/gzip/autocapture-utils.mjs": "e99c4f59c9df62ed470f903245f3fb3b20d3b29f59d8bf9b52b313802c066d57",
  "files/lilscript/brotli/autocapture-utils.mjs": "f75eaa00e242dba23dc22a8ae511f1cab7d35f3c8708714030df55d12e2418a6",
  "files/upstream/terser-upstream/feature-flags.mjs": "b612be7bdee8d143f1f6ae8a6c85ccac49951eab67bdc47c6c2879b4cae90088",
  "files/upstream/esbuild/feature-flags.mjs": "cfe679120e275e8cdb0355cda6680a897adedd25468d05818b60067349896736",
  "files/upstream/oxc/feature-flags.mjs": "39307c9cd959acdd49e3b8ab484d6bf35dd1235a6ca6f81b3285d3aeb39c667b",
  "files/lilscript/raw/feature-flags.mjs": "92895ec199bb70301e0c298e2366af6c4897dcd7b8fcb59a1b484ba39250eba3",
  "files/lilscript/gzip/feature-flags.mjs": "feff8dd60f66eaf79687690a58543047552f70c38b1d1347738f9d40e4b18683",
  "files/lilscript/brotli/feature-flags.mjs": "feff8dd60f66eaf79687690a58543047552f70c38b1d1347738f9d40e4b18683",
  "files/upstream/terser-upstream/metrics.mjs": "d971268939aca8825a5eb7976b17571964d0058de29cb1d44da13217c3c4562e",
  "files/upstream/esbuild/metrics.mjs": "c2a543e5bd751490c54bacefd7ff8a0ea8d6711258f54a2f39306502b1921f43",
  "files/upstream/oxc/metrics.mjs": "2442a4f9ac3a11184a1cd7aea6c9be1deda522236c6251ecc596a671e6f05f85",
  "files/lilscript/raw/metrics.mjs": "ecd6d3fe0b957e164316df5f91dbcee52e1865b2d13914afe576da1aee4bd81a",
  "files/lilscript/gzip/metrics.mjs": "cb6d61d636b5255f5d718778ddb98c151b33b27b1fd2d16866714229f4e0fa55",
  "files/lilscript/brotli/metrics.mjs": "aef7342ea8558dc95b1f84bae08c933e517089bfce98cf62ea39ba3e05e461ff",
  "files/upstream/terser-upstream/uuidv7.mjs": "c38ca16d461ca2ec7a41e104a436799d6f03bd85c7ebee9becfdca5c4152e988",
  "files/upstream/esbuild/uuidv7.mjs": "52fc1e0734aac99f48f9c2e849070a2111c5cd0118f8f15f59169c2e57e3245a",
  "files/upstream/oxc/uuidv7.mjs": "53a5d7d0477dce9406b222cf5bfa82a7ce4a930951798ef0e0365d91f266d12d",
  "files/lilscript/raw/uuidv7.mjs": "b8d62efb7182429736acfc0c81a9e3b1ae80f7f6c424d20d179f20fefb033887",
  "files/lilscript/gzip/uuidv7.mjs": "d4eb5e8b3d97651cabff895011da85c7f41ecd792b2a363e613a96e54cb3e182",
  "files/lilscript/brotli/uuidv7.mjs": "531031330cd327bdc4d7b77bd150832e5fe07866dd63f551cf65aa34b33cdb14",
  "files/upstream/terser-upstream/gzip.mjs": "0292e9d70e59bafed68bc34330f3209cb8f8f8078443345a841b2787e672e12d",
  "files/upstream/esbuild/gzip.mjs": "4621916eac6695354c0a5289761c7ef1a98b5aea01b9669ba66ddc62d1219e68",
  "files/upstream/oxc/gzip.mjs": "56f861b0d5be24586829bc4225c42b68a6244df392b8d3311af3d5f3a1ed54f3",
  "files/lilscript/raw/gzip.mjs": "b310855e37795b982b409fa5810d58c10bc1dba5fd242eaed14131abc9dfce25",
  "files/lilscript/gzip/gzip.mjs": "111c94549f67061c3e8e2ea637cb77a23b7a3ca879e312c0783166a0f2458a34",
  "files/lilscript/brotli/gzip.mjs": "642167c59d5158e60411827556dcce29c64a23e9e98ad34e8139fea4bf2b450e"
 },
 "perf": {
  "date": "2026-10-04T08:15:41.958Z",
  "environment": {
   "browser": "chromium 139.0.7258.5",
   "headless": true,
   "playwright": "1.54.2",
   "node": "v20.19.0",
   "cpu": "AMD EPYC 7763 64-Core Processor",
   "cores": 8,
   "memoryMB": {
    "total": 15932,
    "freeAtStart": 10128
   },
   "loadAverageAtStart": [
    1.37,
    1.56,
    1.44
   ],
   "host": "EDDOCU-WE-WIN",
   "busyProcessesAtStart": [],
   "timer": {
    "crossOriginIsolated": true,
    "minStepMs": 0.004999995231628418
   },
   "loadAverageAtEnd": [
    2.72,
    2.11,
    1.72
   ],
   "busyProcessesAtEnd": []
  },
  "settings": {
   "samples": 40,
   "warmupBlocks": 2,
   "warmupReps": 5,
   "timedReps": 15,
   "scale": 1,
   "forcedGc": true,
   "variants": [
    "posthog",
    "brotli",
    "gzip",
    "raw",
    "posthog-aa"
   ],
   "smoke": false,
   "order": "Williams square (balanced order and first-order carry-over)",
   "orderRows": [
    [
     "posthog",
     "brotli",
     "posthog-aa",
     "gzip",
     "raw"
    ],
    [
     "brotli",
     "gzip",
     "posthog",
     "raw",
     "posthog-aa"
    ],
    [
     "gzip",
     "raw",
     "brotli",
     "posthog-aa",
     "posthog"
    ],
    [
     "raw",
     "posthog-aa",
     "gzip",
     "posthog",
     "brotli"
    ],
    [
     "posthog-aa",
     "posthog",
     "raw",
     "brotli",
     "gzip"
    ],
    [
     "raw",
     "gzip",
     "posthog-aa",
     "brotli",
     "posthog"
    ],
    [
     "posthog-aa",
     "raw",
     "posthog",
     "gzip",
     "brotli"
    ],
    [
     "posthog",
     "posthog-aa",
     "brotli",
     "raw",
     "gzip"
    ],
    [
     "brotli",
     "posthog",
     "gzip",
     "posthog-aa",
     "raw"
    ],
    [
     "gzip",
     "brotli",
     "raw",
     "posthog",
     "posthog-aa"
    ]
   ],
   "sampleValue": "median of the timed repetitions in one fresh browser context, per inner iteration (one workload unit)",
   "improvement": "median over blocks of 100*(1 - lil/posthog); positive = LilScript faster",
   "interval": "95% percentile bootstrap of that median, 5,000 deterministic resamples of blocks",
   "verdict": "faster if the interval is above 0, slower if below 0, otherwise no clear difference",
   "importScope": "dynamic import of a fresh Blob URL of the module source: parse, compile, evaluate and module scheduling; no network, no code cache",
   "coldScope": "first execution of the workload unit right after import (lazy compilation, cold inline caches)"
  },
  "modules": {
   "error-tracking": {
    "workloads": [
     {
      "module": "Exception capture",
      "name": "import",
      "label": "Import",
      "description": "dynamic import from a fresh Blob URL: parse, compile, evaluate",
      "posthogMs": 1.5650000125169754,
      "lilMs": 1.7650000154972076,
      "improvementPercent": -11.869549508305377,
      "ci": [
       -16.854610908662302,
       -8.511969931315255
      ],
      "verdict": "slower"
     },
     {
      "module": "Exception capture",
      "name": "build-properties",
      "label": "build-properties",
      "description": "29 inputs through the properties builder: real Chromium errors with causes, an AggregateError, a DOMException, error and rejection events, strings, objects",
      "posthogMs": 2.635000005364418,
      "lilMs": 2.6475000083446503,
      "improvementPercent": -0.4761911573864075,
      "ci": [
       -1.50098645413288,
       0.4734855166889207
      ],
      "verdict": "no clear difference"
     },
     {
      "module": "Exception capture",
      "name": "parse-stacks",
      "label": "parse-stacks",
      "description": "11 Chrome, Firefox and Safari stack strings through the parser",
      "posthogMs": 1.7137499898672104,
      "lilMs": 1.7575000002980232,
      "improvementPercent": -2.467391006031594,
      "ci": [
       -3.537107896332148,
       -1.8729259249290031
      ],
      "verdict": "slower"
     },
     {
      "module": "Exception capture",
      "name": "exception-steps",
      "label": "exception-steps",
      "description": "150 exception steps into the 32 KB buffer",
      "posthogMs": 0.9549999833106995,
      "lilMs": 0.9150000214576721,
      "improvementPercent": 4.724442183472,
      "ci": [
       3.456129811170927,
       5.909573404483526
      ],
      "verdict": "faster"
     }
    ]
   },
   "user-agent": {
    "workloads": [
     {
      "module": "Browser, OS and device detection",
      "name": "import",
      "label": "Import",
      "description": "dynamic import from a fresh Blob URL: parse, compile, evaluate",
      "posthogMs": 1.280000001192093,
      "lilMs": 1.2450000047683716,
      "improvementPercent": 4.173913776393118,
      "ci": [
       -0.17845206350406428,
       6.600740467895994
      ],
      "verdict": "no clear difference"
     },
     {
      "module": "Browser, OS and device detection",
      "name": "corpus",
      "label": "corpus",
      "description": "OS, browser, device, device type and version for the 606 user agents in posthog-js’s tests",
      "posthogMs": 4.030000001192093,
      "lilMs": 3.592500001192093,
      "improvementPercent": 11.290340282144223,
      "ci": [
       9.985281187973754,
       12.509339926848916
      ],
      "verdict": "faster"
     },
     {
      "module": "Browser, OS and device detection",
      "name": "traffic-mix",
      "label": "traffic-mix",
      "description": "the same per-event sequence for 200 events from a modern browser mix",
      "posthogMs": 0.9208333343267441,
      "lilMs": 0.7816666662693024,
      "improvementPercent": 15.405405715982322,
      "ci": [
       14.556845792599578,
       15.718170104463518
      ],
      "verdict": "faster"
     }
    ]
   },
   "autocapture-utils": {
    "workloads": [
     {
      "module": "Autocapture DOM utilities",
      "name": "import",
      "label": "Import",
      "description": "dynamic import from a fresh Blob URL: parse, compile, evaluate",
      "posthogMs": 1.5399999916553497,
      "lilMs": 1.5600000023841858,
      "improvementPercent": -4.499296163390742,
      "ci": [
       -7.777460758204768,
       0.853242522165043
      ],
      "verdict": "no clear difference"
     },
     {
      "module": "Autocapture DOM utilities",
      "name": "click-pipeline",
      "label": "click-pipeline",
      "description": "43 clicks on a realistic app page through posthog-js’s autocapture flow, with the dead-click and rage-click checks",
      "posthogMs": 11.824999988079071,
      "lilMs": 11.685000002384186,
      "improvementPercent": 1.1109078140263073,
      "ci": [
       0.04177105457081609,
       2.7043994556978648
      ],
      "verdict": "faster"
     },
     {
      "module": "Autocapture DOM utilities",
      "name": "text-scrub",
      "label": "text-scrub",
      "description": "scrubbing page text, attributes and 12 network bodies",
      "posthogMs": 0.5374999940395355,
      "lilMs": 0.5400000065565109,
      "improvementPercent": -0.47620080801505926,
      "ci": [
       -2.9841268657286313,
       2.3152606266383433
      ],
      "verdict": "no clear difference"
     }
    ]
   },
   "feature-flags": {
    "workloads": [
     {
      "module": "Feature flag responses",
      "name": "import",
      "label": "Import",
      "description": "dynamic import from a fresh Blob URL: parse, compile, evaluate",
      "posthogMs": 1.0975000262260437,
      "lilMs": 1.1274999976158142,
      "improvementPercent": -3.2558150430703092,
      "ci": [
       -9.921790590057055,
       4.0243551500550145
      ],
      "verdict": "no clear difference"
     },
     {
      "module": "Feature flag responses",
      "name": "flags-v2-reads",
      "label": "flags-v2-reads",
      "description": "a 64-flag /flags response handled as the client does: normalize, values, payloads, reads, overrides, the flag-called event",
      "posthogMs": 0.5212500020861626,
      "lilMs": 0.5318749994039536,
      "improvementPercent": -1.4152912059095968,
      "ci": [
       -2.4934909405749273,
       -0.48199721670830753
      ],
      "verdict": "slower"
     },
     {
      "module": "Feature flag responses",
      "name": "flags-v1-storage",
      "label": "flags-v1-storage",
      "description": "rebuilding stored flags in the older format",
      "posthogMs": 0.171875,
      "lilMs": 0.15312499925494194,
      "improvementPercent": 11.573578250804108,
      "ci": [
       7.833817209912352,
       12.431485856801078
      ],
      "verdict": "faster"
     }
    ]
   },
   "metrics": {
    "workloads": [
     {
      "module": "Metrics client",
      "name": "import",
      "label": "Import",
      "description": "dynamic import from a fresh Blob URL: parse, compile, evaluate",
      "posthogMs": 1.344999998807907,
      "lilMs": 1.5250000059604645,
      "improvementPercent": -16.555914249134517,
      "ci": [
       -21.216993320080846,
       -7.487286172884678
      ],
      "verdict": "slower"
     },
     {
      "module": "Metrics client",
      "name": "record-drain",
      "label": "record-drain",
      "description": "1,000 samples (histograms, counters, gauges), then drainWindow()",
      "posthogMs": 1.6137499958276749,
      "lilMs": 1.6000000014901161,
      "improvementPercent": 0.7843148584138981,
      "ci": [
       -0.31130656146879376,
       5.244652626951913
      ],
      "verdict": "no clear difference"
     },
     {
      "module": "Metrics client",
      "name": "record-flush",
      "label": "record-flush",
      "description": "200 samples, then await flush()",
      "posthogMs": 0.5456250011920929,
      "lilMs": 0.48249999806284904,
      "improvementPercent": 11.004646627768883,
      "ci": [
       8.273133678188877,
       13.377833647651277
      ],
      "verdict": "faster"
     }
    ]
   },
   "uuidv7": {
    "workloads": [
     {
      "module": "UUIDv7 ids",
      "name": "import",
      "label": "Import",
      "description": "dynamic import from a fresh Blob URL: parse, compile, evaluate",
      "posthogMs": 1.2025000005960464,
      "lilMs": 1.2124999910593033,
      "improvementPercent": 3.055557444516377,
      "ci": [
       -2.9841268657286313,
       6.027889521752606
      ],
      "verdict": "no clear difference"
     },
     {
      "module": "UUIDv7 ids",
      "name": "generate",
      "label": "generate",
      "description": "1,000 uuidv7() calls",
      "posthogMs": 0.7818749994039536,
      "lilMs": 0.786250002682209,
      "improvementPercent": -0.9719322158319721,
      "ci": [
       -1.9186724974758818,
       0.24001088491886757
      ],
      "verdict": "no clear difference"
     },
     {
      "module": "UUIDv7 ids",
      "name": "timestamp",
      "label": "timestamp",
      "description": "1,000 uuid7ToTimestampMs() calls",
      "posthogMs": 0.270625002682209,
      "lilMs": 0.2737499997019768,
      "improvementPercent": -0.9593710705056768,
      "ci": [
       -2.803983358211526,
       1.376608956395975
      ],
      "verdict": "no clear difference"
     }
    ]
   },
   "gzip": {
    "workloads": [
     {
      "module": "Request compression",
      "name": "import",
      "label": "Import",
      "description": "dynamic import from a fresh Blob URL: parse, compile, evaluate",
      "posthogMs": 1.1024999916553497,
      "lilMs": 1.1099999994039536,
      "improvementPercent": -1.7726382888267334,
      "ci": [
       -9.772609960318835,
       2.4509838725318422
      ],
      "verdict": "no clear difference"
     },
     {
      "module": "Request compression",
      "name": "event-batch",
      "label": "event-batch",
      "description": "a 30-event batch (61 KB)",
      "posthogMs": 2.4137500002980232,
      "lilMs": 2.4124999940395355,
      "improvementPercent": -0.1567396625506423,
      "ci": [
       -1.3455574901019673,
       1.7476088801152756
      ],
      "verdict": "no clear difference"
     },
     {
      "module": "Request compression",
      "name": "replay-snapshot",
      "label": "replay-snapshot",
      "description": "a 563 KB replay snapshot",
      "posthogMs": 14.259999990463257,
      "lilMs": 14.23250000178814,
      "improvementPercent": 0.06996070238526331,
      "ci": [
       -0.3525342311803792,
       0.5793739369233941
      ],
      "verdict": "no clear difference"
     }
    ]
   }
  }
 },
 "tests": {
  "passed": 1076,
  "gated": 1076,
  "modules": {
   "error-tracking": {
    "gated": 241,
    "passed": 241,
    "neither": 0,
    "files": 11
   },
   "user-agent": {
    "gated": 533,
    "passed": 533,
    "neither": 0,
    "files": 1
   },
   "autocapture-utils": {
    "gated": 84,
    "passed": 84,
    "neither": 0,
    "files": 2
   },
   "feature-flags": {
    "gated": 176,
    "passed": 176,
    "neither": 0,
    "files": 3
   },
   "metrics": {
    "gated": 8,
    "passed": 8,
    "neither": 38,
    "files": 1
   },
   "uuidv7": {
    "gated": 11,
    "passed": 11,
    "neither": 0,
    "files": 2
   },
   "gzip": {
    "gated": 23,
    "passed": 23,
    "neither": 0,
    "files": 1
   }
  }
 }
}
