Hey there. I’m writing some functions to solve the Klotski Puzzle from the OCaml MOOC that was offered a couple years ago. Everything type checks and compiles, which is great news, BUT the functions produce a Stack overflow for all puzzles except the simplest ones. So obviously one or more of my functions are causing a bottleneck or so-called “hot spot”. I know that OCaml comes with some profiling tools, but the online documentation is kind of confusing. I just have a regular .ml file. I’m not using any special modules or anything like that. (Well, not entirely true. My .ml file calls some commands from the Graphics library. I just load that into utop when I need it.) Can someone explain step-by-step with a simple example how I could profile my .ml file? I’m kind of confused about this, and it’s something I should do because I don’t know which functions are at the root of the problem. THANK YOU!!!