hardinfo2 / hardinfo2

System Information and Benchmark for Linux Systems
https://www.hardinfo2.org
Other
105 stars 16 forks source link

command line feature request #46

Open nsrderooy opened 2 months ago

nsrderooy commented 2 months ago

Hi, first of all thanks for this tool.

I would like to make a (few) feature request(s) for the command line options

I think it would be helpful if these features are added

--list-benchmark lists all benchmarks useful for --run-benchmark or --skip-benchmark --run-benchmark 'all' to run all benchmarks instead of just one --synchronize Synchronize before starting --upload synchronize after generating report or running benchmark --accept accept uploading report to server without confirmation

also for the GUI it would be nice to have a button to run all benchmarks at once.

Thanks in advance.

hwspeedy commented 2 months ago

Thanx for feedback, it's much appreciated.

You have some good suggestions and also show that our explanations could be better.

Where to find help for params: hardinfo2 --help man hardinfo2 https://hardinfo2.org/userguide - FAQ and params

Missing CLI params: -l --list-benchmarks lists all benchmarks

Missing GUI params: -a --accept 0/1 start gui, sync info at startup, run all benchmarks and submit benchmarks (argument: close program: 0/1)

Help for the other situations mentioned: To run all benchmarks in CLI: avoid adding the -b switch - default is all benchmarks run.

To Synchronize in CLI at startup, run all benchmarks and submit your benchmark without any further actions needed: hardinfo2 -r -u 1

The skip one benchmark might not be needed - it can be done by running a sequence of singles instead (positive list)

To run all benchmarks in GUI, press the synchronize button.

Testing new feature - Group Benchmark Feature - WIP To benchmark a group of your machines from GUI or CLI and get only those shown on https://hardinfo2.org.

CLI run on all machines: hardinfo2 -r -u MyUniqueUserNote go to web page: https://hardinfo2.org/benchcompare?u=MyUniqueNote

GUI start program like hardinfo2 -u MyUniqueUserNote and press the synchronize button in GUI. go to web page: https://hardinfo2.org/benchcompare?u=MyUniqueUserNote

UserNote: may consists of letters and numbers

Please provide feedback and ideas to this new group benchmarking feature. Problem I see is that your benchmarks could easily be "polluted" by others... But that is also a nice feature - that a group of people all use the same usernote tag and compares against each other. Still they might want to could erase one unwanted from group.... - Ideas are welcome..

nsrderooy commented 2 months ago

Thanks for the feedback I checked both the man page and --help but initially focust on the --help option. But now I see that there are discrepancies between the man page and the --help option;

man page

   -b, --run-benchmark
         run a specific benchmark eg. -b 'FPU FFT'  (Default all benchmarks runs when generate report)

--help

-b, --run-benchmark run single benchmark eg. -b 'FPU FFT' (Default all Benchmarks runs)

The --help is actually not true or I might not understand it correctly, as it shows this error;

hardinfo2 --run-benchmark

Unrecognized arguments. Try ``hardinfo2 --help'' for more information.

also the man page is missing the -w, --very-verbose show all details

nsrderooy commented 2 months ago

Sorry, wrong button...

hwspeedy commented 2 months ago

Thanx, yes we need to clean up more and make "params" user experience better, so good to start a discussion, thanx.

-b is to run a single benchmark - normally not needed.

try: hardinfo2 -b 'FPU FFT' and if you have graphical display: hardinfo2 -b 'GPU Drawing'

hwspeedy commented 2 months ago

Some alignment between the 3 places to get params help:

man page - add -w: https://github.com/hardinfo2/hardinfo2/commit/a2b943993c46a8d84dccd85d3bbb7343ab85b8da

userguide - add -w: https://github.com/hardinfo2/server/commit/a5e84cfc765687f34593cbd6e8c97fe7e095fa1d