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

disable windows bench for now

Louis Beaumont760552c21c40
diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml
index f4f73992f..a94410f7c 100644
--- a/.github/workflows/benchmark.yml
+++ b/.github/workflows/benchmark.yml
@@ -51,25 +51,25 @@ jobs:
name: ocr-benchmark-data
path: ocr_output.txt
- windows_ocr_benchmark:
- name: Run Windows OCR benchmark
- runs-on: windows-latest
- steps:
- - uses: actions/checkout@v3
- - uses: dtolnay/rust-toolchain@stable
-
- - name: Run Windows OCR benchmarks
- run: |
- cargo bench --bench ocr_benchmark -- --output-format bencher | Tee-Object -Append -FilePath ocr_output.txt
-
- - name: Upload OCR benchmark artifact
- uses: actions/upload-artifact@v3
- with:
- name: ocr-benchmark-data
- path: ocr_output.txt
+ # windows_ocr_benchmark:
+ # name: Run Windows OCR benchmark
+ # runs-on: windows-latest
+ # steps:
+ # - uses: actions/checkout@v3
+ # - uses: dtolnay/rust-toolchain@stable
+
+ # - name: Run Windows OCR benchmarks
+ # run: |
+ # cargo bench --bench ocr_benchmark -- --output-format bencher | Tee-Object -Append -FilePath ocr_output.txt
+
+ # - name: Upload OCR benchmark artifact
+ # uses: actions/upload-artifact@v3
+ # with:
+ # name: ocr-benchmark-data
+ # path: ocr_output.txt
analyze_benchmarks:
- needs: [apple_ocr_benchmark, tesseract_ocr_benchmark, windows_ocr_benchmark]
+ needs: [apple_ocr_benchmark, tesseract_ocr_benchmark] # TODO fix windows_ocr_benchmark
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
diff --git a/screenpipe-vision/benches/ocr_benchmark.rs b/screenpipe-vision/benches/ocr_benchmark.rs
index 9c6511957..ecf3ef17e 100644
--- a/screenpipe-vision/benches/ocr_benchmark.rs
+++ b/screenpipe-vision/benches/ocr_benchmark.rs
@@ -149,8 +149,9 @@ fn bench_tesseract_ocr(c: &mut Criterion) {
group.finish();
}
+// TODO fix windows
// Windows OCR benchmark (Windows only)
-#[cfg(target_os = "windows")]
+#[cfg(target_os = "windows")]
fn bench_windows_ocr(c: &mut Criterion) {
let image = load_test_image();
let mut group = c.benchmark_group("Windows OCR");