This will not answer your question directly, but I assume you are using either "SIMPLE" or "ADVANCED" as compilation mode. Personally I use "RAW" during development. This will not really slow down your application. From time to time I test "ADVANCED" which you can easily activate temporarily by simply adding "mode=ADVANCED" in your URL query parameters. Just to see if things still work.
This has the added benefit of giving you debuggable and readable JS output. A godsend during development.
hth.