Skip to content

feat: setup benchmarking #1623

@isSerge

Description

@isSerge
  • I have looked for existing issues (including closed) about this

Feature Request

Setup bencmarking and cover CPU- and Memory-bound tasks like vector search, schema generation, document parsing, etc. (specific list of tasks can be defined separately).

Motivation

  • Validate Rig's position as a high-performance alternative to other AI Frameworks (mostly Python- and JavaScript-based)
  • Tracking benchmarks will help identify bottlenecks and prevent any performance regressions

Proposal

  • Use criterion.rs or divan crate to setup benchmarking
  • CI/CD integration: use CodSpeed or Bencher to run benchmarks in CI and generate a repor, attach it to PRs
  • Cover any single CPU-heavy task, for example in-memory vector search or JSON schema generation
  • More tasks can be covered separately based on priorities

Alternatives

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions