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

hiddentao / clockwork-engine / 17757761342
96%

Build:
DEFAULT BRANCH: main
Ran 16 Sep 2025 07:15AM UTC
Jobs 1
Files 24
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

16 Sep 2025 07:12AM UTC coverage: 99.091% (-0.08%) from 99.167%
17757761342

push

github

hiddentao
feat(lib): add performance timing utilities with comprehensive test coverage

- Add measureTime function for synchronous operations with automatic timing and logging
- Add measureTimeAsync function for asynchronous operations with proper async/await support
- Add measureTimeWithResult and measureTimeWithResultAsync for advanced timing with detailed results
- Support custom logger functions for flexible timing output
- Include comprehensive error handling that preserves timing even when callbacks throw
- Provide full TypeScript generics support to preserve callback return types
- Add 16 comprehensive tests covering all functionality including error scenarios
- Use performance.now() API for high-precision timing measurements
- Follow project coding standards and formatting guidelines

77 of 79 new or added lines in 1 file covered. (97.47%)

1744 of 1760 relevant lines covered (99.09%)

49.33 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
97.47
src/lib/performance.ts
Jobs
ID Job ID Ran Files Coverage
1 17757761342.1 16 Sep 2025 07:15AM UTC 24
99.09
GitHub Action Run
Source Files on build 17757761342
  • Tree
  • List 24
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #17757761342
  • fdae4f03 on github
  • Prev Build on main (#17753231724)
  • Next Build on main (#17801614830)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc