Giter Club home page Giter Club logo

cpuperf's Introduction

Cpuperf

a CPU Benchmark tool for the Erlang VM

A simple tool to display the time to do a multi-core computation.

The tool has one parameter: NUM_ITERSthat increases the computation workload if higher.

Usage

git clone https://github.com/bougueil/cpuperf.git
cd cpuperf/
NUM_ITERS=600
./show_vm_cpu_perf $NUM_ITERS

CPU model:  12th Gen Intel(R) Core(TM) i5-1235U
1 CPU,  10 physical cores per CPU, total 12 logical CPU units
System and architecture:
  Elixir version     1.17.0-dev
  Erlang/OTP version 26
  ERTS version       14.1.1
  Compiled for       x86_64-pc-linux-gnu
  Schedulers         12
  Schedulers online  12
Computing time (ms.) to execute 600 iterations : 1291.426

setting the number of schedulers online

./show_vm_cpu_perf $NUM_ITERS 1   # 1 scheduler online

CPU model:  12th Gen Intel(R) Core(TM) i5-1235U
1 CPU,  10 physical cores per CPU, total 12 logical CPU units
NUM_SCHEDULER_ONLINE:1
System and architecture:
  Elixir version     1.17.0-dev
  Erlang/OTP version 26
  ERTS version       14.1.1
  Compiled for       x86_64-pc-linux-gnu
  Schedulers         1
  Schedulers online  1
Computing time (ms.) to execute 600 iterations : 4767.23

cpuperf's People

Contributors

bougueil avatar

Watchers

James Cloos avatar  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.