Cache source maps for a major performance optimization #1085
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.
TODO: Add ability for patch reload to empty the cache
Note below numbers include other unreleased SMAPI performance tweaks, and extra ContentPatcher instrumentation not included in this PR, but those differences are the same for both before and after.
Before: https://smapi.io/log/83897c04742e471a872a39b487bc1273

https://smapi.io/json/none/632100bbfa654df7b120ba7e414e3bb3
After: https://smapi.io/log/7e2d28eab94345888979a7f7ab7f1d66

https://smapi.io/json/none/3372bb161640437db04b6ab0f369bb9e