Solution
This delay and spiking of delay behavior is expected. Even if the Application Directory function runs in a different thread, there is overhead associated with thread swapping and possibly accessing the file system.
Best practice to use this Application Directory VI is that you will need to run the function once and store the file path.