Open
Description
There many php code variable analyses during twig variable completion, which scans controllers/methods and php file for twig file rendering. On match we have another analyses in function scope for php declarations.
we should cache result eg for 10 seconds or find some event, its a performance killer in nested twig files and larger projects.