Just found out lcms2 has fast mode since last summer..

https://github.com/mm2/Little-CMS/releases
LittleCMS 2.10
 lcms2.10
 2021357
Compare 
@mm2 mm2 released this on 5 Jun 2020

Change Log:

Added a compilation toggle to remove "register" keyword in API.
Previously commercial, fast_float plug-in is now released as open source under GPL3 license.

===
Little CMS floating point plug-in accelerates 8 bit and floating point color transforms, and adds some other features:

Adds support for internal Photoshop 1.15 fixed point format
Adds a new formatter to obtain dither on 8 bit for certain color spaces (Gray, RGB and CMYK)

==

https://www.littlecms.com/plugin/

should be buildable via configure switch (?) since 2.12 release last February..