Skip to content

Rust Profiler SQL Dump Feature

Alexander Waitz requested to merge ajwaitz/legion:prof_sql into master

Hi @elliottslaughter

This is a merge request for an "SQL dump" feature in legion_prof_rs, a project I've been working on under the guidance of @rohany. When enabled, the profile analyzer will convert a Legion profile into an DuckDB SQL database. This database can be used for more efficient, programmatic analysis of Legion profiles.

This code has gotten a few rounds of feedback with @rohany and we're looking for additional feedback/review.

Eventually, I would also like to integrate this feature into the visual profiler (to enable users to interact with the visual profiler with SQL as well). If you have any thoughts on the right way to approach/architect this, your feedback there would also be greatly appreciated.

Merge request reports