Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: orneryd/Mimir
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Choose a base ref
...
head repository: orneryd/Mimir
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: hybrid-ast
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 4 commits
  • 29 files changed
  • 1 contributor

Commits on Dec 5, 2025

  1. feat(cypher): add configurable executor modes (nornic/antlr/hybrid)

    - Add NORNICDB_EXECUTOR_MODE env var (default: hybrid)
    - nornic: Fast string-based parser (original)
    - antlr: Full ANTLR AST-based parser (for LLM features)
    - hybrid: Fast execution + background AST building (best of both)
    
    New files:
    - pkg/config/executor_mode.go: Config for executor mode
    - pkg/cypher/executor_factory.go: Factory to create executors
    - pkg/cypher/hybrid_executor.go: Hybrid executor implementation
    - pkg/cypher/executor_interface.go: CypherExecutor interface + ABExecutor
    - pkg/cypher/antlr/*.go: ANTLR grammar and parser files
    
    Test coverage:
    - executor_factory_test.go: Factory tests
    - executor_mode_test.go: Comprehensive mode comparison tests
    - hybrid_executor_test.go: Hybrid-specific tests
    - ab_test.go: A/B performance comparison tests
    
    Performance (M3 Max):
    - nornic: ~422 ns/op
    - hybrid: ~433 ns/op (~3% overhead)
    - All modes pass identical query tests
    TJ Sweet committed Dec 5, 2025
    Configuration menu
    Copy the full SHA
    15acae9 View commit details
    Browse the repository at this point in the history
  2. feat: prominent startup banner for executor mode

    TJ Sweet committed Dec 5, 2025
    Configuration menu
    Copy the full SHA
    cb440dd View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e66e635 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    334e79a View commit details
    Browse the repository at this point in the history
Loading