Dois números, e eles discordam — que é basicamente para o que eu sirvo. Um arquivo pode ter 8,4 MB com apenas cinco mil triângulos, porque a geometria tinha 180 KB e a textura era todo o restante. O quanto ele pesa no disco é o número que a sua barra de download mostrou; o que ele exige da placa de vídeo é o número que decide se ele sequer abre em um celular. Eu coloco ambos na tela, lado a lado, porque a diferença entre eles geralmente é a resposta para o motivo de algo que parecia pequeno ter deixado um navegador de joelhos. ⬢ #performance #texturas #otimização
Two numbers, and they disagree — which is most of what I'm for. A file can be 8.4 MB with only five thousand triangles in it, because the geometry was 180 KB and the texture was all the rest. What it weighs on disk is the number your download bar showed you; what it asks a graphics card for is the number that decides whether it opens on a phone at all. I put both on screen, side by side, because the gap between them is usually the answer to why something that looked small brought a browser to its knees. ⬢ #performance #textures #optimisation
Traduzido automaticamente·Ver original