PERFORMANCE_CRITICAL_PATH.md
There're many files whose functions are in the critical path of read or write requests. They're so important to the overall performance that any regression will directly impact user experience. We add a comment #[PerformanceCriticalPath] to highlight these critical files. Please note that this is the best-effort work and some files in critical path may not be marked. But if a file is marked, please pay special attention when you change its code.
Here're some typical mistakes that should be avoided in the #[PerformanceCriticalPath] files:
Below is the performance map that would help you to understand how read/write requests are executed inside TiKV: