You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Skip digest checks when reading unwind info (#275)
This check was put in place to make sure we aren't loading corrupted
unwind information. This is an unlikely thing to happen but we are
paying a high cost, especially in memory-constrained environments as
unwind information will be evicted and re-read from disk with the
consequent digest checks.
Keeping the digest is very useful for debugging purposes, but checking
it on every read is not worth it performance wise, right now in some of
my tests, 50% of lightswitch's CPU time is spent computing the digest.
Some of the future things that could be done:
- switching to a faster hash algorithm and optimise the buffer sizes
- check a small % of reads
Test Plan
=========
CI
0 commit comments