diff options
| author | Jonathan Amsterdam <jba@google.com> | 2023-09-19 17:23:58 -0400 |
|---|---|---|
| committer | Jonathan Amsterdam <jba@google.com> | 2023-09-19 22:53:47 +0000 |
| commit | 3857a89e7eb872fa22d569e70b7e076bec74ebbb (patch) | |
| tree | c22ecfb429597325b022e825bdd94b46e6ad29b1 /src/runtime | |
| parent | 4d700a719bacb4286032c66e4e68d74024f8e748 (diff) | |
| download | go-3857a89e7eb872fa22d569e70b7e076bec74ebbb.tar.xz | |
net/http: add a benchmark for multi indexing
We don't index multis, so a corpus full of them will take quadratic
time to check for conflicts. How slow is that going to be in practice?
This benchmark indexes and checks a thousand multi patterns, all disjoint.
It runs in about 35ms.
Change-Id: Id27940ab19ad003627bd5c43c53466e01456b796
Reviewed-on: https://go-review.googlesource.com/c/go/+/529477
Run-TryBot: Jonathan Amsterdam <jba@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Damien Neil <dneil@google.com>
Diffstat (limited to 'src/runtime')
0 files changed, 0 insertions, 0 deletions
