For an input size N=1 million, an O(log N) algorithm performs approximately 20 operations (log₂1,000,000 ≈ 19.9), while an O(N²) algorithm requires 1 trillion operations (1,000,000²), illustrating a difference from microseconds to potentially days or years of computation.