diff options
author | Marcel Amirault <mamirault@gitlab.com> | 2019-07-19 05:20:32 +0300 |
---|---|---|
committer | Evan Read <eread@gitlab.com> | 2019-07-19 05:20:32 +0300 |
commit | 7da80b2d36adc30964423042e956ef880a2650f9 (patch) | |
tree | 81c5e21931e2d2134fbedb8c0a859aeac6d14c5b /doc/development/performance.md | |
parent | acdb1f79688adae87933b34c3140e286ebab055c (diff) |
Update numbered lists for docs standards
Ensure that all numbered lists use only 1. and no other numbers.
Also ensure that numbered lists use proper spacing.
Diffstat (limited to 'doc/development/performance.md')
-rw-r--r-- | doc/development/performance.md | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/development/performance.md b/doc/development/performance.md index 8b569a677b6..14b3f8204d2 100644 --- a/doc/development/performance.md +++ b/doc/development/performance.md @@ -267,7 +267,7 @@ piece of code is worth optimizing. The only two things you can do are: 1. Think about what the code does, how it's used, how many times it's called and how much time is spent in it relative to the total execution time (e.g., the total time spent in a web request). -2. Ask others (preferably in the form of an issue). +1. Ask others (preferably in the form of an issue). Some examples of changes that aren't really important/worth the effort: @@ -285,10 +285,10 @@ directly in a web request as much as possible. This has numerous benefits such as: 1. An error won't prevent the request from completing. -2. The process being slow won't affect the loading time of a page. -3. In case of a failure it's easy to re-try the process (Sidekiq takes care of +1. The process being slow won't affect the loading time of a page. +1. In case of a failure it's easy to re-try the process (Sidekiq takes care of this automatically). -4. By isolating the code from a web request it will hopefully be easier to test +1. By isolating the code from a web request it will hopefully be easier to test and maintain. It's especially important to use Sidekiq as much as possible when dealing with |