oracletrace icon indicating copy to clipboard operation
oracletrace copied to clipboard

Add JSON export option for profiling report

Open KaykCaputo opened this issue 1 year ago • 1 comments

Description:

OracleTrace currently outputs profiling results as terminal tables and a call tree. However, there is no way to export the profiling data in a structured format like JSON. Adding JSON export would allow users to integrate OracleTrace with dashboards, CI pipelines, and other automated tools.

Tasks:

  • Add a CLI argument (e.g., --output-json ) to enable JSON export.
  • Serialize profiling data (functions, timings, call counts, call tree) into a JSON-friendly structure.
  • Write unit tests to ensure the JSON output correctly reflects the profiling results.
  • Update the README with documentation and examples of using the JSON export option.

Why this is beginner-friendly:

  • Involves simple serialization logic.
  • Offers an easy entry point into the project’s internal data structures.
  • Improves usability without requiring complex architectural changes.

KaykCaputo avatar Nov 24 '25 14:11 KaykCaputo

Done!

KaykCaputo avatar Mar 02 '26 12:03 KaykCaputo