contentauth
c2pa-rs
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
perf: optimize signing passes/copies for large PNGs
#1967
Merged
Comparing
ok-nick/optimize-png
(
633d86a
) with
main
(
5237f5b
)
CodSpeed Performance Gauge
+19%
Improvement
2
Untouched
28
Skipped
64
Different runtime environments detected
Some benchmarks with significant performance changes were compared across different runtime environments, which may affect the accuracy of the results.
Learn more about regression causes
.
Benchmarks
Mode
CPU Simulation
Wall Time
Memory
Status
Improvement
Untouched
Skipped
94 total
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
small
sdk/benches/sign.rs::benches::sign_png::sign png
CodSpeed Performance Gauge
+23%
31 ms
25.2 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
small
sdk/benches/read.rs::benches::read_png::read png
CodSpeed Performance Gauge
+14%
23.6 ms
20.6 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
small
sdk/benches/read.rs::benches::read_jpeg::read jpeg
CodSpeed Performance Gauge
+3%
24.8 ms
24.2 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
wide-assertions/read
sdk/benches/complex_read.rs::benches::wide_assertions
CodSpeed Performance Gauge
0%
22.1 ms
22.1 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
update-manifests/read
sdk/benches/complex_read.rs::benches::update_manifests
CodSpeed Performance Gauge
0%
291.7 ms
291.3 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
small
sdk/benches/read.rs::benches::read_mp3::read mp3
CodSpeed Performance Gauge
0%
21.2 ms
21.1 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
wide-ingredients/read
sdk/benches/complex_read.rs::benches::wide_ingredients
CodSpeed Performance Gauge
0%
239.5 ms
239.3 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
binary-ingredient-tree/read
sdk/benches/complex_read.rs::benches::binary_ingredient_tree
CodSpeed Performance Gauge
0%
776.4 ms
776.1 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
small
sdk/benches/read.rs::benches::read_mp4::read mp4
CodSpeed Performance Gauge
0%
26.1 ms
26.1 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
small
sdk/benches/sign.rs::benches::sign_tiff::sign tiff
CodSpeed Performance Gauge
0%
21.9 ms
21.9 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
small
sdk/benches/sign.rs::benches::sign_jpeg::sign jpeg
CodSpeed Performance Gauge
0%
31.6 ms
31.6 ms
Uses the
Memory instrument
to collect Memory usage metrics.
deep-ingredients/read
sdk/benches/complex_read.rs::benches::deep_ingredients
CodSpeed Performance Gauge
0%
4.7 MB
4.7 MB
Uses the
Memory instrument
to collect Memory usage metrics.
wide-ingredients/read
sdk/benches/complex_read.rs::benches::wide_ingredients
CodSpeed Performance Gauge
0%
5.7 MB
5.7 MB
Uses the
Memory instrument
to collect Memory usage metrics.
wide-assertions/read
sdk/benches/complex_read.rs::benches::wide_assertions
CodSpeed Performance Gauge
0%
353.6 KB
353.6 KB
Uses the
Memory instrument
to collect Memory usage metrics.
large-cbor-assertion/read
sdk/benches/complex_read.rs::benches::large_cbor_assertion
CodSpeed Performance Gauge
0%
8.1 MB
8.1 MB
Uses the
Memory instrument
to collect Memory usage metrics.
large-json-assertion/read
sdk/benches/complex_read.rs::benches::large_json_assertion
CodSpeed Performance Gauge
0%
8.1 MB
8.1 MB
Uses the
Memory instrument
to collect Memory usage metrics.
binary-ingredient-tree/read
sdk/benches/complex_read.rs::benches::binary_ingredient_tree
CodSpeed Performance Gauge
0%
15.3 MB
15.3 MB
Uses the
Memory instrument
to collect Memory usage metrics.
update-manifests/read
sdk/benches/complex_read.rs::benches::update_manifests
CodSpeed Performance Gauge
0%
5.6 MB
5.6 MB
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
small
sdk/benches/read.rs::benches::read_svg::read svg
CodSpeed Performance Gauge
0%
49.1 ms
49.1 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
small
sdk/benches/sign.rs::benches::sign_mp3::sign mp3
CodSpeed Performance Gauge
0%
22.2 ms
22.2 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
small
sdk/benches/read.rs::benches::read_tiff::read tiff
CodSpeed Performance Gauge
0%
20.8 ms
20.8 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
small
sdk/benches/read.rs::benches::read_gif::read gif
CodSpeed Performance Gauge
0%
21.3 ms
21.3 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
small
sdk/benches/sign.rs::benches::sign_mp4::sign mp4
CodSpeed Performance Gauge
0%
28.7 ms
28.7 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
deep-ingredients/read
sdk/benches/complex_read.rs::benches::deep_ingredients
CodSpeed Performance Gauge
0%
279.4 ms
279.5 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
small
sdk/benches/sign.rs::benches::sign_wav::sign wav
CodSpeed Performance Gauge
0%
24.8 ms
24.8 ms
1
2
3
4
Commits
Click on a commit to change the comparison range
Base
main
5237f5b
+19.17%
fix: avoid large copies of PNG by reusing calls to find c2pa chunk
5673a5c
2 months ago
by ok-nick
+2.82%
test: adjust error type
e96b9e2
2 months ago
by ok-nick
-3.42%
Merge branch 'main' of github.com:contentauth/c2pa-rs into ok-nick/optimize-png
633d86a
19 hours ago
by ok-nick
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs