Skip to content

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

removing fields from ocr text table

matthew-heartful6fdfac17d2cf
diff --git a/screenpipe-server/benches/db_benchmarks.rs b/screenpipe-server/benches/db_benchmarks.rs
index db38f78ef..def3f3986 100644
--- a/screenpipe-server/benches/db_benchmarks.rs
+++ b/screenpipe-server/benches/db_benchmarks.rs
@@ -14,14 +14,10 @@ async fn setup_large_db(size: usize) -> DatabaseManager {
let frame_id = db.insert_frame().await.unwrap();
let ocr_text = format!("OCR text {}", rng.gen::<u32>());
let text_json = format!(r#"{{"text": "{}"}}"#, ocr_text);
- let new_text_json_vs_previous_frame = format!(r#"{{"text": "{}"}}"#, ocr_text);
- let raw_data_output_from_ocr = format!(r#"{{"output": "{}"}}"#, ocr_text);
db.insert_ocr_text(
frame_id,
&ocr_text,
&text_json,
- &new_text_json_vs_previous_frame,
- &raw_data_output_from_ocr,
)
.await
.unwrap();
@@ -69,4 +65,4 @@ fn bench_search(c: &mut Criterion) {
}
criterion_group!(benches, bench_search);
-criterion_main!(benches);
+criterion_main!(benches);
\ No newline at end of file