gregorio-project / gregorio-test

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

Test Slow down #224

Closed rpspringuel closed 8 years ago

rpspringuel commented 8 years ago

Has any one else expereinced a dramatic slow down in the tests recently? My computer has always been somewhat slow at running the whole suite (it's what I get for saving money and buying a 5 year old model), but recently things have been taking much longer. I'm trying to figure out if it is something particular to my computer or something related to the tests themselves.

henryso commented 8 years ago

I increased the resolution of the PDF compare. That definitely slowed it down on my computer. I can switch it back, but we'll lose some accuracy in the comparison.

rpspringuel commented 8 years ago

Of course, that would slow things down.

Rather than just decreasing the resolution, could it be converted into a settable option? After all, you increased the resolution in order to see changes that weren't being caught at the lower resolution, and so there are clearly occasions where the higher resolution is necessary. However, I don't think it's needed for most changes so having a lower default would be more efficient, but having the option to increase the resolution when needed is still important.

henryso commented 8 years ago

Sounds like a good idea. I will try to implement this tonight.

henryso commented 8 years ago

Set PDF_DENSITY to something smaller than 300 (it was 150 prior to the switch to 300) in your gregorio-test.rc file or from the command-line environment, depending on your desired permanency.