Skip to content

debugger serializes unused information #6

@thetarnav

Description

@thetarnav

Currently, the walker in the debugger package is always serializing all the data.
Even stuff like signal values that are required only initially (later signals are updated separately) are mapped and included in the message sent to the extension.
Figuring out a way to cut unused information out of the walker could save some CPU time.
There are some tricky parts though:

  • Logic for figuring out whether values should be included or not will have its cost too. The optimization may end up not helping at all.
  • The extension isn't the only consumer of the debugger. Other utilities should also get a hold of the required data. What is unused for the extension, may be needed for other APIs.

Issue caused by the previous attempt at this: #3

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requeston holdThis issue is still being considered—but it's development is postponed.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions