Topic

performance

Articles on “performance”

6 articles · newest first

  1. Runtime

    Streams Versus Loops: What the JIT Sees

    The same pipeline cost 7.05 times the loop over eight elements and 1.31 times over a million. The ratio everyone quotes is a measurement at a trip count.

    5 min read

  2. Runtime

    The Cost of Optional

    Identical source, five call sites, one JDK 26 run - nothing allocated at the first and twelve bytes at three others. The wrapper is not what decides.

    5 min read

  3. Runtime

    What a Safepoint Actually Stops

    One collection, reported as 2.275 ms by the GC log and 29.6 ms by the safepoint log. The gap is time to safepoint, and each instrument hides a different part of it.

    6 min read

  4. Frameworks

    Where Spring Boot Startup Time Goes

    Startup time is class loading, condition evaluation and JIT warmup in some proportion. Measure the split before reaching for a fix.

    5 min read

  5. Memory

    G1 versus ZGC: What the Pause Numbers Hide

    Sub-millisecond pauses are real, and they are not the whole cost. What the two collectors actually trade, and which numbers to compare instead.

    5 min read

  6. Runtime

    What the JIT Actually Does to Your Hot Loop

    Tiered compilation, on-stack replacement and inlining decide how your loop really runs. Here is how to read those decisions instead of guessing.

    6 min read

Search the site

Arrow keys to move, Enter to open.