Closed FoxxMD closed 2 years ago
Turns out the majority of run time is due to downloading images. Also using "ignore colors" or setting a bounding box on comparison actually slowed comparisons down b/c resemble is doing more work in those instances...
Was able to reduce rule run time in f8fc63991f6b8f732878c722790ee7a3a07d9bff by:
Promise.all
instead of for-loopingUnfortunately comparisons in parallel is making memory usage skyrocket. Need to investigate p-map
so i can set concurrency to something reasonable (or user-configurable)
Fixed mostly everything by 976f310f512ed20d70dc900b4901e17658ebc18a