DioxusLabs / dioxus

Fullstack GUI library for web, desktop, mobile, and more.
https://dioxuslabs.com
Apache License 2.0
18.5k stars 703 forks source link

Collect data about builds with dx and output it somewhere #2333

Open jkelleyrtp opened 2 weeks ago

jkelleyrtp commented 2 weeks ago

Feature Request

While working on the status/health page, I realized we have no simple way of getting all the important stats that someone might care about when building dioxus apps.

This includes:

And more.

This would just let us run the dioxus-cli as a library and get the outputs we need for the status page.

We would also be able to log it into the dx serve status page so folks have a good sense of how big their builds are.

DogeDark commented 2 weeks ago

Is this meant to be telemetry uploaded to a database?

jkelleyrtp commented 2 weeks ago

Is this meant to be telemetry uploaded to a database?

It could be used for telemetry but I mostly want 1) folks to know how big their apps are and 2) benchmark open PRs against main to see if they cause regressions or improvements.

Having telemetry would be nice though, so maybe we could wire that up too.

DogeDark commented 2 weeks ago

There has been the occasional time when I've thought that having a database could be handy. For example the Dioxus Awesome page could be more interactive with one and we could have liveops on the website.