Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Visualizations for tracing #19

Open
sliminality opened this issue Jun 8, 2018 · 0 comments
Open

Visualizations for tracing #19

sliminality opened this issue Jun 8, 2018 · 0 comments
Labels
instrumentation WebAssembly module instrumentation ux
Milestone

Comments

@sliminality
Copy link
Owner

Ideas from Nick:

  • For a series of captured stacks: a call tree with counts (can be inverted too). For example, trace the stack whenever we call the free function, and then aggregate this into a call stack:
Total Count | Self Count | Stack Frame
------------+------------+----------------------------
        123 |          0 | do_tick
         67 |          0 | ├── physics
         67 |         67 | │   └── destroy_collision_node
         56 |          0 | └── render
         43 |         43 |     ├── finish_draw_rect
         13 |         13 |     └── finish_draw_circle
  • For any scalar data, ie the arguments to and values returned from some functions, we could draw histograms. This would be neat combined with tracing the requested sizes of allocations, for example:
value  ------------- Distribution ------------- count
   16 |                                         0
   32 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@       169
   64 |@@@                                      16
  128 |@@                                       10
  256 |                                         0
@sliminality sliminality added ux instrumentation WebAssembly module instrumentation labels Jun 8, 2018
@sliminality sliminality added this to the P2 milestone Jun 8, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
instrumentation WebAssembly module instrumentation ux
Projects
None yet
Development

No branches or pull requests

1 participant