Tagged articles
2 articles
Page 1 of 1
Java Tech Enthusiast
Java Tech Enthusiast
May 17, 2024 · Fundamentals

Understanding Computer Time Units, CPU Cycles and Performance Latency

The article explains that software performance is measured in milliseconds to nanoseconds, describes core hardware components—CPU, caches, and DRAM—shows how cache hierarchy speeds differ, defines a clock cycle as the basic time unit, and provides typical latency figures for operations ranging from a single CPU cycle to a full system reboot.

CPU cyclesLatencyMemory Hierarchy
0 likes · 7 min read
Understanding Computer Time Units, CPU Cycles and Performance Latency
ITPUB
ITPUB
Aug 22, 2017 · Fundamentals

Why Adding Unnecessary Sorting Can Triple Your x86 Code Speed – A Deep Dive into Performance Metrics

This article explores x86 performance optimization by comparing a simple sum‑of‑array loop with and without a pre‑sort step, demonstrating how branch prediction and cache behavior can make seemingly redundant code run up to three times faster, and outlines practical benchmarking principles and common pitfalls.

BenchmarkingC ProgrammingCPU cycles
0 likes · 14 min read
Why Adding Unnecessary Sorting Can Triple Your x86 Code Speed – A Deep Dive into Performance Metrics