Diff of a program execution trace
Let’s look at a core capability of the AppMap framework: execution traces. What if we could tell how a specific patch affects the execution before even reading and understanding the change?
In this example, we first use appmap-ruby to record the execution of a simple program. Then we modify the program with an optimization, and record it again.
AppMap recordings are processed and fed into the Unix diff
program
to obtain a simple but illuminating
analysis of how the program execution has changed.