aboutsummaryrefslogtreecommitdiff
path: root/modules/benchmark/bench_results.c
AgeCommit message (Collapse)Author
2024-03-18FIX removed os+kernel duplet from hinote, fixed revisionhwspeedy
2024-03-17FIX Adding linux kernel and os to benchmarkhwspeedy
2024-02-27FIX Critical warnings for non JSON membershwspeedy
2024-02-08FIX QLcode - sscanf incorrect checkbigbear
2024-02-08FIX back portsbigbear
2024-02-08PR681 - implicit function declarationbigbear
2024-02-08LICENSE Changed to GPL2+ for project and source code According to approval ↵bigbear
from copyright holders - see: https://github.com/lpereira/hardinfo/issues/530 https://github.com/lpereira/hardinfo/issues/707
2021-11-07Reformat CPU frequency using current localeL Pereira
2021-11-07Use structured data to rebuild CPU Description as wellL Pereira
2021-11-07Use CpuConfigMap to build a CpuConfig on-the-fly, if availableL Pereira
2021-11-07Update copyright informationL Pereira
2021-02-21Add support for NUMA nodesLeandro Pereira
Related to #599.
2021-02-02Remove the ability to load benchmarks.confLeandro Pereira
Now that the sync manager is working fine, and we have the same data in a structured way in JSON files, reading from this legacy format doesn't need to be supported any longer.
2020-06-06Store/send machine type (laptop/desktop/etc) in benchmark resultsLeandro Pereira
2020-05-27Fix display problems with User Note and Extra InfoLeandro Pereira
Fixes #552.
2020-05-13Fix machine ID generation functionLeandro Pereira
Recent cleanups broke this function and the server was rejecting MachineIds.
2020-05-09No need for a `cp` variable when generating bench_result from JSONLeandro Pereira
2020-05-09Load benchmark results from JSON filesLeandro Pereira
2020-05-03Remove redundant check from gen_machine_id()Leandro Pereira
2020-05-03Move "need to cleanup CPU name" code to a helper functionLeandro Pereira
2020-05-03Reindent bench_results.cLeandro Pereira
2019-12-26bench_results: strtoll() -> strtoull() for memory sizesBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2019-12-26bench results: add phys mem if knownBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2019-10-24sysbench memory tweaksBurt P
* Use a larger sample size for sysbench 1.0+ and 64-bit * Store pointer size with bench results * Re-enable single thread memory benchmark Use a larger sample size where available. The small size was chosen because the 32-bit ARM sysbench 0.4x in raspbian can't do more than about ~4G, but the problem is that much more powerful machines burn through that very quickly. The result is in MiB/s so it should still be comparable, but the results should be more stable. Noticed with Ryzen that multi-thread varies significantly based on what threads are used, but benchmark doesn't really have control over that. Signed-off-by: Burt P <pburt0@gmail.com>
2019-08-14bench_results: escape strings in conf linesBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2019-08-14bench_results: add machine_data_versionBurt P
For now 0, but planned changes. Signed-off-by: Burt P <pburt0@gmail.com>
2019-08-14Benchmark: fixes, user_note, verifiable test dataBurt P
* fix zlib display order * fix cryptohash MiB/s calculation * revision and params for other benchmarks * allow attaching user note to bench result with -u * don't inlcude the new result value bits if they are empty/invalid in bench_value_to_str(). bench_value_from_str() doesn't need to be modified. * bench_results: clean old result cpu name for x86 * use problem_marker() from dmi_memory to mark old version bench results * benchmark: verifiable test data size and content - The test data benchmark.data is stored in a file that could be edited to change the size or content. /* to guarantee size */ gchar *get_test_data(gsize min_size); /* to checksum content */ char *md5_digest_str(const char *data, unsigned int len); Signed-off-by: Burt P <pburt0@gmail.com>
2019-07-10benchmark: add extra fields to result for revision and informationBurt P
* add an integer revision field * add an extra information string field * zlib benchmark: new revision[1] is 2, so that old results are obviously old, and now the zlib version string will be stored in extra information. [1] as of 6a8e19a14305079b03e45eeb0580a45104f300dd Signed-off-by: Burt P <pburt0@gmail.com>
2019-06-20move devices/memory to computer/memory usageBurt P
As discussed in https://github.com/lpereira/hardinfo/issues/345 Signed-off-by: Burt P <pburt0@gmail.com>
2018-12-02bench_results: minor fixBurt P
(#298) E: hardinfo no-return-in-nonvoid-function /home/abuild/rpmbuild/BUILD/hardinfo-20181022T194523/modules/benchmark/bench_results.c:137 Signed-off-by: Burt P <pburt0@gmail.com>
2018-11-04benchmark/blowfish: new version of blowfish benchmarkBurt P
The new version uses a fixed time and provides variants for single-thread, multi-thread, and multi-core. A few results are included. Signed-off-by: Burt P <pburt0@gmail.com>
2018-10-02bench_results: bug fix for cpus with mixed configBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2018-05-27benchmark results: add gpu to resultsBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2018-02-27bench_results: store complete bench_valueBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2018-02-27Benchmark results: store threads usedBurt P
Benchmark results store actual number of threads used by benchmark when it was run. Previously, results assumed all available threads were used. Examples: * CPU Fib only uses one * FPU FFT uses 4, 2, or 1 * N-Queens uses 10, 5, 2, or 1 Signed-off-by: Burt P <pburt0@gmail.com>
2018-02-27struct simple_machine renamed to bench_machineBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2017-09-03bench results: Show unknown instead of 0 kB for old resultsBurt P
Other minor tweaks. Signed-off-by: Burt P <pburt0@gmail.com>
2017-08-21bench_results: store int processors/cores/threadsBurt P
In the future, won't have to rely on a translated string. Signed-off-by: Burt P <pburt0@gmail.com>
2017-08-21Add OpenGL Renderer to benchmark result detailsBurt P
For the GPU Drawing benchmark at least, it should give some idea of the graphics capabilities of the machine. This is the only data hardinfo currently has about that. Maybe in the future, more advanced GPU information could be given. Signed-off-by: Burt P <pburt0@gmail.com>
2017-08-21bench_results: fix language translation issues for stored stringsBurt P
* cpu_config string is translated as loaded * if board or cpu_desc is missing, it is left null, stored empty, and translated to (Unknown) only when displayed. Signed-off-by: Burt P <pburt0@gmail.com>
2017-08-21bench_result: changes suggested by LAFPBurt P
* hide bench/name and result * expand note for old results The old version is kept because it is useful for future development. Signed-off-by: Burt P <pburt0@gmail.com>
2017-08-21bench_results: fix cpu clock from id stringBurt P
Old versions of hardinfo used current frequency instead of max frequency. If the cpu id string had a clock rate in it, and it is significantly more than thre reported frequency in the benchmark result, use that. This feature exists in an earlier commit but it was broken. Signed-off-by: Burt P <pburt0@gmail.com>
2017-08-21Benchmark result detailsBurt P
* More information can be saved in benchmark.conf, while still being compatible with older versions. * Selecting a result give additional information about the result and the machine the produced it.