Cr2Decompressor: make whole-image decoding -10% faster. Wow?#626
Merged
Conversation
Member
LebedevRI
commented
Jan 26, 2024
``` Comparing src/utilities/rsbench/rsbench-old to src/utilities/rsbench/rsbench Benchmark Time CPU Time Old Time New CPU Old CPU New --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- raw.pixls.us-unique/Canon/EOS 40D/_MG_0154.CR2/threads:32/process_time/real_time_pvalue 0.0004 0.0004 U Test, Repetitions: 9 vs 9 raw.pixls.us-unique/Canon/EOS 40D/_MG_0154.CR2/threads:32/process_time/real_time_mean -0.0796 -0.0796 27 25 27 25 raw.pixls.us-unique/Canon/EOS 40D/_MG_0154.CR2/threads:32/process_time/real_time_median -0.0796 -0.0796 27 25 27 25 raw.pixls.us-unique/Canon/EOS 40D/_MG_0154.CR2/threads:32/process_time/real_time_stddev +0.4248 +0.4262 0 0 0 0 raw.pixls.us-unique/Canon/EOS 40D/_MG_0154.CR2/threads:32/process_time/real_time_cv +0.5481 +0.5496 0 0 0 0 raw.pixls.us-unique/Canon/EOS 5D Mark II/09.canon.sraw1.cr2/threads:32/process_time/real_time_pvalue 0.0004 0.0004 U Test, Repetitions: 9 vs 9 raw.pixls.us-unique/Canon/EOS 5D Mark II/09.canon.sraw1.cr2/threads:32/process_time/real_time_mean -0.1362 -0.1359 105 91 3354 2898 raw.pixls.us-unique/Canon/EOS 5D Mark II/09.canon.sraw1.cr2/threads:32/process_time/real_time_median -0.1392 -0.1386 105 91 3354 2890 raw.pixls.us-unique/Canon/EOS 5D Mark II/09.canon.sraw1.cr2/threads:32/process_time/real_time_stddev +0.7775 +0.4946 1 1 19 29 raw.pixls.us-unique/Canon/EOS 5D Mark II/09.canon.sraw1.cr2/threads:32/process_time/real_time_cv +1.0577 +0.7297 0 0 0 0 raw.pixls.us-unique/Canon/EOS 5D Mark II/10.canon.sraw2.cr2/threads:32/process_time/real_time_pvalue 0.0004 0.0004 U Test, Repetitions: 9 vs 9 raw.pixls.us-unique/Canon/EOS 5D Mark II/10.canon.sraw2.cr2/threads:32/process_time/real_time_mean -0.0665 -0.0665 55 52 55 52 raw.pixls.us-unique/Canon/EOS 5D Mark II/10.canon.sraw2.cr2/threads:32/process_time/real_time_median -0.0665 -0.0665 55 52 55 52 raw.pixls.us-unique/Canon/EOS 5D Mark II/10.canon.sraw2.cr2/threads:32/process_time/real_time_stddev -0.9041 -0.9014 0 0 0 0 raw.pixls.us-unique/Canon/EOS 5D Mark II/10.canon.sraw2.cr2/threads:32/process_time/real_time_cv -0.8972 -0.8943 0 0 0 0 raw.pixls.us-unique/Canon/EOS 5DS/2K4A9927.CR2/threads:32/process_time/real_time_pvalue 0.0004 0.0004 U Test, Repetitions: 9 vs 9 raw.pixls.us-unique/Canon/EOS 5DS/2K4A9927.CR2/threads:32/process_time/real_time_mean -0.1502 -0.1502 225 191 225 191 raw.pixls.us-unique/Canon/EOS 5DS/2K4A9927.CR2/threads:32/process_time/real_time_median -0.1496 -0.1496 225 192 225 192 raw.pixls.us-unique/Canon/EOS 5DS/2K4A9927.CR2/threads:32/process_time/real_time_stddev +3.8736 +3.9278 0 0 0 0 raw.pixls.us-unique/Canon/EOS 5DS/2K4A9927.CR2/threads:32/process_time/real_time_cv +4.7349 +4.7987 0 0 0 0 raw.pixls.us-unique/Canon/EOS 5DS/2K4A9928.CR2/threads:32/process_time/real_time_pvalue 0.0004 0.6588 U Test, Repetitions: 9 vs 9 raw.pixls.us-unique/Canon/EOS 5DS/2K4A9928.CR2/threads:32/process_time/real_time_mean -0.0764 +0.0020 267 247 6984 6998 raw.pixls.us-unique/Canon/EOS 5DS/2K4A9928.CR2/threads:32/process_time/real_time_median -0.0756 -0.0010 267 247 6992 6984 raw.pixls.us-unique/Canon/EOS 5DS/2K4A9928.CR2/threads:32/process_time/real_time_stddev +0.8443 +0.0099 1 1 38 38 raw.pixls.us-unique/Canon/EOS 5DS/2K4A9928.CR2/threads:32/process_time/real_time_cv +0.9967 +0.0080 0 0 0 0 raw.pixls.us-unique/Canon/EOS 5DS/2K4A9929.CR2/threads:32/process_time/real_time_pvalue 0.0004 0.0004 U Test, Repetitions: 9 vs 9 raw.pixls.us-unique/Canon/EOS 5DS/2K4A9929.CR2/threads:32/process_time/real_time_mean -0.0689 -0.0689 154 144 154 144 raw.pixls.us-unique/Canon/EOS 5DS/2K4A9929.CR2/threads:32/process_time/real_time_median -0.0682 -0.0682 154 144 154 144 raw.pixls.us-unique/Canon/EOS 5DS/2K4A9929.CR2/threads:32/process_time/real_time_stddev +6.6731 +6.8931 0 0 0 0 raw.pixls.us-unique/Canon/EOS 5DS/2K4A9929.CR2/threads:32/process_time/real_time_cv +7.2405 +7.4768 0 0 0 0 raw.pixls.us-unique/Canon/EOS 77D/IMG_4049.CR2/threads:32/process_time/real_time_pvalue 0.0004 0.0004 U Test, Repetitions: 9 vs 9 raw.pixls.us-unique/Canon/EOS 77D/IMG_4049.CR2/threads:32/process_time/real_time_mean -0.1334 -0.1334 151 131 151 131 raw.pixls.us-unique/Canon/EOS 77D/IMG_4049.CR2/threads:32/process_time/real_time_median -0.1333 -0.1333 151 131 151 131 raw.pixls.us-unique/Canon/EOS 77D/IMG_4049.CR2/threads:32/process_time/real_time_stddev +0.1553 +0.1940 0 0 0 0 raw.pixls.us-unique/Canon/EOS 77D/IMG_4049.CR2/threads:32/process_time/real_time_cv +0.3331 +0.3777 0 0 0 0 OVERALL_GEOMEAN -0.1022 -0.0917 0 0 0 0 ```
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.