# Page Resource Budget Auditor Local source edition 1.0.0. Compare browser resource sizes with page budgets. Download a budget report, a ranked resource list and a local browser measurement snippet. ## Run locally Extract the complete ZIP. Use Python 3.12 from a terminal in the extracted directory. The tool uses the Python standard library. python run.py example.json results Use a new output folder for each run. Start with example.json and replace its synthetic values with your own data. Preserve field names, types and units. Files and reports are processed on your computer. ## Inputs Supply budgets in bytes (all or initiator group) and up to 2000 resources with anonymous id, kind and encodedBytes from PerformanceResourceTiming. Allowed groups: script, css, img, link, fetch, xmlhttprequest and other. Null and zero sizes are unknown. This is encoded body size, excluding headers; the main document and unobserved entries are outside scope. Use one completed page capture; ensure the browser resource buffer holds the whole observation. ## Results For a first capture, map performance.getEntriesByType("resource") to rows: id = "r" plus row number, kind = initiatorType (other for unlisted types), encodedBytes = encodedBodySize. COLLECT.js automates this in your browser and returns a payload and a separate local URL map. Submit only payload. BUDGETS.csv flags proven overages and marks unresolved totals incomplete. RESOURCES.csv ranks known byte counts. The results folder includes summary.json and the output files produced by this input. The sample produces: BUDGETS.csv, RESOURCES.csv, COLLECT.js. ## Español · Auditor de presupuestos de carga web Compara tamaños de recursos con los límites de cada página y entrega un script para recopilar mediciones locales. Extrae el ZIP completo y abre una terminal en esa carpeta con Python 3.12. El programa usa la biblioteca estándar de Python. Ejecuta: python run.py example.json resultados Copia example.json para preparar tus datos. Conserva los nombres y tipos de los campos, usa una carpeta de salida nueva y consulta summary.json junto con los archivos generados. La descripción detallada de los campos está en inglés. The included LICENSE covers use and modification for your own personal and commercial projects. This edition includes its source and can run locally after setup.