Avatar for the Eventual-Inc user
Eventual-Inc
Daft
BlogDocsChangelog

feat: Add comprehensive image hashing functions (perceptual, difference, wavelet, crop-resistant)

#5207
Comparing
codekshitij:feature/image-hashing-functions
(
08e0001
) with
main
(
556556c
)
CodSpeed Performance Gauge
0%
Untouched
24
Ignored
4

Benchmarks

Passed

test_show[1 Small File]
tests/benchmarks/test_interactive_reads.py::test_show[1 Small File]
CodSpeed Performance Gauge
+2%
11.8 ms11.6 ms
test_tpch[1-in-memory-4]
tests/benchmarks/test_local_tpch.py::test_tpch[1-in-memory-4]
CodSpeed Performance Gauge
+1%
88.3 ms87.2 ms
test_tpch[1-in-memory-1]
tests/benchmarks/test_local_tpch.py::test_tpch[1-in-memory-1]
CodSpeed Performance Gauge
+1%
413.2 ms409.8 ms
test_tpch_sql[1-in-memory-1]
tests/benchmarks/test_local_tpch.py::test_tpch_sql[1-in-memory-1]
CodSpeed Performance Gauge
+1%
406.4 ms404.3 ms
test_tpch_sql[1-in-memory-7]
tests/benchmarks/test_local_tpch.py::test_tpch_sql[1-in-memory-7]
CodSpeed Performance Gauge
0%
123.9 ms123.3 ms
test_tpch_sql[1-in-memory-10]
tests/benchmarks/test_local_tpch.py::test_tpch_sql[1-in-memory-10]
CodSpeed Performance Gauge
0%
208.4 ms207.5 ms
test_tpch[1-in-memory-2]
tests/benchmarks/test_local_tpch.py::test_tpch[1-in-memory-2]
CodSpeed Performance Gauge
0%
59.8 ms59.6 ms
test_tpch_sql[1-in-memory-8]
tests/benchmarks/test_local_tpch.py::test_tpch_sql[1-in-memory-8]
CodSpeed Performance Gauge
0%
136.2 ms136 ms
test_tpch[1-in-memory-9]
tests/benchmarks/test_local_tpch.py::test_tpch[1-in-memory-9]
CodSpeed Performance Gauge
0%
290.7 ms290.3 ms
test_tpch[1-in-memory-6]
tests/benchmarks/test_local_tpch.py::test_tpch[1-in-memory-6]
CodSpeed Performance Gauge
0%
27.9 ms27.9 ms
test_tpch_sql[1-in-memory-4]
tests/benchmarks/test_local_tpch.py::test_tpch_sql[1-in-memory-4]
CodSpeed Performance Gauge
0%
88.2 ms88.1 ms
test_tpch_sql[1-in-memory-5]
tests/benchmarks/test_local_tpch.py::test_tpch_sql[1-in-memory-5]
CodSpeed Performance Gauge
0%
121.3 ms121.3 ms
test_tpch[1-in-memory-5]
tests/benchmarks/test_local_tpch.py::test_tpch[1-in-memory-5]
CodSpeed Performance Gauge
0%
133.7 ms133.7 ms
test_tpch_sql[1-in-memory-3]
tests/benchmarks/test_local_tpch.py::test_tpch_sql[1-in-memory-3]
CodSpeed Performance Gauge
0%
119.6 ms119.8 ms
test_explain[100 Small Files]
tests/benchmarks/test_interactive_reads.py::test_explain[100 Small Files]
CodSpeed Performance Gauge
0%
11.9 ms11.9 ms
test_tpch[1-in-memory-8]
tests/benchmarks/test_local_tpch.py::test_tpch[1-in-memory-8]
CodSpeed Performance Gauge
0%
149.6 ms149.8 ms
test_iter_rows_first_row[1 Small File]
tests/benchmarks/test_interactive_reads.py::test_iter_rows_first_row[1 Small File]
CodSpeed Performance Gauge
0%
35.2 ms35.3 ms
test_tpch_sql[1-in-memory-6]
tests/benchmarks/test_local_tpch.py::test_tpch_sql[1-in-memory-6]
CodSpeed Performance Gauge
0%
28.5 ms28.6 ms
test_tpch[1-in-memory-3]
tests/benchmarks/test_local_tpch.py::test_tpch[1-in-memory-3]
CodSpeed Performance Gauge
0%
127 ms127.6 ms
test_tpch_sql[1-in-memory-9]
tests/benchmarks/test_local_tpch.py::test_tpch_sql[1-in-memory-9]
CodSpeed Performance Gauge
-1%
280.3 ms281.8 ms
test_tpch[1-in-memory-7]
tests/benchmarks/test_local_tpch.py::test_tpch[1-in-memory-7]
CodSpeed Performance Gauge
-1%
130.8 ms131.5 ms
test_tpch_sql[1-in-memory-2]
tests/benchmarks/test_local_tpch.py::test_tpch_sql[1-in-memory-2]
CodSpeed Performance Gauge
-1%
194 ms195.8 ms
test_tpch[1-in-memory-10]
tests/benchmarks/test_local_tpch.py::test_tpch[1-in-memory-10]
CodSpeed Performance Gauge
-1%
215.4 ms217.5 ms
test_count[100 Small Files]
tests/benchmarks/test_interactive_reads.py::test_count[100 Small Files]
CodSpeed Performance Gauge
-1%
55.3 ms56 ms

Ignored

test_explain[1 Small File]
tests/benchmarks/test_interactive_reads.py::test_explain[1 Small File]
Ignored
CodSpeed Performance Gauge
0%
2 ms2 ms
test_show[100 Small Files]
tests/benchmarks/test_interactive_reads.py::test_show[100 Small Files]
Ignored
CodSpeed Performance Gauge
-26%
21.7 ms29.3 ms
test_iter_rows_first_row[100 Small Files]
tests/benchmarks/test_interactive_reads.py::test_iter_rows_first_row[100 Small Files]
Ignored
CodSpeed Performance Gauge
-1%
140.1 ms140.9 ms
test_count[1 Small File]
tests/benchmarks/test_interactive_reads.py::test_count[1 Small File]
Ignored
CodSpeed Performance Gauge
-3%
3 ms3.1 ms

Commits

Click on a commit to change the comparison range
Base
main
556556c
+0.01%
feat: Add comprehensive image hashing functions - Add average hash (aHash) for basic deduplication - Add perceptual hash (pHash) using DCT for robust similarity detection - Add difference hash (dHash) for efficient pixel comparison - Add wavelet hash (wHash) for rotation/scaling robustness - Add crop-resistant hash (cHash) for cropping robustness - Implement all functions in Rust for performance - Add comprehensive Python API with detailed docstrings - Include 38 test cases covering edge cases and validation - All functions return 64-character binary strings for consistency
08e0001
1 day ago
by codekshitij
© 2025 CodSpeed Technology
Home Terms Privacy Docs