image-js / image-js-typescript

Temporary repository to work on the migration of image-js to TypeScript
https://image-js.github.io/image-js-typescript/
MIT License
5 stars 5 forks source link

feat: improve speed of RGBA invert by a factor 3 #386

Closed lpatiny closed 1 year ago

codecov[bot] commented 1 year ago

Codecov Report

Patch coverage: 100.00% and no project coverage change.

Comparison is base (ecab15e) 98.65% compared to head (737a1c2) 98.65%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #386 +/- ## ======================================= Coverage 98.65% 98.65% ======================================= Files 224 224 Lines 5815 5820 +5 Branches 1226 1227 +1 ======================================= + Hits 5737 5742 +5 Misses 75 75 Partials 3 3 ``` | [Files Changed](https://app.codecov.io/gh/image-js/image-js-typescript/pull/386?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=image-js) | Coverage Δ | | |---|---|---| | [src/Image.ts](https://app.codecov.io/gh/image-js/image-js-typescript/pull/386?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=image-js#diff-c3JjL0ltYWdlLnRz) | `100.00% <ø> (ø)` | | | [src/filters/invert.ts](https://app.codecov.io/gh/image-js/image-js-typescript/pull/386?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=image-js#diff-c3JjL2ZpbHRlcnMvaW52ZXJ0LnRz) | `100.00% <100.00%> (ø)` | |

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

lpatiny commented 1 year ago

This was just a proof of concept and it does not seem critical (invert is fast anyway).