GithubHelp home page GithubHelp logo

8005-a1-pt-benchmarker's Introduction

#8005-a1-pt-benchmarker

This project is a benchmarking tool that measures the timelapse differences between processes and threads. The project is configured to work best in the CLion IDE from JetBrains. As the project is based out of the included CMake file included though it can be compiled from there aswell.

#Setup To setup:

  1. Clone the repo with CLion

  2. Select Run > Run. You will be prompted with 2 build options

    1. 8005-a1-pt-benchmarker will build the benchmarker to test threads on your system
    2. p8005-a1-pt-benchmarker will build the benchmarker to test processess on your system
  3. After compilation has completed the program will run. The .idea folder contains meta information that has configured the program to run passing the number 143. The program will solve the 2 prime numbers that make up this number (11 and 13).

  4. The project will create a bin folder within the project root which will contain the compiled version of the program. Upon completion of the benchmark execution a syslog.log file will be generated containing formal output of the benchmark results. It will list in milliseconds the time it took for each calculation along with the amount of time it took from start to find each prime number making up the passed in number

#Run To run the program simply requires the following parameter passed at execution

./8005_a1_pt_benchmarker -n 143

The -n parameter followed by a number is the number the benchmarker will try to decompose and find the prime numbers that make up this passed in number. Please only pass in numbers that are the product of two prime numbers.

#Potential Bugs The project uses the GMP math library and the POSIX thread library. If these libraries have not been included on your system you may run into issues. The CMake file has been configured so as to include these libraries at compile time, so you should hopefully receive errors about these missing libraries at compile time.

8005-a1-pt-benchmarker's People

Contributors

bensoer avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.