If you're finding AstroVim is lagging on very large files, it is possible the source of the problem is vim-illuminate.
To determine if it is, run :TSDisable illuminate. Does it solve your problem?
Large file cutoff
If that solved your problem, you can disable illuminate for large files