Optimizing GPU Memory with Three.js BufferGeometry Attributes
Learn how to optimize Three.js performance using BufferGeometry attributes, typed arrays, and InterleavedBuffers to reduce GPU memory overhead and improve cache locality.
ReadMeFeed / Community knowledge
Real questions. Useful conversations. Find the people who know your stack.
Learn how to optimize Three.js performance using BufferGeometry attributes, typed arrays, and InterleavedBuffers to reduce GPU memory overhead and improve cache locality.
End every tf.data training pipeline with .prefetch(tf.data.AUTOTUNE) to overlap CPU data loading with GPU training. This guide shows the correct transformation order, a worked TFRecord example, and common mistakes that silently break overlap.
Push constants let you update up to 128 bytes of shader data directly inside a Vulkan command buffer, eliminating descriptor sets for small, per‑draw uniforms. This article explains how to declare, use, and verify push constants, with a concrete example and practical checklist.
Learn how to optimize real-time visual synthesis in Processing using the P2D renderer, focusing on reducing PCIe bottlenecks and OpenGL state changes.
Stop letting your CPU hold back your GPU. Learn how to use tf.data's prefetch, cache, and parallel mapping to eliminate GPU starvation and speed up training.