Adoptable Cookbooks List

Looking for a cookbook to adopt? You can now see a list of cookbooks available for adoption!
List of Adoptable Cookbooks

Supermarket Belongs to the Community

Supermarket belongs to the community. While Chef has the responsibility to keep it running and be stewards of its functionality, what it does and how it works is driven by the community. The chef/supermarket repository will continue to be where development of the Supermarket application takes place. Come be part of shaping the direction of Supermarket by opening issues and pull requests or by joining us on the Chef Mailing List.

Select Badges

Select Supported Platforms

RSS

poise-profiler (3) Versions 1.1.0

A Chef cookbook for profiling performance in CI.

Berkshelf/Librarian
Policyfile
Knife
cookbook 'poise-profiler', '~> 1.1.0'
cookbook 'poise-profiler', '~> 1.1.0', :supermarket
knife cookbook site install poise-profiler
knife cookbook site download poise-profiler
README
Dependencies
Changelog
Quality

Poise-Profiler Cookbook

Build Status Gem Version Cookbook Version Coverage Gemnasium License

A Chef cookbook to display profiling information at the end of the run.

Based on chef-handler-profiler by Joe Miller.

Poise Profiler Timing:
Time          Resource
------------  -------------
    1.018142  execute[sleep 1]
    1.001729  ruby_block[test]
    0.006395  file[/test]

Time          Class
------------  -------------
    1.018142  Chef::Resource::Execute
    1.001729  Chef::Resource::RubyBlock
    0.006395  Chef::Resource::File

Profiler JSON: {"resources":{"ruby_block[test]":1.001729177,"file[/test]":0.006395018,"execute[sleep 1]":1.018141868},"classes":{"Chef::Resource::RubyBlock":1.001729177,"Chef::Resource::File":0.006395018,"Chef::Resource::Execute":1.018141868},"test_resources":{}}

Quick Start

Add recipe[poise-profiler] to your run list or add poise-profiler as a dependency in your metadata.rb.

JSON Output

As shown above, JSON output is available for use with graphing or other trend analysis. To enable this either set the environment variable $CI or the node attribute node['CI'].

Sponsors

Development sponsored by Bloomberg.

The Poise test server infrastructure is sponsored by Rackspace.

License

Copyright 2016, Noah Kantrowitz

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Dependent cookbooks

This cookbook has no specified dependencies.

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

Poise-Profiler Changelog

v1.1.0

  • Chef 13 support.
  • A variety of internal refactoring to support more profiling plugins than just timing.

v1.0.1

  • Only display JSON on CI. This can be set via either an environment variable or node attribute.

v1.0.0

  • Initial release! Core reporting structure is in place, more useful data later.

Collaborator Number Metric
            

1.1.0 failed this metric

Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.

Contributing File Metric
            

1.1.0 failed this metric

Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file

Foodcritic Metric
            

1.1.0 passed this metric

License Metric
            

1.1.0 passed this metric

No Binaries Metric
            

1.1.0 passed this metric

Publish Metric
            

1.1.0 passed this metric

Supported Platforms Metric
            

1.1.0 failed this metric

poise-profiler should declare what platform(s) it supports.

Testing File Metric
            

1.1.0 failed this metric

Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file

Version Tag Metric
            

1.1.0 passed this metric