Merge pull request #112 from wangxp006/master

Modify release number and release note
This commit is contained in:
Zengkai163
2025-05-22 12:15:56 +08:00
committed by GitHub
4 changed files with 44 additions and 5 deletions

View File

@@ -1,5 +1,5 @@
############################################################################## ##############################################################################
# UnixBench v5.1.3 # UnixBench v6.0.0
# Based on The BYTE UNIX Benchmarks - Release 3 # Based on The BYTE UNIX Benchmarks - Release 3
# Module: Makefile SID: 3.9 5/15/91 19:30:15 # Module: Makefile SID: 3.9 5/15/91 19:30:15
# #

View File

@@ -1,4 +1,4 @@
Version 5.1.3 -- 2011-01-13 Version 6.0.0 -- 2025-05-21
================================================================ ================================================================
To use Unixbench: To use Unixbench:
@@ -27,6 +27,41 @@ For information on adding tests into the benchmark, see "WRITING_TESTS".
===================== RELEASE NOTES ===================================== ===================== RELEASE NOTES =====================================
======================== May 21 ==========================
v6.0.0
Build System Modernization
Introduced support for custom compiler flags via the UB_GCC_OPTIONS environment variable.
Architecture-aware compiler optimization flags (e.g., -march=native, -mcpu=native) for x86, ARM, RISC-V, PowerPC, etc.
Cleaner and more portable Makefile, compatible with GNU Make.
Improved separation of CFLAGS and LDFLAGS with autodetection of platform-specific needs.
Platform & Architecture Enhancements
Added detailed ARM64 CPU detection with support for multiple vendors (ARM, Ampere, Cavium, Apple, etc.).
Improved support for macOS using sysctl and Darwin-specific logic.
Portable CPU core detection using nproc, getconf, and fallback logic.
Improved fallback behavior when /proc/cpuinfo is unavailable.
System Detection and Configuration
Run script now uses FindBin for consistent directory resolution.
Default directories (pgms, results, tmp) are created automatically if missing.
Log file names can now be customized via UB_OUTPUT_FILE_NAME environment variable.
Improved cross-platform compatibility and shell behavior.
Documentation and Licensing
Added official GPL v2 license file.
Rewritten and modernized README.md in Markdown format.
Clear explanation of each benchmark test and history of the project.
Updated contributor credits and project guidelines.
Performance Comparison Guidelines
To ensure meaningful and repeatable benchmarking results, it is strongly recommended to maintain consistency in the following areas when comparing performance
Operating System: Use the same OS distribution and version.
Compiler Options: Use consistent compiler flags across test cases (e.g., -O3, -march=native).
System Configuration: Ensure similar runtime environments (CPU governor, I/O scheduler, background load).
Benchmark Version: Always compare results using the same version of UnixBench
======================== Jan 13 ========================== ======================== Jan 13 ==========================
v5.1.3 v5.1.3

View File

@@ -9,6 +9,10 @@ use File::Path;
use FindBin; use FindBin;
############################################################################
# UnixBench - Release 6.0.0, based on:
# The BYTE UNIX Benchmarks - Release 5.1.3
#
############################################################################ ############################################################################
# UnixBench - Release 5.1.3, based on: # UnixBench - Release 5.1.3, based on:
# The BYTE UNIX Benchmarks - Release 3 # The BYTE UNIX Benchmarks - Release 3
@@ -66,7 +70,7 @@ use FindBin;
############################################################################ ############################################################################
# Version number of the script. # Version number of the script.
my $version = "5.1.3"; my $version = "6.0.0";
# The setting of LANG makes a huge difference to some of the scores, # The setting of LANG makes a huge difference to some of the scores,
# particularly depending on whether UTF-8 is used. So we always set # particularly depending on whether UTF-8 is used. So we always set

View File

@@ -6,9 +6,9 @@
# # # ## # # # # # # # ## # # # # # # # ## # # # # # # # ## # # # #
#### # # # # # ##### ###### # # #### # # #### # # # # # ##### ###### # # #### # #
Version 5.1.3 Based on the Byte Magazine Unix Benchmark Version 6.0.0 Based on the Byte Magazine Unix Benchmark
Multi-CPU version Version 5 revisions by Ian Smith, Multi-CPU version Version 5 revisions by Ian Smith,
Sunnyvale, CA, USA Sunnyvale, CA, USA
January 13, 2011 johantheghost at yahoo period com May 21, 2025 johantheghost at yahoo period com