Codex becomes extremely slow and causes severe UI lag when working with many files

Same issue here. I have tried like every single terminal/editor, but I am still unable to use it. Have you guys found some solution to this?