I mod Harmonix-made Guitar Hero and Rock Band games. In the last couple of days, we just squashed a six-year-old issue we'd been having where the game's rendering would lag a frame when updating a text label that's visible on screen. We discovered the solution was to double-buffer the labels ourselves from the scripting language the game uses, as the label update is not laggy if the label is present but invisible. Now it runs buttery smooth