@diosmosis opened this Pull Request on January 23rd 2019 Member

The sparkline lib we use converts all values to integers (see the FormatTrait.php file) which means float
numbers that are close to 1.0 or 0.0 will get floored to 1/0. This can happen in the average page generation time report, and cause some values which are, eg, around ~.9 to appear as 0 in the sparkline. To workaround this I made a change to scale the values if a float is found.

@tsteur commented on January 28th 2019 Member

Looks good if tests pass

@diosmosis commented on January 28th 2019 Member

Test failing, moving to 3.9

Powered by GitHub Issue Mirror