mirror of
https://github.com/lovell/sharp.git
synced 2025-12-19 07:15:08 +01:00
Speed up slow pixel limit tests (#404)
This replaces the single color 20000x14000 PNG with a 20000x14000 Grayscale JPG. On a Broadwell Core i7 @ 3.1 GHz this speeds up the "Disabling limit works" test from ~6.2s to ~0.15s because it can use jpeg resize-on-load optimizations. This should fix occasional timeouts on Travis CI.
This commit is contained in:
committed by
Lovell Fuller
parent
b224874332
commit
1b7c5816fc
BIN
test/fixtures/giant-image.jpg
vendored
Normal file
BIN
test/fixtures/giant-image.jpg
vendored
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.0 MiB |
Reference in New Issue
Block a user