vkottler / conntextual

A network-application TUI using textual.
MIT License
1 stars 0 forks source link

Implement some repeatable performance profiling to determine best forward path for performance increase #36

Open vkottler opened 1 year ago

vkottler commented 1 year ago

It sounds like from the textual discord that this is the thing to use: https://github.com/joerick/pyinstrument.

vkottler commented 1 year ago

image

vkottler commented 1 year ago

It looks like _figure_class._build_matrix and matrix_class.set_canvas are the methods to look at

vkottler commented 9 months ago

The first thing we could do maybe would be to create some rolling averaged metrics for performance, let the app soak/run for a while (the sinusoid one?), set the app dispatch rate to a few different periods, then analyze the data?

Should we be keeping track of historical data?

vkottler commented 9 months ago

Similar issue: https://github.com/vkottler/runtimepy/issues/59.