Compiler optimizations implemented through Abstract Syntax Tree (AST) transformations and graph rewriting, particularly in graph-specific DSLs like StarPlat, have demonstrated substantial speedups ranging from 3.7x to 14.1x over unoptimized baselines.