chore: setup vitest benchmarks and improve `threshold` perf (#841) * chore: add script to download demo image dataset * chore: refactor resize benchmark with mitata * perf: set values more directly in threshold * docs: write docs on running and writing benchmarks * refactor: refactor benchmarks with vitest Update non-breaking deps and breaking dev-deps * chore: fix eslint * chore: stop using vite module runner * fix: converting to boolean is not necessary in setBitByIndex And it improves the performance as well not to do it * chore: prettier write * fixup: load from src in image fetching script * chore: fix and cleanup scripts * chore: remove benchmark tests from coverage |