live · mainnet · every minute

Where the executor spends its time.

For each program: wall-clock nanoseconds per compute unit, live. The Lean client executes every mainnet block. Its workers time each transaction and split the time among the programs it ran. Hot is time in machine code translated earlier; cold is time in transactions where a program's code was being translated as it ran.

transactions–since the executor started
worker time–across 8 workers
wall ns / CU–all programs
top program– 
hotcold
programwall ns / CUtimesharecold callsown CUsBPF instr.x86 code
Loading from the node…

The raw data: /api/programs.json, the top 300 programs by time.

how it is measured

Time by program, from the executor itself.

Counters built into the executor (client/Parallel.lean), cumulative since it last started, refreshed every minute.

own units

Calls between programs, taken apart

Every invocation records the compute units it used. A program's own units are those less the units of the programs it called.

wall ns / CU

Each transaction's time, shared out

A transaction's wall-clock worker time (loading accounts, input, running, calls, the result) is split among its programs by their own units. A program's time divided by its own units is its wall ns per CU.

hot · cold

Translated as it runs

The translator to x86-64 is lazy: a run is translated the first time it executes. Time is cold when a program's machine code grew during the transaction.