Giter VIP home page Giter VIP logo

microbench's Introduction

microbench

Extremely Simple Microbenchmarks

To build X86 binaries,

make

To build ARM binaries,

make ARM

To build RISCV binaries,

make RISCV

To build X86, ARM, and RISCV binaries,

make all

To set the path to X86 compiler, change $CC_X86 in make.config file.
To set the path to ARM compiler, change $CC_ARM in make.config file.
To set the path to RISCV compiler, change $CC_RISCV in make.config file.

The binaries are named bench.X86, bench.ARM, and bench.RISCV on each subdirectory.

From the original README file,

Hi,

This is an extremely simple microbenchmark suite.

Its intended purpose is in the validation of general purpose out-of-order
cores, by targetting individual micro-architectural features or effects.
Of course this is by no means an exhaustive collection of necessary bencharks
to test every mechanism in an OOO processor. This is merely a starting point.

To use this, you should only need bash, make and python.

Configure the versions of the compiler and python (tested with python-2.7):

vim make.config

To make the benchmarks:

make

Clean the benchmarks:

make clean

Describe basically what each benchmark is for:

describe.sh

Run a benchmark: (no args on any current benchmark)

cd CCa
./test

Tony Nowatzki
Tuesday, April 14th, 2015

PS: Also, some benchmarks use an LFSR setting to get a particular working set.
Please see lfsr_settings.txt for example values. (bench ML2 uses this)

microbench's People

Contributors

mahyarsamani avatar tony-nowatzki 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.