Ogeon / palette

A Rust library for linear color calculations and conversion
Apache License 2.0
748 stars 60 forks source link

Upgrade release actions and fix example comment #310

Closed Ogeon closed 1 year ago

Ogeon commented 1 year ago

Making sure the scripts work as they should and also fixed a small comment.

Ogeon commented 1 year ago

bors r+

github-actions[bot] commented 1 year ago

Benchmark for 702e1ac

Click to view benchmark | Test | Base | PR | % | |------|--------------|------------------|---| | Cie family/lab to lch | 3.1±0.01µs | 3.1±0.02µs | 0.00% | | Cie family/lab to xyz | 765.0±4.10ns | 764.7±5.84ns | -0.04% | | Cie family/lch to lab | 2.4±0.01µs | 2.4±0.02µs | 0.00% | | Cie family/linsrgb to xyz | **285.1±1.44ns** | 294.2±1.15ns | **+3.19%** | | Cie family/linsrgb to xyz - wide::f32x8 | 102.7±0.52ns | 103.0±0.48ns | +0.29% | | Cie family/xyz to lab | **21.1±0.08µs** | 21.2±0.31µs | **+0.47%** | | Cie family/xyz to yxy | 660.1±2.77ns | **656.3±2.30ns** | **-0.58%** | | Cie family/yxy to xyz | 525.3±4.90ns | 525.4±3.89ns | +0.02% | | Matrix functions/matrix_inverse | 11.7±0.05ns | **11.5±0.06ns** | **-1.71%** | | Matrix functions/multiply_3x3 | **10.5±0.09ns** | 11.1±0.76ns | **+5.71%** | | Matrix functions/multiply_rgb_to_xyz | 6.4±0.03ns | 6.4±0.04ns | 0.00% | | Matrix functions/multiply_xyz | 6.4±0.05ns | 6.4±0.02ns | 0.00% | | Matrix functions/multiply_xyz_to_rgb | 6.4±0.02ns | 6.4±0.03ns | 0.00% | | Matrix functions/rgb_to_xyz_matrix | **30.1±0.55ns** | 31.0±2.00ns | **+2.99%** | | Rgb family/hsl to hsv | **647.6±6.32ns** | 677.6±52.43ns | **+4.63%** | | Rgb family/hsl to linear hsl | **12.2±0.07µs** | 12.3±0.04µs | **+0.82%** | | Rgb family/hsl to rgb | 1988.3±11.62ns | 1990.5±8.05ns | +0.11% | | Rgb family/hsv to hsl | **821.2±6.57ns** | 877.8±157.08ns | **+6.89%** | | Rgb family/hsv to hwb | 226.3±1.57ns | **223.4±1.17ns** | **-1.28%** | | Rgb family/hsv to linear hsv | **10.7±0.05µs** | 10.9±0.06µs | **+1.87%** | | Rgb family/hsv to rgb | 1852.9±8.49ns | 1852.1±10.46ns | -0.04% | | Rgb family/hwb to hsv | 465.8±4.61ns | 466.6±6.38ns | +0.17% | | Rgb family/hwb to linear hwb | **11.3±0.04µs** | 11.4±0.05µs | **+0.88%** | | Rgb family/linear hsl to hsl | **10.7±0.05µs** | 10.9±0.05µs | **+1.87%** | | Rgb family/linear hsv to hsv | **10.1±0.08µs** | 10.2±0.08µs | **+0.99%** | | Rgb family/linear hwb to hwb | **10.8±0.04µs** | 10.9±0.06µs | **+0.93%** | | Rgb family/linsrgb to rgb | **5.5±0.02µs** | 5.6±0.03µs | **+1.82%** | | Rgb family/linsrgb to rgb - wide::f32x8 | 5.4±0.03µs | 5.4±0.03µs | 0.00% | | Rgb family/linsrgb_f32 to rgb_u8 | 906.7±18.24ns | 904.6±5.67ns | -0.23% | | Rgb family/linsrgb_f64 to rgb_u8 | 1168.3±4.45ns | 1172.0±13.67ns | +0.32% | | Rgb family/rgb to hsl | **800.4±3.38ns** | 818.0±31.93ns | **+2.20%** | | Rgb family/rgb to hsl - wide::f32x8 | 500.1±17.96ns | 508.1±23.62ns | +1.60% | | Rgb family/rgb to hsv | **500.3±1.98ns** | 507.7±20.11ns | **+1.48%** | | Rgb family/rgb to hsv - wide::f32x8 | **437.7±2.71ns** | 447.4±24.89ns | **+2.22%** | | Rgb family/rgb to linsrgb | 7.5±0.03µs | 7.5±0.13µs | 0.00% | | Rgb family/rgb to linsrgb - wide::f32x8 | 3.7±0.02µs | 3.7±0.11µs | 0.00% | | Rgb family/rgb_u8 to linsrgb_f32 | 333.8±1.04ns | **329.1±1.69ns** | **-1.41%** | | Rgb family/rgb_u8 to linsrgb_f64 | 329.5±6.67ns | 328.8±3.01ns | -0.21% | | Rgb family/xyz to linsrgb | 339.4±1.48ns | **335.6±1.22ns** | **-1.12%** | | Rgb family/xyz to linsrgb - wide::f32x8 | **103.2±0.36ns** | 103.8±0.33ns | **+0.58%** |
bors[bot] commented 1 year ago

Build succeeded: