dphfox / Fusion

A modern reactive UI library, built specifically for Roblox and Luau.
https://elttob.uk/Fusion/
MIT License
572 stars 102 forks source link

Label computed processor functions in the microprofiler #240

Open ffrostfall opened 1 year ago

ffrostfall commented 1 year ago

As of right now, Computed processor functions are not labelled in the microprofiler. Currently I believe computers use xpcall to run processors- I think this could be easily and quickly modified to have sufficient labelling. Maybe even including additional details within the name such as value.

I think this is a relatively minor code complexity cost for what I believe to be substantially helpful when debugging UI performance.

dphfox commented 1 year ago

I agree - this is probably a good idea.