Skip to content

feat: benchmark and performance metrics #49

Closed

Description

@ajianaz

Problem

No way to measure uteke's performance characteristics:

  • Recall latency at different memory counts (100, 1K, 10K, 100K)
  • Index size growth curve
  • Embedding speed (memories/sec)
  • Memory usage (RAM) during operations
  • Comparison baseline vs other tools

Proposed Solution

# Built-in benchmark
uteke bench                     # Run full benchmark suite
uteke bench recall              # Benchmark recall only
uteke bench recall --count 1000 # Generate 1000 memories, then bench
uteke bench --json              # Machine-readable output
uteke bench --compare           # Compare with previous run
uteke bench v0.0.2
─────────────────────────────────────
  Store size:     2 memories, 36 KB
  Index size:     usearch index, 12 KB
  
  Embedding:      847 ops/sec (embeddinggemma-q4)
  Recall (top-5): 0.3ms avg (2 memories)
  Recall (top-5): 1.2ms avg (1,000 memories, synthetic)
  Recall (top-5): 4.8ms avg (10,000 memories, synthetic)
  
  RAM usage:      28MB (binary) + 12MB (index)
  Disk usage:     36KB (DB) + 12KB (index)
  
  Previous (v0.0.1):
  Recall (1K):   1.5ms → 1.2ms (20% faster)

Priority

P3 — DX

Impact

Benchmarks provide data-driven evidence of performance regressions, help set realistic expectations for users, and serve as marketing material ("sub-ms recall on 10K memories"). Essential for release notes and competitive positioning.

Activity

  1. added this to the Backlog milestone on Jun 1, 2026
  2. added
    scope:core
    type:feature
    priority:low
    v0.2.0
    enhancement
    and removed
    type:feature
    on Jun 9, 2026
  3. modified the milestones: Backlog, on Jun 11, 2026
  4. added
    epic:benchmark-validation
    type:benchmark
    priority:high
    and removed
    priority:low
    on Jun 13, 2026
  5. modified the milestones: , on Jun 13, 2026
  6. added 2 commits that reference this issue on Jun 13, 2026
  7. ajianaz commented on Jun 13, 2026

    @ajianaz
    CollaboratorAuthor

    Implemented in PR #320. uteke bench command with --counts and --json flags.

  8. added a commit that references this issue on Jun 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementepic:benchmark-validationpriority:highscope:coretype:benchmark

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions