alchemy_cms

https://github.com/magiclabs/alchemy_cms

Ruby

AlchemyCMS is a powerful, flexible and user centric Rails 5 CMS. 🧙🏻‍♂️

Gitlab::Profiler.profile

Takes a URL to profile (can be a fully-qualified URL, or an absolute path)
and returns the ruby-prof profile result. Formatting that result is the
caller's responsibility. Requests are GET requests unless post_data is
passed.

Optional arguments:
- logger: will be used for SQL logging, including a summary at the end of
  the log file of the total time spent per model class.

- post_data: a string of raw POST data to use. Changes the HTTP verb to
  POST.

- user: a user to authenticate as. Only works if the user has a valid
  personal access token.

- private_token: instead of providing a user instance, the token can be
  given as a string. Takes precedence over the user option.

Source | Google | Stack overflow

Edit

git clone [email protected]:magiclabs/alchemy_cms.git

cd alchemy_cms

open

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-Gitlab--Profiler-profile-for-pr


# Commit to git

git add git commit -m "better docs for Gitlab::Profiler.profile"


# Open pull request

gem install hub # on a mac you can `brew install hub`

hub fork

git push <your name> -your-name--update-docs-Gitlab--Profiler-profile-for-pr

hub pull-request


# Celebrate!