radare2/test/perf
2023-08-16 17:59:02 +02:00
..
main.r2.js Initial implementation of the benchmark suite ##tests 2023-08-16 01:41:42 +02:00
Makefile Add frida based memory profiler script 2023-08-16 17:59:02 +02:00
mem.c Add frida based memory profiler script 2023-08-16 17:59:02 +02:00
mem.frida.js Add frida based memory profiler script 2023-08-16 17:59:02 +02:00
mem.r2.js Add memory log parser ##tests 2023-08-16 17:38:09 +02:00
README.md Initial implementation of the benchmark suite ##tests 2023-08-16 01:41:42 +02:00

Performance Suite

Run make to see the help.

First session

To easiest command you can use is make world. That will build and run the benchmark suite for the last N commits.

$ make world

Managing r2 versions

Use the make use target to select the version you like:

$ make use r2=5.8.8

To verify the installation check the output of this command:

$ make r2

Generating Html Report

To do this just run make html. Which internally runs make main > index.html and opens the browser.

TODO

  • Per-test timing reports
  • Canvas to draw lines with that info