Odin

Spall Prof

To do some simple performance profiling I used the Spall profiler which has client utils included in the Odin Core library at core:prof/spall. Using the example in the Odin docs was really quick and easy to setup in my application code. Then, the output file was easy to read in the Spall web profiler.

Spall profiler

Since I am working on a simple application using Raylib I wanted to profile the amount of time my code spent running for each execution of the main loop (input, update, draw). See the gist or click Read More below to see the util file prof.odin that I created which can just be copy-pasted into my project directory then just a few util functions added to my code to get the profiling working in just a couple of minutes.

Breaking the Cycle

In our modern world, it is so easy to let time pass us by, watching videos, playing games, and doom-scrolling online as fatigue and anxiety build up with no good outlet. Our jobs in tech feel like a constant churn of features and bugs, frameworks and technologies, each new and different yet they all blur together. The many layers and abstractions of software that we must suffer through seem unavoidable. Some try to escape this with side-hustles and startups but even so it means trading time programming for time running a business instead.