feat: Números measures the site and the Prumo (0.12)

The browser records page load, upload speed and bytes, Prumo's check and
the loose-art montage; the quote keeps them and Números shows average and
p95 per period. Print generation and the payment-to-card time come from
the database. The upload bar already estimates its remaining time.
This commit is contained in:
Cauê Faleiros
2026-11-06 11:09:36 -03:00
parent 945c9e366a
commit 6351a094f4
11 changed files with 170 additions and 3 deletions

View File

@@ -100,6 +100,10 @@ async function marcaResiduos(x){
}
async function sel(fs){
if(!fs.length) return;
const T=window.dtfTimings;
if(T){const now=performance.now();
if(T.montageStart==null)T.montageStart=now;
if(T.analysisStart==null)T.analysisStart=now;}
fs=await Promise.all(fs.map(nomeReal));
// Pixels cannot tell a loose artwork from a finished sheet, so the customer
// declares it by choosing the product in the selector above. The declaration is