ilusm.dev

pfl

lightweight profiling domain (wall-time based).

Load with: use pfl

Quick example

use pfl

result = pflsp("hello")
prn(result)

Functions

Functions

pflno()

Performs the operation.

pflsp(name)

Performs the operation. Takes name.

pflsp(sp)

Performs the operation. Takes sp.

pflti(label, fn)

Performs the operation. Takes label, fn.

pflbe(n, thunk)

Performs the operation. Takes n, thunk.

pflnm(label, thunk)

Performs the operation. Takes label, thunk.

Notes

  • Profiling - CPU sampling, call graph, flame data.