gregorio-project / gregorio-test

A repository of tests for Gregorio
GNU General Public License v3.0
5 stars 3 forks source link

Implemented an image cache for test expectations. #269

Closed henryso closed 7 years ago

henryso commented 7 years ago

Fixes #252.

There is a small, but significant, improvement on subsequent runs. Expectation images will be created in var/image-cache under the test directory.

Please review and merge if satisfactory.

henryso commented 7 years ago

FYI, on my computer, caching the converted images at 100 dpi saves about 8% time on subsequent runs.

rpspringuel commented 7 years ago

I use 150dpi by default and am getting something closer to 10% savings. I might have hoped for more, but I'll take what I can get.