How to waste CPU like a Professional
mostlynerdless.de·21h·

Or: Hey, keeping the CPU busy for a given amount of time should be easy?

Welcome back to my blog. Last week, I showed you how to profile your Cloudfoundry application, and the week before, how I made the CPU-time profiler a tiny bit better by removing redundant synchronization. This week’s blog post will be closer to the latter, trying to properly waste CPU.

As a short backstory, my profiler needed a test to check that the queue size of the sampler really increased dynamically (see [Java 25’s new CPU-Time Profiler: Queue Sizing (3)](https://mostlynerdless.de/blog/2025/08/25…

Similar Posts

Loading similar posts...