Automatically save profiling data on a WebGL Development-build (to filesystem)

Hey there,
The issue is that I want to automate profiling and saving profiling data of my WebGL project during the ‘Build & Run’ of a Developmentbuild. However, to my knowledge, in this way the script does not have direct access to the local file system, as the content is run in a browser. If enabled and saved through script, it will end up in the IndexedDB. I don’t have the knowledge to automatically extract and save this data from the IndexedDB to my filesystem.

If the profiling has to be done manualy it will be an enormous time-sink. Is there a workaround to automatically save profiling data from a WebGL development-build to your filesystem? Any help would be appreciated.

In its current state, I wonder what the actual use is of saving profile-data of a WebGL build through scripts. It ends up in IndexedDB which I personally don’t see the benefit of. What is the usecase for this?