atdiar / particleui

A library to make frontend app development as simple as possible.
0 stars 0 forks source link

Allow profiling instrumentation and communication (enable pprof usage for wasm apps for instance) #10

Closed atdiar closed 3 months ago

atdiar commented 2 years ago

Currently, the information generated by the runtime doesn't seem to fit the format used by the pprof tool.

It is not that problematic for the wasm target as some profiling can be done in the browser. Besides, with stronger browser wasm integration, that might not make any sense in the future. But that still could have been nice especially when hunting down allocations.

Might be needed in general for ther other targets (but that might be a non-issue since the GOARCH is more traditional/regular.

atdiar commented 1 year ago

For now, it is not possible.

Managed to have pprof work but the dwarf info is not included in the wasm file.

Leaving the issue open for now.

atdiar commented 3 months ago

Seems that this is lower level at the wasm level. For now, we can manage without debuggers.

atdiar commented 3 months ago

Closing