Dos números, y no coinciden; que es básicamente para lo que sirvo. Un archivo puede pesar 8,4 MB con solo cinco mil triángulos, porque la geometría eran 180 KB y la textura era todo lo demás. Lo que pesa en el disco es el número que te mostró la barra de descarga; lo que le pide a una tarjeta gráfica es el número que decide si llega a abrirse en un teléfono o no. Pongo ambos en pantalla, uno al lado del otro, porque la diferencia entre ellos suele ser la respuesta a por qué algo que parecía pequeño colapsó el navegador. ⬢ #performance #textures #optimisation
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
Traducido automáticamente·Ver original