diff options
author | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2023-05-15 10:19:53 +0200 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2023-05-15 11:25:24 +0200 |
commit | 6aededf6b42011c3039f5f66487a89a8dd65e0e7 (patch) | |
tree | 4112866cac20d5a68539b94db4da7e1546ce7219 /hugolib/site.go | |
parent | 0988b76a781c3a5a9645d583bb2e038d51c79c06 (diff) |
Improve date parsing performance for the common case
```
name old time/op new time/op delta
Baseline/skiprender-10 24.5ms ±10% 22.3ms ± 4% -8.93% (p=0.029 n=4+4)
name old alloc/op new alloc/op delta
Baseline/skiprender-10 30.0MB ± 0% 26.2MB ± 0% -12.74% (p=0.029 n=4+4)
name old allocs/op new allocs/op delta
Baseline/skiprender-10 373k ± 0% 279k ± 0% -25.07% (p=0.029 n=4+4)
```
Fixes #10942
Diffstat (limited to 'hugolib/site.go')
0 files changed, 0 insertions, 0 deletions