Currently it seems that debug_backtrace() is called again and again whenever a new file is included from a phar:// file.
However it should be sufficient to whitelist the path to the phar file once and then take it from the whitelist.
This should slightly improve performance by avoiding doing the debug_backtrace() again and again.