0.01
No release in over 3 years
Low commit activity in last 3 years
Used to monitor performance on a puppet infrastructure node in a Beaker test
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 0.6
~> 0.10
~> 10.1
~> 3.0
>= 0
>= 0

Runtime

 Project Readme

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