barrage_bench 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 097c9fbd0d8d346e3349097744e89817208ed185
4
- data.tar.gz: 5fe331e44ffc000df98202bedeb8fa110fd3c111
3
+ metadata.gz: f4f7fc9c42e61581e474dbff221676d61c3603f5
4
+ data.tar.gz: 290f2eb43f5a5897d8c2be2f6a04d8a51173be91
5
5
  SHA512:
6
- metadata.gz: b2bdbe53d2620a4eb3ae9b90b8f6b2eef4f0c4b66cf6361cf12f2798e93bb9e382c32a53ed0d2bff9a54a9df86220d84ada3d91b45dfaaebfe1d4d6a78336dea
7
- data.tar.gz: e45468d396a8a9efa34f0bbf2bb7d54e43a605bb0970e0e8a97f276ce677e16f8ed1a5de03b9336999fe4909207242a2fa6b062ec6f633013301c6227bb3839b
6
+ metadata.gz: 0cb5574cd051af292ff72da4628d456d111843f9504e126e6f3973b7a4300b065b1d110886032c538a1a1098305a12f913a2e2eebec534566d82060e426d2f20
7
+ data.tar.gz: 23c940df70f8aeb8ad4d30e54b32945ef2d79ff8e07c9abe8e41da1f9690936175de4bf78a30208eaf9da97287c3b7f919c8b57737904bd2a40c5e11537017df
data/README.md CHANGED
@@ -1,7 +1,5 @@
1
- <img src="barrage.jpg" alt="Barrage" width="80" height="80">
1
+ <img src="barrage.jpg" alt="Barrage" width="140" height="140">
2
2
  # Barrage
3
-
4
- ## Introduction
5
3
  Barrage is a benchmarking tool and has the goal to fill the following roles.
6
4
 
7
5
  - Orchestrate running the benchmark on the server and client(s).
@@ -9,12 +7,18 @@ Barrage is a benchmarking tool and has the goal to fill the following roles.
9
7
  - Collect hardware and OS statistics (CPU, memory, disk, network, etc).
10
8
  - Generate graphs.
11
9
 
12
- ## Ideas
10
+ # Ideas
13
11
  My initial thought is Barrage will have an agent and orchestrator mode. Once the benchmark run is complete it will post the benchmark details to a Gist on GitHub including the graphs.
14
12
 
15
- ## Prerequisites
13
+ # Prerequisites
16
14
  Barrage only runs on operating systems with `dstat` and won't work on Mac OSX yet. In the future roles not collecting system metrics won't have this restriction.
17
15
 
18
16
  You need some packages on Linux installed to run Barrage. For example on Ubuntu you will need the following packages.
19
17
 
20
- `sudo apt-get install dstat gnuplot xclip`
18
+ `sudo apt-get install dstat gnuplot xclip`
19
+
20
+ # Installing
21
+ `gem install barrage_bench`
22
+
23
+ # Running
24
+ `barrage capture` and `CTRL-C` will exit the dstat capturing and plot the graphs and post them to imgur and report a link to the image.
@@ -1,3 +1,3 @@
1
- #!/bin/bash
2
- DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
3
- bundle exec ruby $DIR/barrage.rb "$@"
1
+ #!/usr/bin/env ruby
2
+ require 'barrage'
3
+ Barrage::Program.run(ARGV)
@@ -1,3 +1,3 @@
1
1
  module Barrage
2
- VERSION = '0.0.1'
3
- end
2
+ VERSION = '0.0.2'
3
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: barrage_bench
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - kellabyte
@@ -85,7 +85,6 @@ email:
85
85
  - kell.sommers@gmail.com
86
86
  executables:
87
87
  - barrage
88
- - barrage.rb
89
88
  extensions: []
90
89
  extra_rdoc_files: []
91
90
  files:
@@ -96,7 +95,6 @@ files:
96
95
  - barrage.gemspec
97
96
  - barrage.jpg
98
97
  - bin/barrage
99
- - bin/barrage.rb
100
98
  - lib/barrage.rb
101
99
  - lib/barrage/commandline.rb
102
100
  - lib/barrage/cpu.rb
@@ -1,3 +0,0 @@
1
- #!/usr/bin/env ruby
2
- require 'barrage'
3
- Barrage::Program.run(ARGV)