diff options
author | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2022-07-13 14:47:32 +0200 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2022-07-13 15:49:00 +0200 |
commit | 9c24b86e4b634d7db761a3e57c1b64fead880aff (patch) | |
tree | e3f65eeac6cec1f6cd78f8709e3625ff84204e76 /livereload | |
parent | 223bf2800488ad5d38854bbb595d789bc35ebe32 (diff) |
Cache when not found in LookupLayout
Very visible when using the pprof mutex profiler.
```bash
name old time/op new time/op delta
Baseline-10 58.4ms ± 1% 51.6ms ± 0% -11.56% (p=0.029 n=4+4)
name old alloc/op new alloc/op delta
Baseline-10 64.3MB ± 0% 64.2MB ± 0% ~ (p=0.114 n=4+4)
name old allocs/op new allocs/op delta
Baseline-10 649k ± 0% 649k ± 0% ~ (p=0.229 n=4+4)
```
Diffstat (limited to 'livereload')
0 files changed, 0 insertions, 0 deletions