Skip to content

feat(log-viewer): add SIMD Monolog parser - #456

Draft
shyim wants to merge 3 commits into
mainfrom
agent/add-simd-monolog-parser
Draft

feat(log-viewer): add SIMD Monolog parser#456
shyim wants to merge 3 commits into
mainfrom
agent/add-simd-monolog-parser

Conversation

@shyim

@shyim shyim commented Aug 10, 2026

Copy link
Copy Markdown
Member

1. Why is this change necessary?

The log viewer currently parses paged log files entirely in PHP. Large log files make this needlessly expensive.

2. What does this change do, exactly?

Adds an SSE2-native Monolog parser and reverse file reader exposed through PHP FFI, with prebuilt Linux and macOS artifacts. The log viewer prefers the native reader when FFI is enabled and falls back to the existing PHP/PCRE behavior otherwise.

3. Describe each step to reproduce the issue or behaviour.

  1. Open a large log file in the FroshTools log viewer.
  2. The native reader is used when PHP FFI is enabled; otherwise the response remains served by the PCRE fallback.

4. Please link to the relevant issues (if any).

No issue.

5. Checklist

  • I have written tests and verified that they fail without my change
  • I have updated developer-facing release notes if this change is relevant for external developers:
    • No release note is required: this is an optional internal implementation optimization with a transparent fallback.
  • I have written or adjusted the documentation and agent skills according to my changes
  • This change has comments for package types, values, functions, and non-obvious lines of code
  • I have read the contribution requirements and fulfilled them

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