ProtectedconstructorOptionalisInternalConstructor: booleanStaticcaptureEnables capturing for one frame, then exports data to given path. It also clears the database before and after that.
Filepath that will be extended with a number so that existing files are not overwritten.
StaticclearStaticexportStaticexportExports captured profiling data into Google Chrome about:tracing json format.
Filepath that will be extended with a number so that existing files are not overwritten.
Actual filename of file that was created or empty string if export failed.
StaticstartStaticstop
The ProfilerTools class contains various helper methods that should allow us to quickly and simply control some common profiler functions. It is mainly intended for use from script with simple UI controls or for another quick testing purposes. Scalable and comprihensive solutions should implement ProfilerClient directly and use ProfilerIndex for data preprocessing.