https://github.com/test-prof/test-prof
Ruby Tests Profiling Toolbox
https://github.com/test-prof/test-prof
Keywords
hacktoberfest profiling rails rspec ruby testing
Keywords from Contributors
activerecord activejob mvc static-code-analysis code-formatter rubocop crash-reporting rack ruby-gem multithreading
Last synced: about 20 hours ago
JSON representation
Repository metadata
Ruby Tests Profiling Toolbox
- Host: GitHub
- URL: https://github.com/test-prof/test-prof
- Owner: test-prof
- License: mit
- Created: 2017-05-18T16:08:16.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2026-02-03T17:04:55.000Z (28 days ago)
- Last Synced: 2026-02-17T07:58:51.933Z (15 days ago)
- Topics: hacktoberfest, profiling, rails, rspec, ruby, testing
- Language: Ruby
- Homepage: https://test-prof.evilmartians.io/
- Size: 18.5 MB
- Stars: 2,006
- Watchers: 11
- Forks: 166
- Open Issues: 2
- Releases: 21
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Funding: .github/FUNDING.yml
- License: LICENSE.txt
README.md
Ruby Tests Profiling Toolbox
TestProf is a collection of different tools to analyze your test suite performance.
Why does test suite performance matter? First of all, testing is a part of a developer's feedback loop (see @searls talk) and, secondly, it is a part of a deployment cycle.
Simply speaking, slow tests waste your time making you less productive.
TestProf toolbox aims to help you identify bottlenecks in your test suite. It contains:
-
Plug'n'Play integrations for general Ruby profilers (
ruby-prof,stackprof) -
Factories usage analyzers and profilers
-
ActiveSupport-backed profilers
-
RSpec and minitest helpers to write faster tests
-
RuboCop cops
-
etc.
📑 Documentation
Who uses TestProf
- Discourse reduced ~27% of their test suite time
- Gitlab reduced 39% of their API tests time and improved factories usage
- CodeTriage
- Dev.to
- Open Project
- ...and others
Resources
-
Paris.rb, 2018, "99 Problems of Slow Tests" talk [video, slides]
-
BalkanRuby, 2018, "Take your slow tests to the doctor" talk [video], slides]
-
RailsClub, Moscow, 2017, "Faster Tests" talk [video (RU), slides]
Installation
Add test-prof gem to your application:
group :test do
gem "test-prof", "~> 1.0"
end
And that's it)
Supported Ruby versions:
-
Ruby (MRI) >= 2.7.0 (NOTE: for Ruby 2.2 use TestProf < 0.7.0, Ruby 2.3 use TestProf ~> 0.7.0, Ruby 2.4 use TestProf <0.12.0, Ruby 2.5-2.6 use TestProf < 1.3)
-
JRuby >= 9.3.0
Supported RSpec version (for RSpec features only): >= 3.5.0 (for older RSpec versions use TestProf < 0.8.0).
Usage
Check out our docs.
What's next
Have an idea? Propose a feature request!
Already using TestProf? Share your story!
License
The gem is available as open source under the terms of the MIT License.
Owner metadata
- Name: Test Prof
- Login: test-prof
- Email:
- Kind: organization
- Description: Ruby tests profiling and optimization toolbox
- Website: https://test-prof.evilmartians.io/
- Location:
- Twitter:
- Company:
- Icon url: https://avatars.githubusercontent.com/u/60118334?v=4
- Repositories: 8
- Last ynced at: 2024-05-10T21:57:14.276Z
- Profile URL: https://github.com/test-prof
GitHub Events
Total
- Pull request event: 19
- Fork event: 7
- Issues event: 17
- Watch event: 97
- Issue comment event: 44
- Push event: 31
- Pull request review comment event: 1
- Pull request review event: 3
- Create event: 2
Last Year
- Pull request event: 14
- Fork event: 5
- Issues event: 9
- Watch event: 73
- Issue comment event: 17
- Push event: 12
- Pull request review comment event: 1
- Pull request review event: 2
Committers metadata
Last synced: 2 days ago
Total Commits: 771
Total Committers: 82
Avg Commits per committer: 9.402
Development Distribution Score (DDS): 0.241
Commits in past year: 27
Committers in past year: 9
Avg Commits per committer in past year: 3.0
Development Distribution Score (DDS) in past year: 0.519
| Name | Commits | |
|---|---|---|
| Vladimir Dementyev | d****m@g****m | 585 |
| Phil Pirozhkov | h****o@f****u | 29 |
| Ilya Dolgirev | i****v@g****m | 11 |
| Rutger Wessels | r****s@g****m | 10 |
| Shkrt | z****n@g****m | 8 |
| depfu[bot] | d****] | 6 |
| Sergio Marques | s****o@r****m | 5 |
| Ruslan Shakirov | 1****v | 5 |
| Daniel Waterworth | me@d****m | 5 |
| Peter Retzlaff | p****r@p****m | 5 |
| Sascha Kaestle | s****e@g****m | 4 |
| Yauheni Dakuka | y****a@g****m | 4 |
| uzushino | r****o@c****m | 4 |
| Georgiy Melnikov | g****r@g****m | 4 |
| Ivo Jesus | i****s@g****m | 3 |
| maxshend | s****v@g****m | 2 |
| ohbarye | o****e@g****m | 2 |
| tyler | t****i@g****m | 2 |
| viralpraxis | i****k@g****m | 2 |
| ygelfand | y****i@s****m | 2 |
| aseroff | a****y@s****o | 2 |
| Vsevolod | s****v@g****m | 2 |
| Sergey Ponomarev | me@s****u | 2 |
| Scott Bader | sb@s****g | 2 |
| Georgiy Melnikov | m****v@e****m | 2 |
| Yuri Bocharov | y****v@u****v | 2 |
| Anna Selezniova | a****v@g****m | 2 |
| Daniel Westendorf | d****l@p****m | 2 |
| John Kelly | j****y@g****m | 2 |
| Julian Pasquale | j****8@g****m | 2 |
| and 52 more... | ||
Committer domains:
- gitlab.com: 2
- envek.name: 1
- xtrasimplicity.com: 1
- toptal.com: 1
- pennylane.tech: 1
- prowestech.com: 1
- uscis.dhs.gov: 1
- evrone.com: 1
- scottbader.org: 1
- sergey-ponomarev.ru: 1
- seroff.co: 1
- shlitz.com: 1
- c-fo.com: 1
- playtestcloud.com: 1
- danielwaterworth.com: 1
- raylo.com: 1
- mike.is: 1
- ursm.jp: 1
- fastmail.net: 1
- hrbac.cz: 1
- loudbase.com: 1
- trux.info: 1
- afterthoughtsoftware.com: 1
- headius.com: 1
- disroot.org: 1
- yuribocharov.dev: 1
- betterment.com: 1
- yandex.ru: 1
- proc.ru: 1
- leitzen.de: 1
- gusto.com: 1
- list.ru: 1
- fili.pp.ru: 1
Issue and Pull Request metadata
Last synced: 6 days ago
Total issues: 69
Total pull requests: 108
Average time to close issues: 3 months
Average time to close pull requests: 24 days
Total issue authors: 57
Total pull request authors: 59
Average comments per issue: 2.7
Average comments per pull request: 1.27
Merged pull request: 90
Bot issues: 0
Bot pull requests: 0
Past year issues: 7
Past year pull requests: 16
Past year average time to close issues: 27 days
Past year average time to close pull requests: 7 days
Past year issue authors: 7
Past year pull request authors: 9
Past year average comments per issue: 3.86
Past year average comments per pull request: 0.81
Past year merged pull request: 12
Past year bot issues: 0
Past year bot pull requests: 0
Top Issue Authors
- palkan (7)
- deivinsontejeda (3)
- jdelStrother (2)
- davidwessman (2)
- Halvanhelv (2)
- Systho (2)
- gap777 (1)
- elasticspoon (1)
- awortham (1)
- devinburnette (1)
- aseroff (1)
- codez (1)
- aburgel (1)
- chrismanderson (1)
- TiSer (1)
Top Pull Request Authors
- palkan (14)
- pirj (9)
- lHydra (8)
- skaestle (4)
- rutgerw (3)
- mculp (2)
- lioneldebauge (2)
- igor-alexandrov (2)
- devinburnette (2)
- elasticspoon (2)
- lostie (2)
- yaroslav (2)
- ohbarye (2)
- araslanov-e (2)
- aseroff (2)
Top Issue Labels
- bug (10)
- enhancement (9)
- investigation required (7)
- awaiting response (7)
- stale (5)
- hackday (4)
- PR Attached (3)
- good first issue (3)
- wontfix (2)
- help wanted (1)
Top Pull Request Labels
- dev (1)
Package metadata
- Total packages: 3
-
Total downloads:
- rubygems: 141,990,665 total
- Total docker downloads: 977,988,478
- Total dependent packages: 11 (may contain duplicates)
- Total dependent repositories: 1,468 (may contain duplicates)
- Total versions: 238
- Total maintainers: 1
gem.coop: test-prof
Ruby applications tests profiling tools. Contains tools to analyze factories usage, integrate with Ruby profilers, profile your examples using ActiveSupport notifications (if any) and statically analyze your code with custom RuboCop cops.
- Homepage: https://test-prof.evilmartians.io/
- Documentation: http://www.rubydoc.info/gems/test-prof/
- Licenses: MIT
- Latest release: 1.5.2 (published 28 days ago)
- Last Synced: 2026-02-28T04:31:30.880Z (4 days ago)
- Versions: 88
- Dependent Packages: 0
- Dependent Repositories: 0
- Downloads: 70,986,936 Total
- Docker Downloads: 488,994,239
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 0.154%
- Docker downloads count: 0.205%
- Downloads: 0.411%
- Maintainers (1)
-
Funding:
- https://github.com/sponsors/test-prof
rubygems.org: test-prof
Ruby applications tests profiling tools. Contains tools to analyze factories usage, integrate with Ruby profilers, profile your examples using ActiveSupport notifications (if any) and statically analyze your code with custom RuboCop cops.
- Homepage: https://test-prof.evilmartians.io/
- Documentation: http://www.rubydoc.info/gems/test-prof/
- Licenses: MIT
- Latest release: 1.5.2 (published 28 days ago)
- Last Synced: 2026-03-01T10:02:51.025Z (2 days ago)
- Versions: 88
- Dependent Packages: 11
- Dependent Repositories: 1,468
- Downloads: 71,003,729 Total
- Docker Downloads: 488,994,239
-
Rankings:
- Docker downloads count: 0.272%
- Downloads: 0.484%
- Dependent repos count: 0.809%
- Average: 1.138%
- Stargazers count: 1.216%
- Dependent packages count: 1.881%
- Forks count: 2.164%
- Maintainers (1)
-
Funding:
- https://github.com/sponsors/test-prof
proxy.golang.org: github.com/test-prof/test-prof
- Homepage:
- Documentation: https://pkg.go.dev/github.com/test-prof/test-prof#section-documentation
- Licenses: mit
- Latest release: v1.5.2 (published 28 days ago)
- Last Synced: 2026-02-27T23:01:42.431Z (4 days ago)
- Versions: 62
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent packages count: 5.442%
- Average: 5.624%
- Dependent repos count: 5.807%
Dependencies
- actions/cache v1 composite
- actions/checkout v2 composite
- lycheeverse/lychee-action v1.5.1 composite
- ruby/setup-ruby v1 composite
- actions/checkout v2 composite
- ad-m/github-push-action v0.6.0 composite
- actions/cache v1 composite
- actions/checkout v2 composite
- ruby/setup-ruby v1 composite
- actions/cache v1 composite
- actions/checkout v2 composite
- ruby/setup-ruby v1 composite
- postgres latest docker
- actions/checkout v2 composite
- ruby/setup-ruby v1 composite
- activerecord ~> 6.0
- activerecord-import >= 0
- activerecord-jdbcsqlite3-adapter ~> 60.0
- fabrication >= 0
- factory_bot ~> 5.0
- pry-byebug >= 0
- ruby-prof >= 0.16.0
- sidekiq ~> 6.0
- sqlite3 ~> 1.4
- stackprof >= 0.2.9
- timecop ~> 0.9.1
- bundler >= 1.16 development
- isolator >= 0.6 development
- minitest >= 5.9 development
- rake ~> 13.0 development
- rspec ~> 3.4 development
- rubocop >= 0.77.0 development
- actions/checkout v4 composite
- ruby/setup-ruby v1 composite
- rubygems/configure-rubygems-credentials main composite
Score: 32.84819136179382