Skip to content

mhuzaifadev/cpu_performance_benchmarks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

CPU Benchmark Software in Python

The CPU Benchmark Software is a GUI-based application developed in Python for measuring the performance of a CPU by executing a range of benchmark tests. It provides an intuitive graphical user interface, multi-core utilization, thread management, result capturing, reporting, and error handling.

Table of Contents

Introduction

The purpose of the CPU Benchmark Software is to enable computer enthusiasts, system administrators, and developers to evaluate and compare the performance of their CPUs. The software utilizes benchmark tests to measure CPU performance accurately and provides an easy-to-use graphical user interface for interaction.

Features

  • Benchmark Selection: Users can choose from a range of benchmark tests to perform accurate performance measurements.
  • Multi-Core Utilization: The software leverages multiple CPU cores for parallel execution of benchmark tests to maximize performance.
  • Thread Management: Efficient thread management ensures concurrent execution of benchmark tests with thread safety and synchronization.
  • Graphical User Interface (GUI): The software provides an intuitive GUI for easy interaction, allowing users to configure settings, view real-time progress, and analyze results.
  • Result Capturing: Benchmark results for each test are captured and stored for further analysis.
  • Reporting: Detailed reports summarizing the performance of each test are generated.
  • Error Handling: Proper error logging and handling mechanisms are implemented for stable and robust operation.

Requirements

  • Python 3.x
  • Tkinter (included in Python standard library)

Installation

  1. Clone the repository:

    git clone https://github.com/your-username/cpu-benchmark.git
  2. Change to the repository directory:

    cd cpu-benchmark
  3. Install the required dependencies:

    pip install -r requirements.txt

Usage

  1. Run the CPU Benchmark Software:

    python main.py
  2. Select the desired benchmark tests from the provided list.

  3. Click the "Run Benchmark" button to start the benchmarking process.

  4. Monitor the progress and wait for the benchmark tests to complete.

  5. Once the benchmarking process finishes, a report file will be generated with the benchmark results.

Testing

The CPU Benchmark Software includes testing functionality to ensure correct operation. To run the tests, follow these steps:

  1. Install the required testing dependencies:

    pip install -r requirements-test.txt
  2. Run the tests:

    pytest

Contributing

Contributions to the CPU Benchmark Software are welcome! If you encounter any issues, have suggestions, or would like to contribute improvements, please follow these steps:

  1. Fork the repository.

  2. Create a new branch for your feature or bug fix:

    git checkout -b feature/your-feature-name
  3. Commit your changes:

    git commit -m "Add your commit message"
  4. Push the branch to your fork:

    git push origin feature/your-feature-name
  5. Open a pull request with a detailed description of your changes.

License

This project is licensed under the MIT License.


Feel free to customize the ReadMe.md file further to include specific details about your CPU Benchmark Software, such as additional sections, badges, screenshots

, or any other information that you find relevant for your repository.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages