YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context
Rust agentsagiaiai-memoryaudio-recordingcomputer-visionhermeshermes-agentllmlocal-ailocal-firstmachine-learningmcpmultimodalopenclawprivacyrewindscreen-recordingspeech-to-textycombinator
fix: benchmark
Louis Beaumont6752a5f7417a
diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.ymlindex 6e16476a9..f21ef4ac6 100644--- a/.github/workflows/benchmark.yml+++ b/.github/workflows/benchmark.yml@@ -64,6 +64,8 @@ jobs:brew install ffmpeg- name: Run OCR benchmarks+ env:+ DYLD_LIBRARY_PATH: ${{ github.workspace }}/screenpipe-vision/lib:${{ env.DYLD_LIBRARY_PATH }}run: |cargo bench --bench ocr_benchmark -- --output-format bencher | tee ocr_output.txtdiff --git a/screenpipe-vision/benches/vision_benchmark.rs b/screenpipe-vision/benches/vision_benchmark.rsindex 529ef074d..65864dfb3 100644--- a/screenpipe-vision/benches/vision_benchmark.rs+++ b/screenpipe-vision/benches/vision_benchmark.rs@@ -6,7 +6,8 @@use std::sync::Arc;use criterion::{criterion_group, criterion_main, BenchmarkId, Criterion};-use screenpipe_vision::{continuous_capture, get_monitor, OcrEngine};+use screenpipe_vision::monitor::get_default_monitor;+use screenpipe_vision::{continuous_capture, OcrEngine};use tokio::sync::mpsc;use tokio::time::Duration;@@ -19,7 +20,7 @@ async fn benchmark_continuous_capture(duration_secs: u64) -> f64 {Duration::from_millis(100),false,Arc::new(OcrEngine::Tesseract),- get_monitor().await,+ get_default_monitor().await.id(),).await;});