Profiling Heaps with Hashlink


#1

Is anyone aware of a method to profile a Hashlink build with something like hxscout? Im not finding much information out there on the subject.


#2

There is still no HL dedicated profiler, although that’s something we want to add at some point.

One thing you can do is to generate HL/C code, and compile and run it through Visual Studio (on Windows) or some other C profiling software on other OS. Profiling in Debug mode should give you a rough estimate of the actual JIT profiling (as JIT performances is somewhere between Release and Debug, maybe -O1 in GCC).