coz
Version, currently master branch1 version
- master branchlatestJan 7, 2020
github.com/RX14/coz.cr
No description declared in shard.yml.
17 stars
0 dependents
License: MIT
Installation
# Add this to your shard.yml
dependencies:
coz:
github: RX14/coz.cr
branch: mastermaster is a branch, not a release, so this tracks it rather than pinning a version.
Then run:
shards installshard.yml
- Crystal
0.32.1- License
- MIT
- Author
- RX14 <steph@rx14.co.uk>
Dependencies
This version declares no dependencies.
README
# coz.cr
[Coz](https://github.com/plasma-umass/coz) profiling for Crystal.
## Installation
1. Add the dependency to your `shard.yml`:
```yaml
dependencies:
coz:
github: RX14/coz.cr
```
2. Run `shards install`
## Usage
```crystal
require "coz"
# Progress point
Coz.progress
# Named progress point
Coz.progress("foo")
# Latency profiling
Coz.begin("foo")
foo(...)
Coz.end("foo")
# Latency profiling with block
Coz.latency("foo") { foo(...) }
```
Run as usual with `coz run --- ./executable`
## Contributing
1. Fork it (<https://github.com/RX14/coz.cr/fork>)
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create a new Pull Request
## Contributors
- [RX14](https://github.com/RX14) - creator and maintainer
Documentation
Built from the current release. The first visit to a release nobody has asked for starts its build.
Links
This branch
- Branch
master- Seen
- Jan 7, 2020
- Crystal
0.32.1- Indexed
- yes
Dependents
No indexed shard depends on this one yet.
Repository
github.com/RX14/coz.cr
Metadata
- Created
- Aug 12, 2026
- Updated
- Aug 12, 2026
- Synced
- Aug 12, 2026
- Versions
- 1