Interactive Source-to-Source Optimizations Validated using Static Resource Analysis | Synapse