Overview

Benchmark small code snippets.

Quick Example

  timeit.timeit('sum(range(100))', number=10000)
  

When to Use

Use this module when you need built-in support without adding third-party dependencies.

Common Tasks

See Also