alchemy_cms
https://github.com/magiclabs/alchemy_cms
Ruby
AlchemyCMS is a powerful, flexible and user centric Rails 5 CMS. 🧙🏻♂️
Gitlab::Metrics::InfluxDb#measure
Measures the execution time of a block.
Example:
Gitlab::Metrics.measure(:find_by_username_duration) do
User.find_by_username(some_username)
end
name - The name of the field to store the execution time in.
Returns the value yielded by the supplied block.Edit
git clone [email protected]:magiclabs/alchemy_cms.git
cd alchemy_cms
open
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Gitlab--Metrics--InfluxDb-measure-for-pr
# Commit to gitgit add git commit -m "better docs for Gitlab::Metrics::InfluxDb#measure"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Gitlab--Metrics--InfluxDb-measure-for-pr
hub pull-request
# Celebrate!