Skip to content

feat: Sprint 1 Phase 2 - testing and reliability refactor#7

Merged
fr3on merged 4 commits into
mainfrom
quill/testing-reliability-p2
Apr 5, 2026
Merged

feat: Sprint 1 Phase 2 - testing and reliability refactor#7
fr3on merged 4 commits into
mainfrom
quill/testing-reliability-p2

Conversation

@fr3on

@fr3on fr3on commented Apr 5, 2026

Copy link
Copy Markdown
Contributor

Description

Comprehensive update of unit tests, implementation of specialized mocks for FFI, and PHPStan optimization for core components.

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing tests pass locally with my changes (composer test)
  • PHPStan reports no errors (composer analyze)

fr3on added 4 commits April 5, 2026 18:37
…sive Phase 2 tests

- Decoupled SocketServer from direct FFI calls via DriverInterface
- Added unit tests for SocketServer, FFIFailure, and Validator re-registration
- Added integration test for full request-response lifecycle
- Improved error logging and worker process robustness
- Fixed all PHPStan Level 9 issues
@github-actions

github-actions Bot commented Apr 5, 2026

Copy link
Copy Markdown

🚀 Quill Performance Metrics

Environment: Ubuntu · PHP 8.3 · quill-core 0.0.2 · 2 workers Quill Core


Quill Binary Benchmark
  > Server     : Quill Core
  > Tool       : wrk
  > Duration   : 5s
  > Connections: 50
  > Workers    : 2
  > Starting Quill server...
  > Server is ready. Running benchmarks...
    Running 5s test @ http://127.0.0.1:8080/hello
      2 threads and 50 connections
      Thread Stats   Avg      Stdev     Max   +/- Stdev
        Latency     1.05ms    0.88ms   6.05ms   76.34%
        Req/Sec    25.27k     7.20k   38.62k    59.00%
      251594 requests in 5.01s, 38.87MB read
    Requests/sec:  50259.57
    Transfer/sec:      7.76MB

  > Benchmarks completed.

@fr3on fr3on merged commit 815a100 into main Apr 5, 2026
5 checks passed
@fr3on fr3on deleted the quill/testing-reliability-p2 branch April 5, 2026 17:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant