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

jordanvrtanoski / luacpp / 3906e178-763c-40d0-856b-f43d0a2fe7d2 / 1
100%
main: 100%

Build:
Build:
LAST BUILD BRANCH: fix/code-quality-and-security
DEFAULT BRANCH: main
Ran 19 Feb 2026 02:52AM UTC
Files 44
Run time 1s
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

19 Feb 2026 02:44AM UTC coverage: 100.0%. Remained the same
3906e178-763c-40d0-856b-f43d0a2fe7d2.1

Pull #34

circleci

jordanvrtanoski
[IMP] Add Lua state pooling with colored pools

Implement opt-in state pooling system for high-performance scenarios:
- StatePool class for managing reusable lua_State instances
- PoolManager with predefined pool colors (default, sandboxed, minimal, io)
- Selective library loading per pool configuration
- PooledState RAII wrapper for exception-safe state management
- Thread-safe pool mode for multi-threaded applications
- Pool warmup/drain/statistics methods
- PoolExhaustedException for handling pool exhaustion

Add LuaContext integration:
- RunPooled(), RunWithEnvironmentPooled() methods
- AcquirePooledState(), ReleasePooledState() methods
- AcquirePooledStateRAII() for automatic state return
- createPool(), hasPool(), getPool() management methods

Add comprehensive documentation and examples:
- docs/2-state-pooling.md: Complete pooling documentation
- docs/1-introduction.md: Added pooling overview section
- example_StatePool.cpp: Basic pooling usage
- example_StatePoolAdvanced.cpp: Advanced patterns with threads

All 126 tests passing including 56 new pooling tests.

Signed-off-by: Jordan Vrtanoski <jordan.vrtanoski@gmail.com>
Pull Request #34: [IMP] Add Lua state pooling with colored pools

2746 of 2746 relevant lines covered (100.0%)

48.36 hits per line

Source Files on job 3906e178-763c-40d0-856b-f43d0a2fe7d2.1
  • Tree
  • List 44
  • Changed 5
  • Source Changed 0
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 3906
  • 7208b2f0 on github
  • Prev Job for on feature/state-pooling-colored-pools (#2b0844e2-b19e-43b7-afde-7112a5c27e50.1)
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