The include_once() function is only really useful if you want to make sure a function is only included once each time a page is loaded. It sounds like your file is only being included once per page as is though.
The only way your could avoid having to run that script on every page load where the results are necessary, would be to cache the results somewhere every so often, and retrieve them from there instead.