Repository navigation
Conversation
docs:update README-zh_cn.md
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.
Current-base specification disposition
Current main:
4283de1599c7da914138f82a99405d67c2c861ec. This PR remains Draft and is not applicable to that base.The implementation, validation and performance results below apply only to the historical
666999650f8afb405fa34dbf1ee0b98cd7145117base. They are not claims about current main.Summary
Move update-time configuration hashes inside their existing store-eligibility branches. This avoids computing hashes whose results cannot be used. Hash inputs, change detection, 300 ms debounce, 1 s retry, serialization, loading, and flush behavior are unchanged.
This is an independent change based on
666999650f8afb405fa34dbf1ee0b98cd7145117; it does not depend on the other performance PRs.Correctness checks
Measured component cost
GCC 14.2,
-Osand native IPO/LTO, Debian 13 x86_64 cloud VM, Xeon Platinum 8573C, pinned logical CPU 0 (not a dedicated host). Old and new implementations use the same compiler and real production hash functions. Three independent runs each use warmup/calibration and 31 alternating paired samples, with at least a 30 ms calibration target per batch. Process CPU and monotonic wall time are recorded separately.Pooled wall-time median / p95 of batch-average cost:
The saturated session-blocked median falls by 36.77%; its three separate runs show 33.57–38.81% reductions. No allocation, cache, persistent field, or structure-size change is introduced.
Important limits: GCC already skips some unused settings hashing in the baseline. Healthy primary/secondary and settings-only-blocked controls show noisy results, including slower samples; this PR does not claim a common-path gain. The full raw data, control ranges, methodology and reproduction commands are in
tests/runtime/README.mdandtests/runtime/config_store_measurements.csv.These are steady-state configuration-update microbenchmarks, not input-to-render latency, disk-save latency, FPS, or full-app CPU usage. Cubism SDK is absent, so full Live2D rendering was not built. Native window smoke is blocked by the cloud display-socket restriction; Windows/macOS results must come from CI and are not local runtime measurements.