Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
docs: Clarify statement about optimization in major endpoints section.
Bedo Khaled2d61f22f8f83
diff --git a/docs/subsystems/performance.md b/docs/subsystems/performance.mdindex 2691f9faab1..aa92b8eb2cb 100644--- a/docs/subsystems/performance.md+++ b/docs/subsystems/performance.md@@ -73,9 +73,10 @@ to thoughtfully implement the data fetch code path for every feature.Furthermore, a snappy user interface is one of Zulip's design goals, andso we care about the performance of any user-facing code path, eventhough many of them are not material to scalability of the server.-But only with regard to the requests detailed below, is it worth considering-optimizations which save a few milliseconds that would be invisible to the end user,-if they carry any cost in code readability.+But when an optimization only saves a few milliseconds that would be+invisible to the end user, and carries any cost in code readability,+the optimization is worth considering only if it applies to+the major endpoints listed below.In Zulip's documentation, our general rule is to primarily write factsthat are likely to remain true for a long time. While the numbers