Skip to content

Commit

Permalink
Version 0.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Sharpie committed Mar 2, 2018
1 parent 6ac2976 commit 42b5993
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 1 deletion.
21 changes: 20 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,14 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/)
and this project adheres to [Semantic Versioning](http://semver.org/).


## [Unreleased]

No unreleased changes.


## [0.1.0] - 2018-03-02

### Added

- RSpec tests.
Expand All @@ -15,11 +21,17 @@ and this project adheres to [Semantic Versioning](http://semver.org/).

- Support for reading gzipped log files.

- Support for FlameGraph output.

### Changed

- Profiled events are now separated by request and Java thread id. Incomplete
profiles are dropped.

- Inclusive and exclusive times are computed for each profile span. Output
uses exclisive time so that hot spots aren't hidden by spans double
counting the time taken by their children.

### Removed

- Dependency on the `colored` and `terminal-table` gems.
Expand All @@ -28,4 +40,11 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
future, but for now the project will focus on parsing profile data.


[Unreleased]: https://github.com/Sharpie/puppet-profile-parser/compare/170a9ed...HEAD
## [0.0.1] - 2014-05-19

Initial version by [Adrien Thebo](https://github.com/adrienthebo)


[Unreleased]: https://github.com/Sharpie/puppet-profile-parser/compare/0.1.0...HEAD
[0.1.0]: https://github.com/Sharpie/puppet-profile-parser/compare/0.0.1...0.1.0
[0.0.1]: https://github.com/Sharpie/puppet-profile-parser/compare/53a9d9f...0.0.1
7 changes: 7 additions & 0 deletions profile-parser.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
require 'optparse'

module PuppetProfiler
VERSION = '0.1.0'.freeze

# Utility functions for terminal interaction
module Tty
COLOR_CODES = {
Expand Down Expand Up @@ -390,6 +392,11 @@ def initialize(argv = [])
$stdout.puts(parser.help)
exit 0
end

parser.on_tail('--version', 'Show version') do
puts VERSION
exit 0
end
end

args = argv.dup
Expand Down

0 comments on commit 42b5993

Please sign in to comment.