typelevel / typelevel/cats-effect
Profile IO
Nobody has claimed this yet.
- Dominant language
- Scala
- Stars
- 2.2k
- Forks
- 576
- Avg merge
- 2d 11h
- Merged PRs (30d)
- 18
Description
We should profile the new IO with our recently acquired YourKit license. The most important things we should be looking out for:
- Eliminate memory leaks
- Eliminate CPU bottlenecks
- Reduce object allocation rate
I'm not sure if we can reuse some of the JMH benchmarks here, but maybe its worth creating a suite of profiling tests that we can more easily hook up the YourKit agent to. We should definitely profile starting and terminating/cancelling fibers.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the existing JMH benchmarks and determine whether they can be used with the YourKit agent. Focus profiling on fiber startup and termination or cancellation, measuring memory leaks, CPU bottlenecks, and object allocation rate. Done means the relevant profiling coverage or repeatable profiling suite produces actionable results for these areas.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- scala
- Domain
- performance
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100