Skip to content

Selective tracing: Allow fine-grained/dynamic control of what is traced and what isn't #219

Open
@Domiii

Description

@Domiii

Explaination

  • When executing a lot of stuff (e.g. long loops or high FPS games etc), things will get slow

    • Instead of recording everything, we might want to be able to choose what to record, and when.
    • For example: Dbux probably won't really work at all if you run it on a 30+FPS game.
      • In that case, we might want to be very strategic in telling Dbux to only record: (i) initialization, (ii) a select few other functions and then (iii) several frames of the gameloop for our analysis.
  • NOTE: We currently have hardcoded *disabled settings in RuntimeMonitor.

What to do:

  • Add ability to easily conrol (e.g. via the Call Graph and other interfaces) to tell Dbux which contexts and/or context roots to trace.
  • Add sample-based tracing: only sometimes trace pieces of code with many, many executions
    • E.g.: "trace only the next N (e.g. 10) executions" of any context and/or context root (initially and again whenever some UI button is clicked)
    • This would be important for high-FPS situations

Metadata

Metadata

Assignees

No one assigned

    Labels

    a-lot-of-workThis issue requires a lot of work, and is by no means easily taken care ofdiscussionWARNING: **This issue is only to collect well-thought-out and researched commentary.** If you want tenhancementNew feature or requestfuture-workhelp wantedExtra attention is neededperformancePerformance of runtime analysis tools can be quite a nuisance.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions