|
Ran
|
Jobs
2
|
Files
32
|
Run time
43s
|
Badge
README BADGES
|
push
travis-ci
Constantize some math from SnapshotComparisonImage#pixel_diff_score In #pixel_diff_score, we take the Euclidean distance between the RGBA channels of the 2 given colors over the maximum possible Euclidean distance. This gives us a percentage of how different the two colors are. Since the maximum possible Euclidean distance never changes, we can avoid performing the math (an exponent operation, a multiplication operation, and a square root operation) each time we want to get the pixel diff score of two colors. Since this has the potential of happening many many times, this should be a nice, little performance win. Change-Id: I90fd884c2
601 of 609 relevant lines covered (98.69%)
80.8 hits per line
| ID | Job ID | Ran | Files | Coverage | |
|---|---|---|---|---|---|
| 1 | 348.1 (2.0.0) | 0 |
98.69 |
Travis Job 348.1 | |
| 2 | 348.2 (2.1.0) | 0 |
98.69 |
Travis Job 348.2 |
| Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
|---|