-
-
Notifications
You must be signed in to change notification settings - Fork 501
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
META | DietPi-Benchmark optional uploads #1927
Comments
@Fourdee Hmm, but needs different handling, as relation between device data and results is needed 🤔. |
Excellent 👍 Once https://github.com/Fourdee/DietPi/issues/1768 is completed, i'll make a start on this. |
Consider implementing this into the stats for each device under the download section of dietpi.com |
Great idea, love it 👍 We'll definitely consider doing this. My PHP experience is somewhat limited, so we may have to simply link the URL in the downloads section. |
@MichaIng Currently, the file exported is below:
|
+ Making a start on survey benchmark: https://github.com/Fourdee/DietPi/issues/1927 @MichaIng Could do with your assistance on pulling this off, eg: how do you want the saved file? Maybe we can link to dietpi-survey upload in some way?
Is it possible for rootfs benchmark to determine what type of hardware like MMC, hard drive, SD card? In addition which interface it's using USB 2. 0, 3. 0, sata... |
Unsure, however, good suggestion, i'll take a look 👍 |
@Fourdee First I agree with @LexiconCode that the values have more meaning, if connected with related hardware info.
About file scheme:
|
We could probably do this using a 2D array?
That way, results are linked to the
I'am still unsure how you scrape the above into the survey file, but, i'd probably do it this way. Using UUID as the array index
Or even:
from
Then we can work with the array's above.
|
- DietPi-Survey | Resolved an issue where dietpi-survey under mode 1 would not generate the survey file. + start of dietpi-benchmark upload: https://github.com/Fourdee/DietPi/issues/1927
+ Survey benchmark testing https://github.com/Fourdee/DietPi/issues/1927
+ Add cpu temps to results: https://github.com/Fourdee/DietPi/issues/1927
+ Start of code for bench results: DO NOT SET LIVE, in testing mode! https://github.com/Fourdee/DietPi/issues/1927
Ok made a start on this code for this, basic code working well. We end up with arrays of:
Which we can use to print some nice HTML stuff afterwards (which I have no clue where to start lol)
Temps not printing once added to array, but the original var is? |
Yep agree, we'll need to wait and see if @userdeveloper98 is up for it :) |
Getting alot of this during update:
lol? Ok we need to check min/max.
|
@Fourdee On earlier versions for it was possible that survey added an empty string as installed software ID. I guess it was due to first run survey, if not .installed file was created yet, or at least nothing yet marked as installed. The other issue is due to DietPi subversion integer being wrong sometimes in updater. So DietPi is actually v6.10+, thus survey uploads new survey file scheme, but version string added is wrong, so no special aSOFTWARE_NAME array exist for this. I anyway though that we could clean the survey files a bid, removing those that were not changed for time X. But not urgent, since the errors above do not break anything, just a few software installs are dropped. |
|
Adding checks for bad files and skipping them 👍
Appears, the upload completes, but file does not exist on server.
Aha Idiot moment, resolved below 🈯️ |
+ Ignore bad files, set large margins for arrays https://github.com/Fourdee/DietPi/issues/1927#issuecomment-405711847
+ Remove debugging/testing : https://github.com/Fourdee/DietPi/issues/1927#issuecomment-426456002
Completed, all issues resolved 🈯️ You can run a quick benchmark and upload with:
View results: |
@Fourdee |
Yep, makes sense, i'll make the change. |
+ Source bench results, optimization: https://github.com/Fourdee/DietPi/issues/1927#issuecomment-427099948
Done, cleaned up and now sourced vars. Tested fine. |
@Fourdee I am thinking as well, if it is okay to bench single devices as well, e.g. CPU only, but then we need to handle empty entries in report. And currently on VM, 1° CPU temperature is shown. Would be good to not only show N/A on report page, but as well in dietpi-benchmark menu header/results window. At best the temp test is simple skipped then in case of empty values, show N/A. |
+ Yes/No before starting benchmark: https://github.com/Fourdee/DietPi/issues/1927#issuecomment-427626467
Completed. |
Hmm, I still think we should allow to run benchmarks without upload. Even that our survey is anonym and safe, I don't like it from end user perspective to be forced to transfer any data. Nothing against reducing options for simplicity, but there should be always a choice, if it's about sharing your data. |
Thought the same eariler.
Ok so:
I'll make the change. |
Completed. |
Similar to dietpi-survey. Have an option to run:
Then option to upload scores to http://dietpi.com/benchmark
Simple database to compare your scores against HW models etc.
@MichaIng
Thoughts?
The text was updated successfully, but these errors were encountered: