GithubHelp home page GithubHelp logo

puppetlabs / beaker-benchmark Goto Github PK

View Code? Open in Web Editor NEW

This project forked from samwoods1/beaker-benchmark

1.0 58.0 4.0 40 KB

A benchmark and performance monitoring utility for Puppet's Beaker acceptance testing framework.

License: Apache License 2.0

Ruby 100.00%

beaker-benchmark's Introduction

beaker-benchmark

A tool for monitoring performance on a puppet infrastructure node while performing some actions.

Usage

    # Monitor performance on the master while pe-puppetserver is starting up
    test_name('measure_perf_on_puppetserver_start') {
      on(master, 'puppet resource service pe-puppetserver ensure=stopped', true)
      measure_perf_on('start_pe-puppetserver', master) {
        on(master, 'puppet resource service pe-puppetserver ensure=running')
      }
    }

    # Example output:
    Action: measure_perf_on_puppetserver_start_start_pe-puppetserver, Duration: 37.463595
    Avg CPU: 172%, Avg MEM: 1634829, Avg DSK read: 0, Avg DSK Write: 45
    Additional output if include_processes:
      Process pid: 14067, command: '/opt/puppetlabs/server/apps/postgresql/bin/postgres -D /opt/puppetlabs/server/data/postgresql/9.6/data -c log_directory=/var/log/puppetlabs/postgresql'
          Avg CPU: '0', Avg MEM: 48888, Avg DSK read: 0, Avg DSK Write: 48888

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.