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

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

Open
jkelleyrtp opened this issue Apr 17, 2024 · 3 comments
Open

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

jkelleyrtp opened this issue Apr 17, 2024 · 3 comments
Labels
cli Related to the dioxus-cli program enhancement New feature or request

Comments

@jkelleyrtp
Copy link
Member

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:

  • build timings
  • size of wasm
  • size of assets and compression stats
  • performance metrics / benchmarks (ie cargo bench)
  • passed tests (ie cargo test)
  • time to compile, time to optimize, and time spent generating llvm-ir so we can better diagnose compile times

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.

@jkelleyrtp jkelleyrtp added enhancement New feature or request cli Related to the dioxus-cli program labels Apr 17, 2024
@DogeDark
Copy link
Member

Is this meant to be telemetry uploaded to a database?

@jkelleyrtp
Copy link
Member Author

jkelleyrtp commented Apr 18, 2024

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
Copy link
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cli Related to the dioxus-cli program enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants