This repository was archived by the owner on Mar 15, 2021. It is now read-only.
Repository navigation
Commit 648be07
Arnau Siches
fix: Avoid collecting unnecessary snapshots
When the logs are collected in relaxed mode it does not need to compute
the current snapshot for every single entry.
This fix speeds up large registers by ~2x.
Signed-off-by: Arnau Siches <arnau.siches@digital.cabinet-office.gov.uk>1 parent 767c4c6 commit 648be07
1 file changed
Lines changed: 17 additions & 16 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
175 | 175 | | |
176 | 176 | | |
177 | 177 | | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
178 | 181 | | |
179 | 182 | | |
180 | 183 | | |
| |||
198 | 201 | | |
199 | 202 | | |
200 | 203 | | |
201 | | - | |
202 | | - | |
203 | | - | |
204 | | - | |
205 | | - | |
206 | | - | |
207 | | - | |
208 | | - | |
| 204 | + | |
| 205 | + | |
209 | 206 | | |
210 | | - | |
211 | | - | |
212 | | - | |
| 207 | + | |
213 | 208 | | |
214 | | - | |
215 | | - | |
216 | | - | |
217 | | - | |
218 | 209 | | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
219 | 213 | | |
220 | | - | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
221 | 222 | | |
222 | 223 | | |
223 | 224 | | |
| |||
0 commit comments