A ppx that instruments OCaml code to produce traces of execution.
Traces can be explored to understand the control flow and see where time is spent in a program.
Traces can be compared to see how a patch affects control flow.
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
let rec fib n = if n <= 1 then n else fib (n - 1) + fib (n - 2) |
|
|
|
let a () = print_endline "a" |
|
let b () = print_endline "b" |
|
let c () = print_endline "c" |
|
|
|
let () = ( |
|
print_int (fib 20); |
|
a (); |
|
b (); |
|
c (); |
|
)
|
|
|