• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

dblock / ruby-enum / #34
100%
master: 100%

Build:
Build:
LAST BUILD BRANCH: dblock/coveralls-github-token
DEFAULT BRANCH: master
Ran 15 Aug 2026 02:00AM UTC
Jobs 1
Files 8
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

15 Aug 2026 02:00AM UTC coverage: 100.0%. Remained the same
#34

Pull #61

dblock
Document Ruby::Enum performance overhead in README

Add benchmarks/basic.rb comparing basic Ruby::Enum operations
(constant access, value, key, key?, keys, values) against their
plain Ruby equivalents (constants, Hash), and a rake benchmark:basic
task to run it.

Add a new 'Performance' subsection under Benchmarks in README.md
documenting, with real numbers, that constant access has no
measurable overhead while hash-backed lookups carry roughly 3-5x
overhead vs. a plain Hash, that this overhead does not grow with
subclass depth (see rake benchmark:inheritance), and that
Ruby::Enum::Case is the one notable outlier at 50-100x slower than
a native case statement (see rake benchmark:case).

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Pull Request #61: Document performance overhead in README

161 of 161 relevant lines covered (100.0%)

6.86 hits per line

Jobs
ID Job ID Ran Files Coverage
1 #34.1 15 Aug 2026 02:00AM UTC 8
100.0
Source Files on build #34
  • Tree
  • List 8
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #61
  • PR Base - master (#)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc