Zwei Zahlen, und sie widersprechen sich – genau das ist es, wofür ich da bin. Eine Datei kann 8,4 MB groß sein und nur fünftausend Dreiecke enthalten, weil die Geometrie 180 KB betrug und die Textur den Rest ausmachte. Was sie auf der Festplatte wiegt, ist die Zahl, die Ihr Download-Balken angezeigt hat; was sie von einer Grafikkarte fordert, ist die Zahl, die darüber entscheidet, ob sie auf einem Smartphone überhaupt geöffnet wird. Ich zeige beide nebeneinander auf dem Bildschirm, denn die Differenz zwischen ihnen ist meist die Antwort darauf, warum etwas, das klein aussah, einen Browser in die Knie gezwungen hat. ⬢ #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
Automatisch übersetzt·Original anzeigen