File tree Expand file tree Collapse file tree 2 files changed +27
-1
lines changed Expand file tree Collapse file tree 2 files changed +27
-1
lines changed Original file line number Diff line number Diff line change @@ -5,8 +5,14 @@ All notable changes to this project will be documented in this file.
5
5
The format is based on [ Keep a Changelog] ( http://keepachangelog.com/ )
6
6
and this project adheres to [ Semantic Versioning] ( http://semver.org/ ) .
7
7
8
+
8
9
## [ Unreleased]
9
10
11
+ No unreleased changes.
12
+
13
+
14
+ ## [ 0.1.0] - 2018-03-02
15
+
10
16
### Added
11
17
12
18
- RSpec tests.
@@ -15,11 +21,17 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
15
21
16
22
- Support for reading gzipped log files.
17
23
24
+ - Support for FlameGraph output.
25
+
18
26
### Changed
19
27
20
28
- Profiled events are now separated by request and Java thread id. Incomplete
21
29
profiles are dropped.
22
30
31
+ - Inclusive and exclusive times are computed for each profile span. Output
32
+ uses exclisive time so that hot spots aren't hidden by spans double
33
+ counting the time taken by their children.
34
+
23
35
### Removed
24
36
25
37
- Dependency on the ` colored ` and ` terminal-table ` gems.
@@ -28,4 +40,11 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
28
40
future, but for now the project will focus on parsing profile data.
29
41
30
42
31
- [ Unreleased ] : https://github.com/Sharpie/puppet-profile-parser/compare/170a9ed...HEAD
43
+ ## [ 0.0.1] - 2014-05-19
44
+
45
+ Initial version by [ Adrien Thebo] ( https://github.com/adrienthebo )
46
+
47
+
48
+ [ Unreleased ] : https://github.com/Sharpie/puppet-profile-parser/compare/0.1.0...HEAD
49
+ [ 0.1.0 ] : https://github.com/Sharpie/puppet-profile-parser/compare/0.0.1...0.1.0
50
+ [ 0.0.1 ] : https://github.com/Sharpie/puppet-profile-parser/compare/53a9d9f...0.0.1
Original file line number Diff line number Diff line change 4
4
require 'optparse'
5
5
6
6
module PuppetProfiler
7
+ VERSION = '0.1.0' . freeze
8
+
7
9
# Utility functions for terminal interaction
8
10
module Tty
9
11
COLOR_CODES = {
@@ -390,6 +392,11 @@ def initialize(argv = [])
390
392
$stdout. puts ( parser . help )
391
393
exit 0
392
394
end
395
+
396
+ parser . on_tail ( '--version' , 'Show version' ) do
397
+ puts VERSION
398
+ exit 0
399
+ end
393
400
end
394
401
395
402
args = argv . dup
You can’t perform that action at this time.
0 commit comments