Skip to content

builder: avoid reflect.DeepEqual boxing, error-only json.Marshal - #655

Open
mauriciopoppe wants to merge 1 commit into
kubernetes:masterfrom
mauriciopoppe:pr-wraprefs-builder-allocs
Open

mauriciopoppe wants to merge 1 commit into
kubernetes:masterfrom
mauriciopoppe:pr-wraprefs-builder-allocs

Conversation

@mauriciopoppe

@mauriciopoppe mauriciopoppe commented Oct 7, 2026 •

Copy link
Copy Markdown
Member

What type of PR is this?

/kind cleanup

What this PR does / why we need it:

This PR reduces memory allocations and CPU overhead during OpenAPI v2 and v3 spec construction without changing any generated schemas or error messages:

  1. Avoid reflect.DeepEqual boxing and property loop escapes in WrapRefs (pkg/builder3/util/util.go):

    • WrapRefs previously checked if a $ref schema had sibling fields via !reflect.DeepEqual(*schema, spec.Schema{SchemaProps: spec.SchemaProps{Ref: schema.Ref}}), boxing two 456-byte spec.Schema values onto the heap on every $ref. In addition, walking via schemamutation.Walker caused every for k, v := range schema.Properties loop variable v to escape to the heap (moved to heap: v).
    • Replaces reflect.DeepEqual with a zero-allocation hasSiblingElements(s *spec.Schema) bool check (guarded by compile-time struct{ ... }(...) type conversion assertions on spec.Schema, spec.VendorExtensible, spec.SchemaProps, and spec.SwaggerSchemaProps, plus a per-field reflection test TestHasSiblingElementsAllFields), and uses copy-on-write helpers (wrapSchemaInPlace, wrapSchemaMap, wrapSchemaSlice) so unmodified property values stay on the stack.
  2. Defer duplicate-parameter error marshaling and avoid boxing mapKeyFromParam (pkg/builder3/openapi.go, pkg/builder3/util.go, pkg/builder/openapi.go, pkg/builder/util.go):

    • Moves m, _ := json.Marshal(param) inside if routeParamDuplicateMap[key] in findCommonParameters so parameters are only marshaled when formatting a duplicate-parameter error, and changes mapKeyFromParam from returning interface{} to a concrete paramKey struct.

Special notes for your reviewer:

Package Microbenchmarks (pkg/builder3/util, pkg/builder3, pkg/builder)

go test -bench=. -benchmem -count=5 ./pkg/builder3/util ./pkg/builder3 ./pkg/builder
Benchmark Metric Before (e2e80c32a35f) After (This PR) Delta
BenchmarkWrapRefs (pkg/builder3/util) Latency (ns/op) 42,551 ns/op 9,956 ns/op -76.6% (4.27x faster)
BenchmarkWrapRefs (pkg/builder3/util) Bytes (B/op) 48,472 B/op 17,688 B/op -63.5% (-30,784 B/op)
BenchmarkWrapRefs (pkg/builder3/util) Allocs (allocs/op) 109 allocs/op 33 allocs/op -69.7% (-76 allocs/op)
BenchmarkBuildOpenAPISpec (pkg/builder3) Latency (ns/op) 172,649 ns/op 119,630 ns/op -30.7% (1.44x faster)
BenchmarkBuildOpenAPISpec (pkg/builder3) Bytes (B/op) 112,975 B/op 96,061 B/op -15.0% (-16,914 B/op)
BenchmarkBuildOpenAPISpec (pkg/builder3) Allocs (allocs/op) 991 allocs/op 752 allocs/op -24.1% (-239 allocs/op)
BenchmarkBuildOpenAPISpec (pkg/builder) Latency (ns/op) 305,553 ns/op 263,102 ns/op -13.9% (1.16x faster)
BenchmarkBuildOpenAPISpec (pkg/builder) Allocs (allocs/op) 1,184 allocs/op 954 allocs/op -19.4% (-230 allocs/op)

Fixed-iteration pprof diff (go test -bench=BenchmarkWrapRefs -benchtime=20000x ./pkg/builder3/util):

# Total alloc_space: 916.01 MB -> 330.20 MB (-585.81 MB / -63.95%)
      flat  flat%   sum%        cum   cum%
 -545.30MB 59.53% 59.53%     -911MB 99.45%  k8s.io/kube-openapi/pkg/schemamutation.(*Walker).WalkSchema
 -294.16MB 32.11% 91.64%  -357.19MB 38.99%  k8s.io/kube-openapi/pkg/builder3/util.WrapRefs.func1
  266.65MB 29.11% 62.53%   309.67MB 33.81%  k8s.io/kube-openapi/pkg/builder3/util.wrapSchemaInPlace
  -48.53MB  5.30% 67.83%   -48.53MB  5.30%  k8s.io/kube-openapi/pkg/builder3/util.WrapRefs.func1.1 (inline)

Kubernetes Integration Benchmark (BenchmarkRequestCost, n=6)

Evaluated by vendoring this PR (3ac76a11efb8) into kubernetes/kubernetes (baseline 704449b06d65) and running BenchmarkRequestCost (test/integration/apiserver/flowcontrol/cost, -count=6, GOMAXPROCS=4). During setupAPIServer, (*GenericAPIServer).InstallAPIGroups calls s.getOpenAPIModels() to build the Server-Side Apply managedfields.TypeConverter, which invokes openapibuilder3.BuildOpenAPIDefinitionsForResources -> buildDefinitionRecursively -> builderutil.WrapRefs(schema):

go test -run=^$ -bench=^BenchmarkRequestCost$ -benchmem -count=6 ./test/integration/apiserver/flowcontrol/cost
goos: linux
goarch: amd64
pkg: k8s.io/kubernetes/test/integration/apiserver/flowcontrol/cost
cpu: Intel(R) Xeon(R) Platinum 8481C CPU @ 2.70GHz
                                                                     │  before.txt   │              after.txt              │
                                                                     │ setup-alloc-B │ setup-alloc-B  vs base              │
RequestCost/Method=LIST/Options=N=100_rv=0/Format=json-4                159.3Mi ± 8%    148.9Mi ± 7%  -6.53% (p=0.009 n=6)
RequestCost/Method=LIST/Options=N=100_rv=0/Format=cbor-4                160.4Mi ± 2%    148.1Mi ± 2%  -7.65% (p=0.002 n=6)
RequestCost/Method=LIST/Options=N=100_rv=0/Format=table-4               159.9Mi ± 1%    145.4Mi ± 3%  -9.05% (p=0.002 n=6)
RequestCost/Method=WATCH/Options=N=100_rv=FIRST_RV/Format=protobuf-4    158.9Mi ± 1%    148.2Mi ± 1%  -6.77% (p=0.002 n=6)
RequestCost/Method=WATCH/Options=N=100_rv=FIRST_RV/Format=table-4       159.7Mi ± 1%    149.4Mi ± 2%  -6.43% (p=0.002 n=6)
RequestCost/Method=POST/Options=create/Format=json-4                    159.3Mi ± 1%    149.8Mi ± 2%  -5.93% (p=0.002 n=6)
RequestCost/Method=POST/Options=create/Format=protobuf-4                159.8Mi ± 1%    148.7Mi ± 1%  -6.99% (p=0.002 n=6)
RequestCost/Method=PATCH/Options=apply/Format=json-4                    159.8Mi ± 1%    148.5Mi ± 3%  -7.07% (p=0.002 n=6)
RequestCost/Method=PATCH/Options=apply/Format=protobuf-4                160.0Mi ± 1%    147.4Mi ± 2%  -7.86% (p=0.002 n=6)
RequestCost/Method=PATCH/Options=status_kubelet/Format=json-4           160.2Mi ± 1%    148.6Mi ± 3%  -7.27% (p=0.002 n=6)
RequestCost/Method=PATCH/Options=status_kubelet/Format=protobuf-4       160.0Mi ± 1%    145.8Mi ± 3%  -8.85% (p=0.002 n=6)
RequestCost/Method=DELETECOLLECTION/Options=N=100/Format=protobuf-4     158.3Mi ± 3%    148.4Mi ± 0%  -6.23% (p=0.002 n=6)
geomean                                                                 159.6Mi         148.1Mi       -7.22%

                                                                     │  before.txt   │              after.txt              │
                                                                     │ heap-inuse-B  │ heap-inuse-B   vs base              │
RequestCost/Method=LIST/Options=N=100_rv=0/Format=json-4               175.5Mi ± 47%   161.4Mi ± 45%       ~ (p=0.180 n=6)
RequestCost/Method=LIST/Options=N=100_rv=0/Format=cbor-4               181.2Mi ± 38%   168.3Mi ± 38%       ~ (p=0.180 n=6)
RequestCost/Method=LIST/Options=N=100_rv=0/Format=table-4              183.3Mi ± 35%   171.8Mi ± 31%       ~ (p=0.180 n=6)
RequestCost/Method=WATCH/Options=N=100_rv=FIRST_RV/Format=protobuf-4   179.9Mi ± 38%   167.4Mi ± 34%       ~ (p=0.180 n=6)
RequestCost/Method=WATCH/Options=N=100_rv=FIRST_RV/Format=table-4      178.7Mi ± 38%   166.6Mi ± 34%       ~ (p=0.180 n=6)
RequestCost/Method=POST/Options=create/Format=json-4                   154.7Mi ± 35%   144.2Mi ± 34%       ~ (p=0.180 n=6)
RequestCost/Method=POST/Options=create/Format=protobuf-4               154.9Mi ± 32%   149.9Mi ± 26%       ~ (p=0.589 n=6)
RequestCost/Method=PATCH/Options=apply/Format=json-4                   156.5Mi ± 31%   148.4Mi ± 33%       ~ (p=0.394 n=6)
RequestCost/Method=PATCH/Options=apply/Format=protobuf-4               161.4Mi ± 30%   149.5Mi ± 29%       ~ (p=0.240 n=6)
RequestCost/Method=PATCH/Options=status_kubelet/Format=json-4          158.6Mi ± 32%   148.6Mi ± 29%       ~ (p=0.937 n=6)
RequestCost/Method=PATCH/Options=status_kubelet/Format=protobuf-4      161.5Mi ± 31%   154.2Mi ± 27%       ~ (p=0.310 n=6)
RequestCost/Method=DELETECOLLECTION/Options=N=100/Format=protobuf-4    194.5Mi ± 39%   182.3Mi ± 36%       ~ (p=0.162 n=6)
geomean                                                                169.6Mi         159.0Mi        -6.24%

                                                                     │   before.txt   │              after.txt              │
                                                                     │  heap-alloc-B  │ heap-alloc-B   vs base              │
RequestCost/Method=LIST/Options=N=100_rv=0/Format=json-4                104.9Mi ± 42%   104.9Mi ± 43%       ~ (p=0.937 n=6)
RequestCost/Method=LIST/Options=N=100_rv=0/Format=cbor-4                107.2Mi ± 41%   106.7Mi ± 41%       ~ (p=0.937 n=6)
RequestCost/Method=LIST/Options=N=100_rv=0/Format=table-4               108.7Mi ± 39%   108.9Mi ± 39%       ~ (p=0.093 n=6)
RequestCost/Method=WATCH/Options=N=100_rv=FIRST_RV/Format=protobuf-4    107.6Mi ± 39%   107.6Mi ± 39%       ~ (p=0.394 n=6)
RequestCost/Method=WATCH/Options=N=100_rv=FIRST_RV/Format=table-4       106.4Mi ± 39%   107.6Mi ± 41%       ~ (p=0.065 n=6)
RequestCost/Method=POST/Options=create/Format=json-4                   100.25Mi ± 35%   99.33Mi ± 36%       ~ (p=0.240 n=6)
RequestCost/Method=POST/Options=create/Format=protobuf-4                100.7Mi ± 33%   100.5Mi ± 33%       ~ (p=1.000 n=6)
RequestCost/Method=PATCH/Options=apply/Format=json-4                    103.8Mi ± 34%   102.4Mi ± 37%       ~ (p=0.485 n=6)
RequestCost/Method=PATCH/Options=apply/Format=protobuf-4                103.7Mi ± 35%   102.5Mi ± 36%       ~ (p=0.485 n=6)
RequestCost/Method=PATCH/Options=status_kubelet/Format=json-4           102.9Mi ± 34%   102.5Mi ± 33%       ~ (p=0.589 n=6)
RequestCost/Method=PATCH/Options=status_kubelet/Format=protobuf-4       104.3Mi ± 35%   103.4Mi ± 33%       ~ (p=0.937 n=6)
RequestCost/Method=DELETECOLLECTION/Options=N=100/Format=protobuf-4     114.8Mi ± 39%   115.0Mi ± 39%       ~ (p=0.818 n=6)
geomean                                                                 105.4Mi         105.0Mi        -0.31%

                                                                     │   before.txt    │               after.txt               │
                                                                     │ runtime-inuse-B │ runtime-inuse-B  vs base              │
RequestCost/Method=LIST/Options=N=100_rv=0/Format=json-4                 199.5Mi ± 43%     184.1Mi ± 41%       ~ (p=0.180 n=6)
RequestCost/Method=LIST/Options=N=100_rv=0/Format=cbor-4                 206.0Mi ± 34%     191.5Mi ± 33%       ~ (p=0.180 n=6)
RequestCost/Method=LIST/Options=N=100_rv=0/Format=table-4                208.0Mi ± 31%     195.9Mi ± 27%       ~ (p=0.180 n=6)
RequestCost/Method=WATCH/Options=N=100_rv=FIRST_RV/Format=protobuf-4     204.6Mi ± 32%     192.5Mi ± 30%       ~ (p=0.180 n=6)
RequestCost/Method=WATCH/Options=N=100_rv=FIRST_RV/Format=table-4        203.5Mi ± 32%     191.5Mi ± 30%       ~ (p=0.180 n=6)
RequestCost/Method=POST/Options=create/Format=json-4                     180.0Mi ± 30%     171.0Mi ± 28%       ~ (p=0.310 n=6)
RequestCost/Method=POST/Options=create/Format=protobuf-4                 180.6Mi ± 28%     176.8Mi ± 22%       ~ (p=0.589 n=6)
RequestCost/Method=PATCH/Options=apply/Format=json-4                     182.3Mi ± 27%     175.2Mi ± 27%       ~ (p=0.485 n=6)
RequestCost/Method=PATCH/Options=apply/Format=protobuf-4                 187.2Mi ± 26%     176.4Mi ± 25%       ~ (p=0.240 n=6)
RequestCost/Method=PATCH/Options=status_kubelet/Format=json-4            184.2Mi ± 28%     175.5Mi ± 25%       ~ (p=0.937 n=6)
RequestCost/Method=PATCH/Options=status_kubelet/Format=protobuf-4        187.2Mi ± 27%     181.1Mi ± 23%       ~ (p=0.310 n=6)
RequestCost/Method=DELETECOLLECTION/Options=N=100/Format=protobuf-4      220.1Mi ± 34%     208.6Mi ± 31%       ~ (p=0.180 n=6)
geomean                                                                  194.9Mi           184.7Mi        -5.21%

                                                                     │  before.txt  │              after.txt              │
                                                                     │    sec/op    │    sec/op      vs base              │
RequestCost/Method=LIST/Options=N=100_rv=0/Format=json-4               6.406m ±  1%   6.580m ±  32%       ~ (p=0.065 n=6)
RequestCost/Method=LIST/Options=N=100_rv=0/Format=cbor-4               20.10m ± 41%   20.80m ± 116%       ~ (p=0.065 n=6)
RequestCost/Method=LIST/Options=N=100_rv=0/Format=table-4              5.557m ± 11%   5.572m ±  20%       ~ (p=0.818 n=6)
RequestCost/Method=WATCH/Options=N=100_rv=FIRST_RV/Format=protobuf-4    1.001 ±  0%    1.001 ±   0%       ~ (p=0.240 n=6)
RequestCost/Method=WATCH/Options=N=100_rv=FIRST_RV/Format=table-4       1.001 ±  0%    1.001 ±   0%       ~ (p=0.589 n=6)
RequestCost/Method=POST/Options=create/Format=json-4                   3.553m ±  7%   3.465m ±  18%       ~ (p=0.394 n=6)
RequestCost/Method=POST/Options=create/Format=protobuf-4               3.244m ± 10%   3.325m ±  17%       ~ (p=0.394 n=6)
RequestCost/Method=PATCH/Options=apply/Format=json-4                   5.354m ±  3%   5.275m ±   5%       ~ (p=0.240 n=6)
RequestCost/Method=PATCH/Options=apply/Format=protobuf-4               5.194m ±  4%   5.526m ±  96%       ~ (p=0.065 n=6)
RequestCost/Method=PATCH/Options=status_kubelet/Format=json-4          3.521m ± 15%   3.922m ±  12%       ~ (p=0.065 n=6)
RequestCost/Method=PATCH/Options=status_kubelet/Format=protobuf-4      3.700m ± 36%   3.625m ±  15%       ~ (p=0.589 n=6)
RequestCost/Method=DELETECOLLECTION/Options=N=100/Format=protobuf-4    459.1m ±  4%   454.0m ±  13%       ~ (p=0.589 n=6)
geomean                                                                18.26m         18.55m         +1.56%
Full 11-metric benchstat output
goos: linux
goarch: amd64
pkg: k8s.io/kubernetes/test/integration/apiserver/flowcontrol/cost
cpu: Intel(R) Xeon(R) Platinum 8481C CPU @ 2.70GHz
                                                                     │  before.txt  │              after.txt              │
                                                                     │    sec/op    │    sec/op      vs base              │
RequestCost/Method=LIST/Options=N=100_rv=0/Format=json-4               6.406m ±  1%   6.580m ±  32%       ~ (p=0.065 n=6)
RequestCost/Method=LIST/Options=N=100_rv=0/Format=cbor-4               20.10m ± 41%   20.80m ± 116%       ~ (p=0.065 n=6)
RequestCost/Method=LIST/Options=N=100_rv=0/Format=table-4              5.557m ± 11%   5.572m ±  20%       ~ (p=0.818 n=6)
RequestCost/Method=WATCH/Options=N=100_rv=FIRST_RV/Format=protobuf-4    1.001 ±  0%    1.001 ±   0%       ~ (p=0.240 n=6)
RequestCost/Method=WATCH/Options=N=100_rv=FIRST_RV/Format=table-4       1.001 ±  0%    1.001 ±   0%       ~ (p=0.589 n=6)
RequestCost/Method=POST/Options=create/Format=json-4                   3.553m ±  7%   3.465m ±  18%       ~ (p=0.394 n=6)
RequestCost/Method=POST/Options=create/Format=protobuf-4               3.244m ± 10%   3.325m ±  17%       ~ (p=0.394 n=6)
RequestCost/Method=PATCH/Options=apply/Format=json-4                   5.354m ±  3%   5.275m ±   5%       ~ (p=0.240 n=6)
RequestCost/Method=PATCH/Options=apply/Format=protobuf-4               5.194m ±  4%   5.526m ±  96%       ~ (p=0.065 n=6)
RequestCost/Method=PATCH/Options=status_kubelet/Format=json-4          3.521m ± 15%   3.922m ±  12%       ~ (p=0.065 n=6)
RequestCost/Method=PATCH/Options=status_kubelet/Format=protobuf-4      3.700m ± 36%   3.625m ±  15%       ~ (p=0.589 n=6)
RequestCost/Method=DELETECOLLECTION/Options=N=100/Format=protobuf-4    459.1m ±  4%   454.0m ±  13%       ~ (p=0.589 n=6)
geomean                                                                18.26m         18.55m         +1.56%

                                                                     │   before.txt   │              after.txt              │
                                                                     │  heap-alloc-B  │ heap-alloc-B   vs base              │
RequestCost/Method=LIST/Options=N=100_rv=0/Format=json-4                104.9Mi ± 42%   104.9Mi ± 43%       ~ (p=0.937 n=6)
RequestCost/Method=LIST/Options=N=100_rv=0/Format=cbor-4                107.2Mi ± 41%   106.7Mi ± 41%       ~ (p=0.937 n=6)
RequestCost/Method=LIST/Options=N=100_rv=0/Format=table-4               108.7Mi ± 39%   108.9Mi ± 39%       ~ (p=0.093 n=6)
RequestCost/Method=WATCH/Options=N=100_rv=FIRST_RV/Format=protobuf-4    107.6Mi ± 39%   107.6Mi ± 39%       ~ (p=0.394 n=6)
RequestCost/Method=WATCH/Options=N=100_rv=FIRST_RV/Format=table-4       106.4Mi ± 39%   107.6Mi ± 41%       ~ (p=0.065 n=6)
RequestCost/Method=POST/Options=create/Format=json-4                   100.25Mi ± 35%   99.33Mi ± 36%       ~ (p=0.240 n=6)
RequestCost/Method=POST/Options=create/Format=protobuf-4                100.7Mi ± 33%   100.5Mi ± 33%       ~ (p=1.000 n=6)
RequestCost/Method=PATCH/Options=apply/Format=json-4                    103.8Mi ± 34%   102.4Mi ± 37%       ~ (p=0.485 n=6)
RequestCost/Method=PATCH/Options=apply/Format=protobuf-4                103.7Mi ± 35%   102.5Mi ± 36%       ~ (p=0.485 n=6)
RequestCost/Method=PATCH/Options=status_kubelet/Format=json-4           102.9Mi ± 34%   102.5Mi ± 33%       ~ (p=0.589 n=6)
RequestCost/Method=PATCH/Options=status_kubelet/Format=protobuf-4       104.3Mi ± 35%   103.4Mi ± 33%       ~ (p=0.937 n=6)
RequestCost/Method=DELETECOLLECTION/Options=N=100/Format=protobuf-4     114.8Mi ± 39%   115.0Mi ± 39%       ~ (p=0.818 n=6)
geomean                                                                 105.4Mi         105.0Mi        -0.31%

                                                                     │  before.txt   │              after.txt               │
                                                                     │  heap-frag-B  │  heap-frag-B   vs base               │
RequestCost/Method=LIST/Options=N=100_rv=0/Format=json-4               70.63Mi ± 54%   56.50Mi ± 49%        ~ (p=0.180 n=6)
RequestCost/Method=LIST/Options=N=100_rv=0/Format=cbor-4               73.35Mi ± 33%   61.56Mi ± 31%        ~ (p=0.132 n=6)
RequestCost/Method=LIST/Options=N=100_rv=0/Format=table-4              74.58Mi ± 29%   62.81Mi ± 22%        ~ (p=0.132 n=6)
RequestCost/Method=WATCH/Options=N=100_rv=FIRST_RV/Format=protobuf-4   72.38Mi ± 35%   59.68Mi ± 26%        ~ (p=0.180 n=6)
RequestCost/Method=WATCH/Options=N=100_rv=FIRST_RV/Format=table-4      71.85Mi ± 36%   59.05Mi ± 22%        ~ (p=0.180 n=6)
RequestCost/Method=POST/Options=create/Format=json-4                   53.77Mi ± 35%   45.05Mi ± 30%        ~ (p=0.180 n=6)
RequestCost/Method=POST/Options=create/Format=protobuf-4               53.31Mi ± 29%   49.39Mi ± 27%        ~ (p=0.394 n=6)
RequestCost/Method=PATCH/Options=apply/Format=json-4                   52.28Mi ± 24%   47.47Mi ± 28%        ~ (p=0.310 n=6)
RequestCost/Method=PATCH/Options=apply/Format=protobuf-4               56.80Mi ± 26%   47.24Mi ± 23%        ~ (p=0.180 n=6)
RequestCost/Method=PATCH/Options=status_kubelet/Format=json-4          54.50Mi ± 28%   46.08Mi ± 23%        ~ (p=0.240 n=6)
RequestCost/Method=PATCH/Options=status_kubelet/Format=protobuf-4      56.98Mi ± 26%   48.43Mi ± 24%        ~ (p=0.240 n=6)
RequestCost/Method=DELETECOLLECTION/Options=N=100/Format=protobuf-4    79.51Mi ± 39%   67.22Mi ± 32%        ~ (p=0.180 n=6)
geomean                                                                63.41Mi         53.71Mi        -15.29%

                                                                     │  before.txt   │              after.txt              │
                                                                     │ heap-inuse-B  │ heap-inuse-B   vs base              │
RequestCost/Method=LIST/Options=N=100_rv=0/Format=json-4               175.5Mi ± 47%   161.4Mi ± 45%       ~ (p=0.180 n=6)
RequestCost/Method=LIST/Options=N=100_rv=0/Format=cbor-4               181.2Mi ± 38%   168.3Mi ± 38%       ~ (p=0.180 n=6)
RequestCost/Method=LIST/Options=N=100_rv=0/Format=table-4              183.3Mi ± 35%   171.8Mi ± 31%       ~ (p=0.180 n=6)
RequestCost/Method=WATCH/Options=N=100_rv=FIRST_RV/Format=protobuf-4   179.9Mi ± 38%   167.4Mi ± 34%       ~ (p=0.180 n=6)
RequestCost/Method=WATCH/Options=N=100_rv=FIRST_RV/Format=table-4      178.7Mi ± 38%   166.6Mi ± 34%       ~ (p=0.180 n=6)
RequestCost/Method=POST/Options=create/Format=json-4                   154.7Mi ± 35%   144.2Mi ± 34%       ~ (p=0.180 n=6)
RequestCost/Method=POST/Options=create/Format=protobuf-4               154.9Mi ± 32%   149.9Mi ± 26%       ~ (p=0.589 n=6)
RequestCost/Method=PATCH/Options=apply/Format=json-4                   156.5Mi ± 31%   148.4Mi ± 33%       ~ (p=0.394 n=6)
RequestCost/Method=PATCH/Options=apply/Format=protobuf-4               161.4Mi ± 30%   149.5Mi ± 29%       ~ (p=0.240 n=6)
RequestCost/Method=PATCH/Options=status_kubelet/Format=json-4          158.6Mi ± 32%   148.6Mi ± 29%       ~ (p=0.937 n=6)
RequestCost/Method=PATCH/Options=status_kubelet/Format=protobuf-4      161.5Mi ± 31%   154.2Mi ± 27%       ~ (p=0.310 n=6)
RequestCost/Method=DELETECOLLECTION/Options=N=100/Format=protobuf-4    194.5Mi ± 39%   182.3Mi ± 36%       ~ (p=0.162 n=6)
geomean                                                                169.6Mi         159.0Mi        -6.24%

                                                                     │   before.txt    │               after.txt               │
                                                                     │ heap-released-B │ heap-released-B  vs base              │
RequestCost/Method=LIST/Options=N=100_rv=0/Format=json-4                 77.79Mi ± 58%     68.82Mi ± 52%       ~ (p=0.093 n=6)
RequestCost/Method=LIST/Options=N=100_rv=0/Format=cbor-4                 83.77Mi ± 79%     79.46Mi ± 71%       ~ (p=0.310 n=6)
RequestCost/Method=LIST/Options=N=100_rv=0/Format=table-4                82.02Mi ± 77%     79.81Mi ± 64%       ~ (p=0.589 n=6)
RequestCost/Method=WATCH/Options=N=100_rv=FIRST_RV/Format=protobuf-4     85.53Mi ± 77%     85.20Mi ± 68%       ~ (p=0.818 n=6)
RequestCost/Method=WATCH/Options=N=100_rv=FIRST_RV/Format=table-4        86.75Mi ± 76%     86.17Mi ± 67%       ~ (p=0.589 n=6)
RequestCost/Method=POST/Options=create/Format=json-4                     110.5Mi ± 49%     107.4Mi ± 44%       ~ (p=0.485 n=6)
RequestCost/Method=POST/Options=create/Format=protobuf-4                 110.4Mi ± 46%     101.7Mi ± 39%       ~ (p=0.180 n=6)
RequestCost/Method=PATCH/Options=apply/Format=json-4                     108.7Mi ± 45%     103.2Mi ± 46%       ~ (p=0.240 n=6)
RequestCost/Method=PATCH/Options=apply/Format=protobuf-4                 103.8Mi ± 47%     102.3Mi ± 43%       ~ (p=0.699 n=6)
RequestCost/Method=PATCH/Options=status_kubelet/Format=json-4            106.8Mi ± 48%     103.2Mi ± 42%       ~ (p=0.310 n=6)
RequestCost/Method=PATCH/Options=status_kubelet/Format=protobuf-4       103.82Mi ± 48%     97.60Mi ± 42%       ~ (p=0.180 n=6)
RequestCost/Method=DELETECOLLECTION/Options=N=100/Format=protobuf-4      73.84Mi ± 97%     80.41Mi ± 68%       ~ (p=0.485 n=6)
geomean                                                                  93.51Mi           90.43Mi        -3.29%

                                                                     │   before.txt   │              after.txt               │
                                                                     │  request-B/op  │ request-B/op  vs base                │
RequestCost/Method=LIST/Options=N=100_rv=0/Format=json-4                 0.000 ± 0%       0.000 ± 0%       ~ (p=1.000 n=6) ¹
RequestCost/Method=LIST/Options=N=100_rv=0/Format=cbor-4                 0.000 ± 0%       0.000 ± 0%       ~ (p=1.000 n=6) ¹
RequestCost/Method=LIST/Options=N=100_rv=0/Format=table-4                0.000 ± 0%       0.000 ± 0%       ~ (p=1.000 n=6) ¹
RequestCost/Method=WATCH/Options=N=100_rv=FIRST_RV/Format=protobuf-4     0.000 ± 0%       0.000 ± 0%       ~ (p=1.000 n=6) ¹
RequestCost/Method=WATCH/Options=N=100_rv=FIRST_RV/Format=table-4        0.000 ± 0%       0.000 ± 0%       ~ (p=1.000 n=6) ¹
RequestCost/Method=POST/Options=create/Format=json-4                   8.849Ki ± 0%     8.849Ki ± 0%       ~ (p=1.000 n=6) ¹
RequestCost/Method=POST/Options=create/Format=protobuf-4               4.862Ki ± 0%     4.862Ki ± 0%       ~ (p=1.000 n=6) ¹
RequestCost/Method=PATCH/Options=apply/Format=json-4                     106.0 ± 0%       106.0 ± 0%       ~ (p=1.000 n=6) ¹
RequestCost/Method=PATCH/Options=apply/Format=protobuf-4                 106.0 ± 0%       106.0 ± 0%       ~ (p=1.000 n=6) ¹
RequestCost/Method=PATCH/Options=status_kubelet/Format=json-4            460.0 ± 0%       460.0 ± 0%       ~ (p=1.000 n=6) ¹
RequestCost/Method=PATCH/Options=status_kubelet/Format=protobuf-4        460.0 ± 0%       460.0 ± 0%       ~ (p=1.000 n=6) ¹
RequestCost/Method=DELETECOLLECTION/Options=N=100/Format=protobuf-4      0.000 ± 0%       0.000 ± 0%       ~ (p=1.000 n=6) ¹
geomean                                                                             ²                 +0.00%               ²
¹ all samples are equal
² summaries must be >0 to compute geomean

                                                                     │  before.txt   │               after.txt               │
                                                                     │ response-B/op │ response-B/op  vs base                │
RequestCost/Method=LIST/Options=N=100_rv=0/Format=json-4                1.457Mi ± 0%    1.457Mi ± 0%       ~ (p=1.000 n=6)
RequestCost/Method=LIST/Options=N=100_rv=0/Format=cbor-4                1.189Mi ± 0%    1.189Mi ± 0%       ~ (p=1.000 n=6) ¹
RequestCost/Method=LIST/Options=N=100_rv=0/Format=table-4               735.5Ki ± 0%    735.5Ki ± 0%       ~ (p=1.000 n=6) ¹
RequestCost/Method=WATCH/Options=N=100_rv=FIRST_RV/Format=protobuf-4    1.790Mi ± 0%    1.790Mi ± 0%       ~ (p=1.000 n=6) ¹
RequestCost/Method=WATCH/Options=N=100_rv=FIRST_RV/Format=table-4       1.323Mi ± 0%    1.323Mi ± 0%       ~ (p=1.000 n=6) ¹
RequestCost/Method=POST/Options=create/Format=json-4                    10.18Ki ± 0%    10.18Ki ± 0%       ~ (p=1.000 n=6) ¹
RequestCost/Method=POST/Options=create/Format=protobuf-4                7.734Ki ± 0%    7.734Ki ± 0%       ~ (p=1.000 n=6) ¹
RequestCost/Method=PATCH/Options=apply/Format=json-4                    15.12Ki ± 0%    15.12Ki ± 0%       ~ (p=1.000 n=6) ¹
RequestCost/Method=PATCH/Options=apply/Format=protobuf-4                10.81Ki ± 0%    10.81Ki ± 0%       ~ (p=1.000 n=6) ¹
RequestCost/Method=PATCH/Options=status_kubelet/Format=json-4           14.42Ki ± 0%    14.42Ki ± 0%       ~ (p=1.000 n=6) ¹
RequestCost/Method=PATCH/Options=status_kubelet/Format=protobuf-4       10.44Ki ± 0%    10.44Ki ± 0%       ~ (p=1.000 n=6) ¹
RequestCost/Method=DELETECOLLECTION/Options=N=100/Format=protobuf-4     1.044Mi ± 0%    1.044Mi ± 0%       ~ (p=1.000 n=6)
geomean                                                                 117.4Ki         117.4Ki       +0.00%
¹ all samples are equal

                                                                     │   before.txt    │               after.txt               │
                                                                     │ runtime-inuse-B │ runtime-inuse-B  vs base              │
RequestCost/Method=LIST/Options=N=100_rv=0/Format=json-4                 199.5Mi ± 43%     184.1Mi ± 41%       ~ (p=0.180 n=6)
RequestCost/Method=LIST/Options=N=100_rv=0/Format=cbor-4                 206.0Mi ± 34%     191.5Mi ± 33%       ~ (p=0.180 n=6)
RequestCost/Method=LIST/Options=N=100_rv=0/Format=table-4                208.0Mi ± 31%     195.9Mi ± 27%       ~ (p=0.180 n=6)
RequestCost/Method=WATCH/Options=N=100_rv=FIRST_RV/Format=protobuf-4     204.6Mi ± 32%     192.5Mi ± 30%       ~ (p=0.180 n=6)
RequestCost/Method=WATCH/Options=N=100_rv=FIRST_RV/Format=table-4        203.5Mi ± 32%     191.5Mi ± 30%       ~ (p=0.180 n=6)
RequestCost/Method=POST/Options=create/Format=json-4                     180.0Mi ± 30%     171.0Mi ± 28%       ~ (p=0.310 n=6)
RequestCost/Method=POST/Options=create/Format=protobuf-4                 180.6Mi ± 28%     176.8Mi ± 22%       ~ (p=0.589 n=6)
RequestCost/Method=PATCH/Options=apply/Format=json-4                     182.3Mi ± 27%     175.2Mi ± 27%       ~ (p=0.485 n=6)
RequestCost/Method=PATCH/Options=apply/Format=protobuf-4                 187.2Mi ± 26%     176.4Mi ± 25%       ~ (p=0.240 n=6)
RequestCost/Method=PATCH/Options=status_kubelet/Format=json-4            184.2Mi ± 28%     175.5Mi ± 25%       ~ (p=0.937 n=6)
RequestCost/Method=PATCH/Options=status_kubelet/Format=protobuf-4        187.2Mi ± 27%     181.1Mi ± 23%       ~ (p=0.310 n=6)
RequestCost/Method=DELETECOLLECTION/Options=N=100/Format=protobuf-4      220.1Mi ± 34%     208.6Mi ± 31%       ~ (p=0.180 n=6)
geomean                                                                  194.9Mi           184.7Mi        -5.21%

                                                                     │  before.txt   │              after.txt              │
                                                                     │ setup-alloc-B │ setup-alloc-B  vs base              │
RequestCost/Method=LIST/Options=N=100_rv=0/Format=json-4                159.3Mi ± 8%    148.9Mi ± 7%  -6.53% (p=0.009 n=6)
RequestCost/Method=LIST/Options=N=100_rv=0/Format=cbor-4                160.4Mi ± 2%    148.1Mi ± 2%  -7.65% (p=0.002 n=6)
RequestCost/Method=LIST/Options=N=100_rv=0/Format=table-4               159.9Mi ± 1%    145.4Mi ± 3%  -9.05% (p=0.002 n=6)
RequestCost/Method=WATCH/Options=N=100_rv=FIRST_RV/Format=protobuf-4    158.9Mi ± 1%    148.2Mi ± 1%  -6.77% (p=0.002 n=6)
RequestCost/Method=WATCH/Options=N=100_rv=FIRST_RV/Format=table-4       159.7Mi ± 1%    149.4Mi ± 2%  -6.43% (p=0.002 n=6)
RequestCost/Method=POST/Options=create/Format=json-4                    159.3Mi ± 1%    149.8Mi ± 2%  -5.93% (p=0.002 n=6)
RequestCost/Method=POST/Options=create/Format=protobuf-4                159.8Mi ± 1%    148.7Mi ± 1%  -6.99% (p=0.002 n=6)
RequestCost/Method=PATCH/Options=apply/Format=json-4                    159.8Mi ± 1%    148.5Mi ± 3%  -7.07% (p=0.002 n=6)
RequestCost/Method=PATCH/Options=apply/Format=protobuf-4                160.0Mi ± 1%    147.4Mi ± 2%  -7.86% (p=0.002 n=6)
RequestCost/Method=PATCH/Options=status_kubelet/Format=json-4           160.2Mi ± 1%    148.6Mi ± 3%  -7.27% (p=0.002 n=6)
RequestCost/Method=PATCH/Options=status_kubelet/Format=protobuf-4       160.0Mi ± 1%    145.8Mi ± 3%  -8.85% (p=0.002 n=6)
RequestCost/Method=DELETECOLLECTION/Options=N=100/Format=protobuf-4     158.3Mi ± 3%    148.4Mi ± 0%  -6.23% (p=0.002 n=6)
geomean                                                                 159.6Mi         148.1Mi       -7.22%

                                                                     │   before.txt   │              after.txt               │
                                                                     │      B/op      │      B/op       vs base              │
RequestCost/Method=LIST/Options=N=100_rv=0/Format=json-4               1013.6Ki ±  0%   1013.6Ki ±  0%       ~ (p=0.470 n=6)
RequestCost/Method=LIST/Options=N=100_rv=0/Format=cbor-4                6.867Mi ±  1%    6.869Mi ±  1%       ~ (p=0.394 n=6)
RequestCost/Method=LIST/Options=N=100_rv=0/Format=table-4               5.590Mi ± 10%    5.590Mi ±  0%       ~ (p=0.273 n=6)
RequestCost/Method=WATCH/Options=N=100_rv=FIRST_RV/Format=protobuf-4    732.0Ki ±  3%    731.0Ki ±  4%       ~ (p=0.816 n=6)
RequestCost/Method=WATCH/Options=N=100_rv=FIRST_RV/Format=table-4       3.126Mi ±  1%    3.126Mi ±  1%       ~ (p=0.727 n=6)
RequestCost/Method=POST/Options=create/Format=json-4                    559.7Ki ±  5%    508.9Ki ± 20%       ~ (p=0.065 n=6)
RequestCost/Method=POST/Options=create/Format=protobuf-4                483.8Ki ±  8%    516.0Ki ±  8%       ~ (p=0.310 n=6)
RequestCost/Method=PATCH/Options=apply/Format=json-4                    1.305Mi ±  1%    1.335Mi ±  4%  +2.28% (p=0.004 n=6)
RequestCost/Method=PATCH/Options=apply/Format=protobuf-4                1.227Mi ±  4%    1.227Mi ±  4%       ~ (p=0.485 n=6)
RequestCost/Method=PATCH/Options=status_kubelet/Format=json-4           711.2Ki ±  4%    737.3Ki ±  7%       ~ (p=0.240 n=6)
RequestCost/Method=PATCH/Options=status_kubelet/Format=protobuf-4       648.2Ki ±  4%    653.1Ki ±  5%       ~ (p=0.589 n=6)
RequestCost/Method=DELETECOLLECTION/Options=N=100/Format=protobuf-4     70.65Mi ±  0%    70.67Mi ±  0%       ~ (p=0.818 n=6)
geomean                                                                 1.791Mi          1.796Mi        +0.29%

                                                                     │ before.txt  │             after.txt             │
                                                                     │  allocs/op  │  allocs/op   vs base              │
RequestCost/Method=LIST/Options=N=100_rv=0/Format=json-4               7.655k ± 0%   7.656k ± 0%       ~ (p=0.470 n=6)
RequestCost/Method=LIST/Options=N=100_rv=0/Format=cbor-4               92.75k ± 0%   92.76k ± 0%       ~ (p=0.331 n=6)
RequestCost/Method=LIST/Options=N=100_rv=0/Format=table-4              6.156k ± 0%   6.156k ± 0%       ~ (p=1.000 n=6)
RequestCost/Method=WATCH/Options=N=100_rv=FIRST_RV/Format=protobuf-4   2.441k ± 1%   2.428k ± 2%       ~ (p=0.911 n=6)
RequestCost/Method=WATCH/Options=N=100_rv=FIRST_RV/Format=table-4      15.03k ± 0%   15.02k ± 0%       ~ (p=0.329 n=6)
RequestCost/Method=POST/Options=create/Format=json-4                   5.892k ± 1%   5.883k ± 4%       ~ (p=0.786 n=6)
RequestCost/Method=POST/Options=create/Format=protobuf-4               5.702k ± 1%   5.699k ± 1%       ~ (p=0.905 n=6)
RequestCost/Method=PATCH/Options=apply/Format=json-4                   19.45k ± 1%   19.54k ± 3%       ~ (p=0.394 n=6)
RequestCost/Method=PATCH/Options=apply/Format=protobuf-4               19.09k ± 0%   19.09k ± 6%       ~ (p=0.455 n=6)
RequestCost/Method=PATCH/Options=status_kubelet/Format=json-4          8.044k ± 4%   8.278k ± 3%       ~ (p=0.065 n=6)
RequestCost/Method=PATCH/Options=status_kubelet/Format=protobuf-4      7.947k ± 0%   7.954k ± 1%  +0.08% (p=0.024 n=6)
RequestCost/Method=DELETECOLLECTION/Options=N=100/Format=protobuf-4    531.8k ± 1%   531.9k ± 1%       ~ (p=1.000 n=6)
geomean                                                                14.21k        14.24k       +0.22%
Raw benchmark output (before.txt / after.txt, n=6)

before.txt

goos: linux
goarch: amd64
pkg: k8s.io/kubernetes/test/integration/apiserver/flowcontrol/cost
cpu: Intel(R) Xeon(R) Platinum 8481C CPU @ 2.70GHz
BenchmarkRequestCost/Method=LIST/Options=N=100_rv=0/Format=json-4         	       1	   6450872 ns/op	  63648952 heap-alloc-B	  33983304 heap-frag-B	  97632256 heap-inuse-B	  34332672 heap-released-B	         0 request-B/op	   1527860 response-B/op	 118384952 runtime-inuse-B	 179587216 setup-alloc-B	 1038016 B/op	    7661 allocs/op
BenchmarkRequestCost/Method=LIST/Options=N=100_rv=0/Format=json-4         	       1	   6425204 ns/op	 109165200 heap-alloc-B	  52340080 heap-frag-B	 161505280 heap-inuse-B	  83214336 heap-released-B	         0 request-B/op	   1527884 response-B/op	 185522504 runtime-inuse-B	 165740712 setup-alloc-B	 1037936 B/op	    7656 allocs/op
BenchmarkRequestCost/Method=LIST/Options=N=100_rv=0/Format=json-4         	       1	   6374522 ns/op	 109781360 heap-alloc-B	  71310992 heap-frag-B	 181092352 heap-inuse-B	  75677696 heap-released-B	         0 request-B/op	   1527884 response-B/op	 205781320 runtime-inuse-B	 167655032 setup-alloc-B	 1037888 B/op	    7655 allocs/op
BenchmarkRequestCost/Method=LIST/Options=N=100_rv=0/Format=json-4         	       1	   6387750 ns/op	 110145904 heap-alloc-B	  76820112 heap-frag-B	 186966016 heap-inuse-B	  82034688 heap-released-B	         0 request-B/op	   1527894 response-B/op	 212601176 runtime-inuse-B	 166891072 setup-alloc-B	 1037888 B/op	    7655 allocs/op
BenchmarkRequestCost/Method=LIST/Options=N=100_rv=0/Format=json-4         	       1	   6354962 ns/op	 110502192 heap-alloc-B	  77733584 heap-frag-B	 188235776 heap-inuse-B	  81092608 heap-released-B	         0 request-B/op	   1527985 response-B/op	 213543256 runtime-inuse-B	 166520264 setup-alloc-B	 1037888 B/op	    7655 allocs/op
BenchmarkRequestCost/Method=LIST/Options=N=100_rv=0/Format=json-4         	       1	   6437597 ns/op	 111104168 heap-alloc-B	  78466904 heap-frag-B	 189571072 heap-inuse-B	  84451328 heap-released-B	         0 request-B/op	   1527985 response-B/op	 214378840 runtime-inuse-B	 167162592 setup-alloc-B	 1037888 B/op	    7655 allocs/op
BenchmarkRequestCost/Method=LIST/Options=N=100_rv=0/Format=cbor-4         	       1	  20096308 ns/op	  65830840 heap-alloc-B	  51658824 heap-frag-B	 117489664 heap-inuse-B	 156909568 heap-released-B	         0 request-B/op	   1246770 response-B/op	 142182744 runtime-inuse-B	 165604128 setup-alloc-B	 7200240 B/op	   92752 allocs/op
BenchmarkRequestCost/Method=LIST/Options=N=100_rv=0/Format=cbor-4         	       1	  28407671 ns/op	 110532344 heap-alloc-B	  54937864 heap-frag-B	 165470208 heap-inuse-B	 106618880 heap-released-B	         0 request-B/op	   1246770 response-B/op	 192473432 runtime-inuse-B	 166214056 setup-alloc-B	 7261896 B/op	   92945 allocs/op
BenchmarkRequestCost/Method=LIST/Options=N=100_rv=0/Format=cbor-4         	       1	  20014797 ns/op	 112231808 heap-alloc-B	  81066624 heap-frag-B	 193298432 heap-inuse-B	  80609280 heap-released-B	         0 request-B/op	   1246770 response-B/op	 218483032 runtime-inuse-B	 167739488 setup-alloc-B	 7202848 B/op	   92761 allocs/op
BenchmarkRequestCost/Method=LIST/Options=N=100_rv=0/Format=cbor-4         	       1	  20094749 ns/op	 112532128 heap-alloc-B	  78751072 heap-frag-B	 191283200 heap-inuse-B	  85721088 heap-released-B	         0 request-B/op	   1246770 response-B/op	 217827672 runtime-inuse-B	 168936416 setup-alloc-B	 7200216 B/op	   92746 allocs/op
BenchmarkRequestCost/Method=LIST/Options=N=100_rv=0/Format=cbor-4         	       1	  20254270 ns/op	 112923720 heap-alloc-B	  77040568 heap-frag-B	 189964288 heap-inuse-B	  87760896 heap-released-B	         0 request-B/op	   1246770 response-B/op	 216050008 runtime-inuse-B	 168585512 setup-alloc-B	 7200592 B/op	   92749 allocs/op
BenchmarkRequestCost/Method=LIST/Options=N=100_rv=0/Format=cbor-4         	       1	  20016150 ns/op	 113167640 heap-alloc-B	  76780264 heap-frag-B	 189947904 heap-inuse-B	  87908352 heap-released-B	         0 request-B/op	   1246770 response-B/op	 215902552 runtime-inuse-B	 168919960 setup-alloc-B	 7200984 B/op	   92750 allocs/op
BenchmarkRequestCost/Method=LIST/Options=N=100_rv=0/Format=table-4        	       1	   6182272 ns/op	  69709568 heap-alloc-B	  55152896 heap-frag-B	 124862464 heap-inuse-B	 152592384 heap-released-B	         0 request-B/op	    753116 response-B/op	 151488856 runtime-inuse-B	 166985648 setup-alloc-B	 5862064 B/op	    6156 allocs/op
BenchmarkRequestCost/Method=LIST/Options=N=100_rv=0/Format=table-4        	       1	   5419044 ns/op	 113838208 heap-alloc-B	  57399168 heap-frag-B	 171237376 heap-inuse-B	 106299392 heap-released-B	         0 request-B/op	    753116 response-B/op	 197790040 runtime-inuse-B	 169345528 setup-alloc-B	 5302608 B/op	    6163 allocs/op
BenchmarkRequestCost/Method=LIST/Options=N=100_rv=0/Format=table-4        	       1	   5704347 ns/op	 114003744 heap-alloc-B	  75829472 heap-frag-B	 189833216 heap-inuse-B	  88006656 heap-released-B	         0 request-B/op	    753116 response-B/op	 216082776 runtime-inuse-B	 165262864 setup-alloc-B	 5302320 B/op	    6156 allocs/op
BenchmarkRequestCost/Method=LIST/Options=N=100_rv=0/Format=table-4        	       1	   5479669 ns/op	 114036504 heap-alloc-B	  80580840 heap-frag-B	 194617344 heap-inuse-B	  84008960 heap-released-B	         0 request-B/op	    753116 response-B/op	 220080472 runtime-inuse-B	 170158256 setup-alloc-B	 5862064 B/op	    6156 allocs/op
BenchmarkRequestCost/Method=LIST/Options=N=100_rv=0/Format=table-4        	       1	   5561005 ns/op	 114033944 heap-alloc-B	  81984232 heap-frag-B	 196018176 heap-inuse-B	  82034688 heap-released-B	         0 request-B/op	    753116 response-B/op	 222054744 runtime-inuse-B	 168334904 setup-alloc-B	 5862064 B/op	    6156 allocs/op
BenchmarkRequestCost/Method=LIST/Options=N=100_rv=0/Format=table-4        	       1	   5552893 ns/op	 114146304 heap-alloc-B	  82306048 heap-frag-B	 196452352 heap-inuse-B	  81444864 heap-released-B	         0 request-B/op	    753116 response-B/op	 222644568 runtime-inuse-B	 166243064 setup-alloc-B	 5862064 B/op	    6156 allocs/op
BenchmarkRequestCost/Method=WATCH/Options=N=100_rv=FIRST_RV/Format=protobuf-4         	       1	1000847017 ns/op	  68793320 heap-alloc-B	  49056792 heap-frag-B	 117850112 heap-inuse-B	 158892032 heap-released-B	         0 request-B/op	   1876743 response-B/op	 145197400 runtime-inuse-B	 166610856 setup-alloc-B	  750616 B/op	    2457 allocs/op
BenchmarkRequestCost/Method=WATCH/Options=N=100_rv=FIRST_RV/Format=protobuf-4         	       1	1000607544 ns/op	 113116504 heap-alloc-B	  57604776 heap-frag-B	 170721280 heap-inuse-B	 106635264 heap-released-B	         0 request-B/op	   1876743 response-B/op	 197454168 runtime-inuse-B	 166237656 setup-alloc-B	  748776 B/op	    2428 allocs/op
BenchmarkRequestCost/Method=WATCH/Options=N=100_rv=FIRST_RV/Format=protobuf-4         	       1	1001149489 ns/op	 112857248 heap-alloc-B	  77803360 heap-frag-B	 190660608 heap-inuse-B	  87760896 heap-released-B	         0 request-B/op	   1876743 response-B/op	 216328536 runtime-inuse-B	 165852296 setup-alloc-B	  748504 B/op	    2427 allocs/op
BenchmarkRequestCost/Method=WATCH/Options=N=100_rv=FIRST_RV/Format=protobuf-4         	       1	1001092457 ns/op	 112780080 heap-alloc-B	  74988752 heap-frag-B	 187768832 heap-inuse-B	  90406912 heap-released-B	         0 request-B/op	   1876743 response-B/op	 213682520 runtime-inuse-B	 168761688 setup-alloc-B	  750392 B/op	    2454 allocs/op
BenchmarkRequestCost/Method=WATCH/Options=N=100_rv=FIRST_RV/Format=protobuf-4         	       1	1001381801 ns/op	 112812720 heap-alloc-B	  79551824 heap-frag-B	 192364544 heap-inuse-B	  86056960 heap-released-B	         0 request-B/op	   1876743 response-B/op	 218294616 runtime-inuse-B	 166665424 setup-alloc-B	  775064 B/op	    2457 allocs/op
BenchmarkRequestCost/Method=WATCH/Options=N=100_rv=FIRST_RV/Format=protobuf-4         	       1	1001013694 ns/op	 112676264 heap-alloc-B	  76812888 heap-frag-B	 189489152 heap-inuse-B	  88956928 heap-released-B	         0 request-B/op	   1876743 response-B/op	 215394648 runtime-inuse-B	 167197504 setup-alloc-B	  748456 B/op	    2426 allocs/op
BenchmarkRequestCost/Method=WATCH/Options=N=100_rv=FIRST_RV/Format=table-4            	       1	1000672418 ns/op	  68032376 heap-alloc-B	  48384136 heap-frag-B	 116416512 heap-inuse-B	 159858688 heap-released-B	         0 request-B/op	   1386919 response-B/op	 144492888 runtime-inuse-B	 167586688 setup-alloc-B	 3277952 B/op	   15020 allocs/op
BenchmarkRequestCost/Method=WATCH/Options=N=100_rv=FIRST_RV/Format=table-4            	       1	1001086968 ns/op	 112571120 heap-alloc-B	  57535760 heap-frag-B	 170106880 heap-inuse-B	 107700224 heap-released-B	         0 request-B/op	   1386919 response-B/op	 196651352 runtime-inuse-B	 168315144 setup-alloc-B	 3277704 B/op	   15017 allocs/op
BenchmarkRequestCost/Method=WATCH/Options=N=100_rv=FIRST_RV/Format=table-4            	       1	1000535167 ns/op	 111513112 heap-alloc-B	  77197800 heap-frag-B	 188710912 heap-inuse-B	  89358336 heap-released-B	         0 request-B/op	   1386919 response-B/op	 214993240 runtime-inuse-B	 167445632 setup-alloc-B	 3295416 B/op	   15036 allocs/op
BenchmarkRequestCost/Method=WATCH/Options=N=100_rv=FIRST_RV/Format=table-4            	       1	1000855872 ns/op	 111423512 heap-alloc-B	  75419624 heap-frag-B	 186843136 heap-inuse-B	  91553792 heap-released-B	         0 request-B/op	   1386919 response-B/op	 212797784 runtime-inuse-B	 165707248 setup-alloc-B	 3267848 B/op	   15030 allocs/op
BenchmarkRequestCost/Method=WATCH/Options=N=100_rv=FIRST_RV/Format=table-4            	       1	1001277598 ns/op	 112616696 heap-alloc-B	  75258632 heap-frag-B	 187875328 heap-inuse-B	  90382336 heap-released-B	         0 request-B/op	   1386919 response-B/op	 213969240 runtime-inuse-B	 166782576 setup-alloc-B	 3272280 B/op	   15014 allocs/op
BenchmarkRequestCost/Method=WATCH/Options=N=100_rv=FIRST_RV/Format=table-4            	       1	1001157615 ns/op	 111533184 heap-alloc-B	  77063040 heap-frag-B	 188596224 heap-inuse-B	  89808896 heap-released-B	         0 request-B/op	   1386919 response-B/op	 214542680 runtime-inuse-B	 167472896 setup-alloc-B	 3284864 B/op	   15038 allocs/op
BenchmarkRequestCost/Method=POST/Options=create/Format=json-4                         	       1	   3784977 ns/op	  68194080 heap-alloc-B	  36729056 heap-frag-B	 104923136 heap-inuse-B	 172228608 heap-released-B	      9061 request-B/op	     10427 response-B/op	 132122968 runtime-inuse-B	 166448592 setup-alloc-B	  581240 B/op	    5844 allocs/op
BenchmarkRequestCost/Method=POST/Options=create/Format=json-4                         	       1	   3530943 ns/op	 105727504 heap-alloc-B	  41433584 heap-frag-B	 147161088 heap-inuse-B	 130801664 heap-released-B	      9061 request-B/op	     10427 response-B/op	 173549912 runtime-inuse-B	 167660720 setup-alloc-B	  568664 B/op	    5911 allocs/op
BenchmarkRequestCost/Method=POST/Options=create/Format=json-4                         	       1	   3483007 ns/op	 106360400 heap-alloc-B	  54079920 heap-frag-B	 160440320 heap-inuse-B	 117563392 heap-released-B	      9061 request-B/op	     10427 response-B/op	 186788184 runtime-inuse-B	 167259312 setup-alloc-B	  577336 B/op	    5857 allocs/op
BenchmarkRequestCost/Method=POST/Options=create/Format=json-4                         	       1	   3741979 ns/op	 105348928 heap-alloc-B	  58679488 heap-frag-B	 164028416 heap-inuse-B	 114253824 heap-released-B	      9061 request-B/op	     10427 response-B/op	 190622040 runtime-inuse-B	 165788216 setup-alloc-B	  601744 B/op	    5963 allocs/op
BenchmarkRequestCost/Method=POST/Options=create/Format=json-4                         	       1	   3574699 ns/op	 104893832 heap-alloc-B	  61690488 heap-frag-B	 166584320 heap-inuse-B	 111140864 heap-released-B	      9061 request-B/op	     10427 response-B/op	 193735000 runtime-inuse-B	 167262040 setup-alloc-B	  568920 B/op	    5890 allocs/op
BenchmarkRequestCost/Method=POST/Options=create/Format=json-4                         	       1	   3478408 ns/op	 104306072 heap-alloc-B	  61950568 heap-frag-B	 166256640 heap-inuse-B	 111845376 heap-released-B	      9061 request-B/op	     10427 response-B/op	 193030488 runtime-inuse-B	 166793152 setup-alloc-B	  564632 B/op	    5894 allocs/op
BenchmarkRequestCost/Method=POST/Options=create/Format=protobuf-4                     	       1	   3133824 ns/op	  70527944 heap-alloc-B	  39711800 heap-frag-B	 110239744 heap-inuse-B	 168525824 heap-released-B	      4979 request-B/op	      7920 response-B/op	 136350040 runtime-inuse-B	 167590024 setup-alloc-B	  474792 B/op	    5648 allocs/op
BenchmarkRequestCost/Method=POST/Options=create/Format=protobuf-4                     	       1	   3130510 ns/op	 106214048 heap-alloc-B	  42634592 heap-frag-B	 148848640 heap-inuse-B	 129409024 heap-released-B	      4979 request-B/op	      7920 response-B/op	 175728984 runtime-inuse-B	 168810536 setup-alloc-B	  498144 B/op	    5769 allocs/op
BenchmarkRequestCost/Method=POST/Options=create/Format=protobuf-4                     	       1	   3452465 ns/op	 104659080 heap-alloc-B	  57706360 heap-frag-B	 162365440 heap-inuse-B	 115761152 heap-released-B	      4979 request-B/op	      7920 response-B/op	 189376856 runtime-inuse-B	 166648672 setup-alloc-B	  526968 B/op	    5709 allocs/op
BenchmarkRequestCost/Method=POST/Options=create/Format=protobuf-4                     	       1	   3218967 ns/op	 108154408 heap-alloc-B	  55775704 heap-frag-B	 163930112 heap-inuse-B	 114155520 heap-released-B	      4979 request-B/op	      7920 response-B/op	 190982488 runtime-inuse-B	 167703512 setup-alloc-B	  492752 B/op	    5696 allocs/op
BenchmarkRequestCost/Method=POST/Options=create/Format=protobuf-4                     	       1	   3570316 ns/op	 104887464 heap-alloc-B	  58919768 heap-frag-B	 163807232 heap-inuse-B	 114335744 heap-released-B	      4979 request-B/op	      7920 response-B/op	 190802264 runtime-inuse-B	 165767992 setup-alloc-B	  534712 B/op	    5728 allocs/op
BenchmarkRequestCost/Method=POST/Options=create/Format=protobuf-4                     	       1	   3269997 ns/op	 106481816 heap-alloc-B	  56022888 heap-frag-B	 162504704 heap-inuse-B	 115679232 heap-released-B	      4979 request-B/op	      7920 response-B/op	 189458776 runtime-inuse-B	 167605008 setup-alloc-B	  470952 B/op	    5640 allocs/op
BenchmarkRequestCost/Method=PATCH/Options=apply/Format=json-4                         	       1	   5353454 ns/op	  71358192 heap-alloc-B	  42674448 heap-frag-B	 114032640 heap-inuse-B	 164757504 heap-released-B	       106.0 request-B/op	     15480 response-B/op	 140380504 runtime-inuse-B	 168605632 setup-alloc-B	 1369128 B/op	   19454 allocs/op
BenchmarkRequestCost/Method=PATCH/Options=apply/Format=json-4                         	       1	   5336577 ns/op	 107118872 heap-alloc-B	  41811688 heap-frag-B	 148930560 heap-inuse-B	 128983040 heap-released-B	       106.0 request-B/op	     15480 response-B/op	 176154968 runtime-inuse-B	 167200760 setup-alloc-B	 1381624 B/op	   19607 allocs/op
BenchmarkRequestCost/Method=PATCH/Options=apply/Format=json-4                         	       1	   5379265 ns/op	 109524216 heap-alloc-B	  56003336 heap-frag-B	 165527552 heap-inuse-B	 112623616 heap-released-B	       106.0 request-B/op	     15480 response-B/op	 192514392 runtime-inuse-B	 167981824 setup-alloc-B	 1367296 B/op	   19253 allocs/op
BenchmarkRequestCost/Method=PATCH/Options=apply/Format=json-4                         	       1	   5178030 ns/op	 109604232 heap-alloc-B	  54342264 heap-frag-B	 163946496 heap-inuse-B	 114065408 heap-released-B	       106.0 request-B/op	     15480 response-B/op	 191072600 runtime-inuse-B	 167928024 setup-alloc-B	 1354032 B/op	   19190 allocs/op
BenchmarkRequestCost/Method=PATCH/Options=apply/Format=json-4                         	       1	   5355419 ns/op	 108972952 heap-alloc-B	  55293032 heap-frag-B	 164265984 heap-inuse-B	 113819648 heap-released-B	       106.0 request-B/op	     15480 response-B/op	 191318360 runtime-inuse-B	 166962696 setup-alloc-B	 1371640 B/op	   19456 allocs/op
BenchmarkRequestCost/Method=PATCH/Options=apply/Format=json-4                         	       1	   5524447 ns/op	 108729368 heap-alloc-B	  61230056 heap-frag-B	 169959424 heap-inuse-B	 108257280 heap-released-B	       106.0 request-B/op	     15480 response-B/op	 196880728 runtime-inuse-B	 166768352 setup-alloc-B	 1359136 B/op	   19516 allocs/op
BenchmarkRequestCost/Method=PATCH/Options=apply/Format=protobuf-4                     	       1	   5006559 ns/op	  71012456 heap-alloc-B	  47812504 heap-frag-B	 118824960 heap-inuse-B	 160071680 heap-released-B	       106.0 request-B/op	     11073 response-B/op	 145066328 runtime-inuse-B	 165993144 setup-alloc-B	 1236480 B/op	   19073 allocs/op
BenchmarkRequestCost/Method=PATCH/Options=apply/Format=protobuf-4                     	       1	   4991810 ns/op	 109950976 heap-alloc-B	  43812864 heap-frag-B	 153763840 heap-inuse-B	 124411904 heap-released-B	       106.0 request-B/op	     11073 response-B/op	 180726104 runtime-inuse-B	 166062736 setup-alloc-B	 1246752 B/op	   19075 allocs/op
BenchmarkRequestCost/Method=PATCH/Options=apply/Format=protobuf-4                     	       1	   5182390 ns/op	 109438544 heap-alloc-B	  57268656 heap-frag-B	 166707200 heap-inuse-B	 111427584 heap-released-B	       106.0 request-B/op	     11073 response-B/op	 193710424 runtime-inuse-B	 168205560 setup-alloc-B	 1277216 B/op	   19092 allocs/op
BenchmarkRequestCost/Method=PATCH/Options=apply/Format=protobuf-4                     	       1	   5320426 ns/op	 109946616 heap-alloc-B	  61847816 heap-frag-B	 171794432 heap-inuse-B	 106217472 heap-released-B	       106.0 request-B/op	     11073 response-B/op	 198920536 runtime-inuse-B	 167641632 setup-alloc-B	 1299888 B/op	   19097 allocs/op
BenchmarkRequestCost/Method=PATCH/Options=apply/Format=protobuf-4                     	       1	   5310940 ns/op	 107205232 heap-alloc-B	  64523664 heap-frag-B	 171728896 heap-inuse-B	 106307584 heap-released-B	       106.0 request-B/op	     11073 response-B/op	 198830424 runtime-inuse-B	 167864472 setup-alloc-B	 1322096 B/op	   19093 allocs/op
BenchmarkRequestCost/Method=PATCH/Options=apply/Format=protobuf-4                     	       1	   5204647 ns/op	 108099192 heap-alloc-B	  64375176 heap-frag-B	 172474368 heap-inuse-B	 105496576 heap-released-B	       106.0 request-B/op	     11073 response-B/op	 199641432 runtime-inuse-B	 168311296 setup-alloc-B	 1296544 B/op	   19082 allocs/op
BenchmarkRequestCost/Method=PATCH/Options=status_kubelet/Format=json-4                	       1	   3525861 ns/op	  71326208 heap-alloc-B	  41076224 heap-frag-B	 112402432 heap-inuse-B	 165650432 heap-released-B	       460.0 request-B/op	     14764 response-B/op	 139487576 runtime-inuse-B	 168729728 setup-alloc-B	  697640 B/op	    7987 allocs/op
BenchmarkRequestCost/Method=PATCH/Options=status_kubelet/Format=json-4                	       1	   3723880 ns/op	 109529616 heap-alloc-B	  41555440 heap-frag-B	 151085056 heap-inuse-B	 126394368 heap-released-B	       460.0 request-B/op	     14764 response-B/op	 178743640 runtime-inuse-B	 167500240 setup-alloc-B	  733448 B/op	    8093 allocs/op
BenchmarkRequestCost/Method=PATCH/Options=status_kubelet/Format=json-4                	       1	   3380649 ns/op	 106388168 heap-alloc-B	  64357688 heap-frag-B	 170745856 heap-inuse-B	 107569152 heap-released-B	       460.0 request-B/op	     14764 response-B/op	 197568856 runtime-inuse-B	 167337968 setup-alloc-B	  707512 B/op	    8030 allocs/op
BenchmarkRequestCost/Method=PATCH/Options=status_kubelet/Format=json-4                	       1	   3515778 ns/op	 106957864 heap-alloc-B	  60470232 heap-frag-B	 167428096 heap-inuse-B	 110624768 heap-released-B	       460.0 request-B/op	     14764 response-B/op	 194513240 runtime-inuse-B	 168491200 setup-alloc-B	  723112 B/op	    8051 allocs/op
BenchmarkRequestCost/Method=PATCH/Options=status_kubelet/Format=json-4                	       1	   3514695 ns/op	 109499936 heap-alloc-B	  55601632 heap-frag-B	 165101568 heap-inuse-B	 113197056 heap-released-B	       460.0 request-B/op	     14764 response-B/op	 191940952 runtime-inuse-B	 169554968 setup-alloc-B	  747808 B/op	    8037 allocs/op
BenchmarkRequestCost/Method=PATCH/Options=status_kubelet/Format=json-4                	       1	   4066111 ns/op	 108857544 heap-alloc-B	  58685240 heap-frag-B	 167542784 heap-inuse-B	 110829568 heap-released-B	       460.0 request-B/op	     14764 response-B/op	 194308440 runtime-inuse-B	 166414888 setup-alloc-B	  742952 B/op	    8367 allocs/op
BenchmarkRequestCost/Method=PATCH/Options=status_kubelet/Format=protobuf-4            	       1	   3733745 ns/op	  71572312 heap-alloc-B	  45753512 heap-frag-B	 117325824 heap-inuse-B	 161447936 heap-released-B	       460.0 request-B/op	     10690 response-B/op	 143690072 runtime-inuse-B	 165440960 setup-alloc-B	  668144 B/op	    7943 allocs/op
BenchmarkRequestCost/Method=PATCH/Options=status_kubelet/Format=protobuf-4            	       1	   3563926 ns/op	 106698624 heap-alloc-B	  43944064 heap-frag-B	 150642688 heap-inuse-B	 127475712 heap-released-B	       460.0 request-B/op	     10690 response-B/op	 177662296 runtime-inuse-B	 165786808 setup-alloc-B	  641112 B/op	    7940 allocs/op
BenchmarkRequestCost/Method=PATCH/Options=status_kubelet/Format=protobuf-4            	       1	   3370544 ns/op	 109863640 heap-alloc-B	  61234472 heap-frag-B	 171098112 heap-inuse-B	 107233280 heap-released-B	       460.0 request-B/op	     10690 response-B/op	 197904728 runtime-inuse-B	 167880952 setup-alloc-B	  659456 B/op	    7948 allocs/op
BenchmarkRequestCost/Method=PATCH/Options=status_kubelet/Format=protobuf-4            	       1	   4086509 ns/op	 109278920 heap-alloc-B	  58255672 heap-frag-B	 167534592 heap-inuse-B	 110493696 heap-released-B	       460.0 request-B/op	     10690 response-B/op	 194644312 runtime-inuse-B	 167843784 setup-alloc-B	  635984 B/op	    7946 allocs/op
BenchmarkRequestCost/Method=PATCH/Options=status_kubelet/Format=protobuf-4            	       1	   5042696 ns/op	 109822992 heap-alloc-B	  62471152 heap-frag-B	 172294144 heap-inuse-B	 105930752 heap-released-B	       460.0 request-B/op	     10690 response-B/op	 199207256 runtime-inuse-B	 167670152 setup-alloc-B	  668880 B/op	    7951 allocs/op
BenchmarkRequestCost/Method=PATCH/Options=status_kubelet/Format=protobuf-4            	       1	   3666816 ns/op	 109354936 heap-alloc-B	  62963784 heap-frag-B	 172318720 heap-inuse-B	 105873408 heap-released-B	       460.0 request-B/op	     10690 response-B/op	 199264600 runtime-inuse-B	 168647960 setup-alloc-B	  691336 B/op	    7951 allocs/op
BenchmarkRequestCost/Method=DELETECOLLECTION/Options=N=100/Format=protobuf-4          	       1	 459875918 ns/op	  73934648 heap-alloc-B	  51026120 heap-frag-B	 124960768 heap-inuse-B	 152412160 heap-released-B	         0 request-B/op	   1094739 response-B/op	 152725848 runtime-inuse-B	 163149560 setup-alloc-B	74351800 B/op	  533604 allocs/op
BenchmarkRequestCost/Method=DELETECOLLECTION/Options=N=100/Format=protobuf-4          	       1	 473586105 ns/op	 120615856 heap-alloc-B	  58264656 heap-frag-B	 178880512 heap-inuse-B	  99287040 heap-released-B	         0 request-B/op	   1094840 response-B/op	 206113112 runtime-inuse-B	 165824240 setup-alloc-B	73740496 B/op	  528865 allocs/op
BenchmarkRequestCost/Method=DELETECOLLECTION/Options=N=100/Format=protobuf-4          	       1	 469804501 ns/op	 120660888 heap-alloc-B	  83590248 heap-frag-B	 204251136 heap-inuse-B	  74227712 heap-released-B	         0 request-B/op	   1094840 response-B/op	 231172440 runtime-inuse-B	 167784768 setup-alloc-B	74036216 B/op	  531791 allocs/op
BenchmarkRequestCost/Method=DELETECOLLECTION/Options=N=100/Format=protobuf-4          	       1	 440097113 ns/op	 120512696 heap-alloc-B	  83156808 heap-frag-B	 203669504 heap-inuse-B	  74973184 heap-released-B	         0 request-B/op	   1094840 response-B/op	 230426968 runtime-inuse-B	 160931968 setup-alloc-B	73750368 B/op	  528813 allocs/op
BenchmarkRequestCost/Method=DELETECOLLECTION/Options=N=100/Format=protobuf-4          	       1	 441930057 ns/op	 120343768 heap-alloc-B	  86004520 heap-frag-B	 206348288 heap-inuse-B	  70434816 heap-released-B	         0 request-B/op	   1094840 response-B/op	 235489624 runtime-inuse-B	 166537264 setup-alloc-B	74117968 B/op	  531849 allocs/op
BenchmarkRequestCost/Method=DELETECOLLECTION/Options=N=100/Format=protobuf-4          	       1	 458307123 ns/op	 120333272 heap-alloc-B	  86228008 heap-frag-B	 206561280 heap-inuse-B	  79880192 heap-released-B	         0 request-B/op	   1094840 response-B/op	 234432856 runtime-inuse-B	 166120784 setup-alloc-B	74223288 B/op	  532596 allocs/op
PASS

after.txt

goos: linux
goarch: amd64
pkg: k8s.io/kubernetes/test/integration/apiserver/flowcontrol/cost
cpu: Intel(R) Xeon(R) Platinum 8481C CPU @ 2.70GHz
BenchmarkRequestCost/Method=LIST/Options=N=100_rv=0/Format=json-4         	       1	   7119866 ns/op	  62464352 heap-alloc-B	  30498464 heap-frag-B	  92962816 heap-inuse-B	  34922496 heap-released-B	         0 request-B/op	   1527860 response-B/op	 113285416 runtime-inuse-B	 166626808 setup-alloc-B	 1037984 B/op	    7657 allocs/op
BenchmarkRequestCost/Method=LIST/Options=N=100_rv=0/Format=json-4         	       1	   8706853 ns/op	 108366328 heap-alloc-B	  45815304 heap-frag-B	 154181632 heap-inuse-B	  65011712 heap-released-B	         0 request-B/op	   1527884 response-B/op	 177826104 runtime-inuse-B	 156913968 setup-alloc-B	 1038696 B/op	    7672 allocs/op
BenchmarkRequestCost/Method=LIST/Options=N=100_rv=0/Format=json-4         	       1	   6573667 ns/op	 109898736 heap-alloc-B	  58749968 heap-frag-B	 168648704 heap-inuse-B	  76447744 heap-released-B	         0 request-B/op	   1527884 response-B/op	 192280904 runtime-inuse-B	 152581480 setup-alloc-B	 1038016 B/op	    7661 allocs/op
BenchmarkRequestCost/Method=LIST/Options=N=100_rv=0/Format=json-4         	       1	   6585604 ns/op	 110185432 heap-alloc-B	  59749416 heap-frag-B	 169934848 heap-inuse-B	  75218944 heap-released-B	         0 request-B/op	   1527894 response-B/op	 193771848 runtime-inuse-B	 152524880 setup-alloc-B	 1037888 B/op	    7655 allocs/op
BenchmarkRequestCost/Method=LIST/Options=N=100_rv=0/Format=json-4         	       1	   6446347 ns/op	 110587016 heap-alloc-B	  64738168 heap-frag-B	 175325184 heap-inuse-B	  69337088 heap-released-B	         0 request-B/op	   1527985 response-B/op	 199661896 runtime-inuse-B	 155763544 setup-alloc-B	 1037888 B/op	    7655 allocs/op
BenchmarkRequestCost/Method=LIST/Options=N=100_rv=0/Format=json-4         	       1	   6361497 ns/op	 111117280 heap-alloc-B	  65141792 heap-frag-B	 176259072 heap-inuse-B	  74989568 heap-released-B	         0 request-B/op	   1527985 response-B/op	 202471752 runtime-inuse-B	 156463816 setup-alloc-B	 1037888 B/op	    7655 allocs/op
BenchmarkRequestCost/Method=LIST/Options=N=100_rv=0/Format=cbor-4         	       1	  25488946 ns/op	  65828976 heap-alloc-B	  44353424 heap-frag-B	 110182400 heap-inuse-B	 142123008 heap-released-B	         0 request-B/op	   1246770 response-B/op	 135346504 runtime-inuse-B	 156890872 setup-alloc-B	 7273096 B/op	   92983 allocs/op
BenchmarkRequestCost/Method=LIST/Options=N=100_rv=0/Format=cbor-4         	       1	  44899456 ns/op	 110782192 heap-alloc-B	  47003920 heap-frag-B	 157786112 heap-inuse-B	  95248384 heap-released-B	         0 request-B/op	   1246770 response-B/op	 182483272 runtime-inuse-B	 153699632 setup-alloc-B	 7281000 B/op	   93057 allocs/op
BenchmarkRequestCost/Method=LIST/Options=N=100_rv=0/Format=cbor-4         	       1	  20647300 ns/op	 111408128 heap-alloc-B	  64687104 heap-frag-B	 176095232 heap-inuse-B	  81526784 heap-released-B	         0 request-B/op	   1246770 response-B/op	 200472904 runtime-inuse-B	 151865912 setup-alloc-B	 7202744 B/op	   92766 allocs/op
BenchmarkRequestCost/Method=LIST/Options=N=100_rv=0/Format=cbor-4         	       1	  20951399 ns/op	 112449584 heap-alloc-B	  64423888 heap-frag-B	 176873472 heap-inuse-B	  85106688 heap-released-B	         0 request-B/op	   1246770 response-B/op	 201087304 runtime-inuse-B	 155281072 setup-alloc-B	 7201456 B/op	   92752 allocs/op
BenchmarkRequestCost/Method=LIST/Options=N=100_rv=0/Format=cbor-4         	       1	  20591393 ns/op	 112862888 heap-alloc-B	  70351192 heap-frag-B	 183214080 heap-inuse-B	  78479360 heap-released-B	         0 request-B/op	   1246770 response-B/op	 207976776 runtime-inuse-B	 157030536 setup-alloc-B	 7202304 B/op	   92756 allocs/op
BenchmarkRequestCost/Method=LIST/Options=N=100_rv=0/Format=cbor-4         	       1	  20213273 ns/op	 113198592 heap-alloc-B	  70375936 heap-frag-B	 183574528 heap-inuse-B	  77611008 heap-released-B	         0 request-B/op	   1246770 response-B/op	 209107272 runtime-inuse-B	 155299104 setup-alloc-B	 7198616 B/op	   92738 allocs/op
BenchmarkRequestCost/Method=LIST/Options=N=100_rv=0/Format=table-4        	       1	   6706137 ns/op	  69232464 heap-alloc-B	  54827184 heap-frag-B	 124059648 heap-inuse-B	 137289728 heap-released-B	         0 request-B/op	    753116 response-B/op	 149428552 runtime-inuse-B	 155972840 setup-alloc-B	 5862064 B/op	    6156 allocs/op
BenchmarkRequestCost/Method=LIST/Options=N=100_rv=0/Format=table-4        	       1	   5737782 ns/op	 114060696 heap-alloc-B	  51614312 heap-frag-B	 165675008 heap-inuse-B	  95477760 heap-released-B	         0 request-B/op	    753116 response-B/op	 191240520 runtime-inuse-B	 153017840 setup-alloc-B	 5862192 B/op	    6162 allocs/op
BenchmarkRequestCost/Method=LIST/Options=N=100_rv=0/Format=table-4        	       1	   5282625 ns/op	 114225968 heap-alloc-B	  67488976 heap-frag-B	 181714944 heap-inuse-B	  80060416 heap-released-B	         0 request-B/op	    753116 response-B/op	 206657864 runtime-inuse-B	 150819544 setup-alloc-B	 5862064 B/op	    6156 allocs/op
BenchmarkRequestCost/Method=LIST/Options=N=100_rv=0/Format=table-4        	       1	   5329128 ns/op	 114266960 heap-alloc-B	  65154224 heap-frag-B	 179421184 heap-inuse-B	  82264064 heap-released-B	         0 request-B/op	    753116 response-B/op	 204716360 runtime-inuse-B	 151959832 setup-alloc-B	 5862064 B/op	    6156 allocs/op
BenchmarkRequestCost/Method=LIST/Options=N=100_rv=0/Format=table-4        	       1	   5407112 ns/op	 114234336 heap-alloc-B	  68389920 heap-frag-B	 182624256 heap-inuse-B	  81190912 heap-released-B	         0 request-B/op	    753116 response-B/op	 209983816 runtime-inuse-B	 156595496 setup-alloc-B	 5862064 B/op	    6156 allocs/op
BenchmarkRequestCost/Method=LIST/Options=N=100_rv=0/Format=table-4        	       1	   5792815 ns/op	 114251912 heap-alloc-B	  66578296 heap-frag-B	 180830208 heap-inuse-B	  85114880 heap-released-B	         0 request-B/op	    753116 response-B/op	 206059848 runtime-inuse-B	 151570320 setup-alloc-B	 5862064 B/op	    6156 allocs/op
BenchmarkRequestCost/Method=WATCH/Options=N=100_rv=FIRST_RV/Format=protobuf-4         	       1	1001026477 ns/op	  68690800 heap-alloc-B	  46374032 heap-frag-B	 115064832 heap-inuse-B	 150470656 heap-released-B	         0 request-B/op	   1876743 response-B/op	 140704072 runtime-inuse-B	 155281016 setup-alloc-B	  748504 B/op	    2427 allocs/op
BenchmarkRequestCost/Method=WATCH/Options=N=100_rv=FIRST_RV/Format=protobuf-4         	       1	1000552441 ns/op	 113285752 heap-alloc-B	  51619208 heap-frag-B	 164904960 heap-inuse-B	 100106240 heap-released-B	         0 request-B/op	   1876743 response-B/op	 191068488 runtime-inuse-B	 156929752 setup-alloc-B	  748632 B/op	    2428 allocs/op
BenchmarkRequestCost/Method=WATCH/Options=N=100_rv=FIRST_RV/Format=protobuf-4         	       1	1000930779 ns/op	 112982824 heap-alloc-B	  63079640 heap-frag-B	 176062464 heap-inuse-B	  89595904 heap-released-B	         0 request-B/op	   1876743 response-B/op	 201578824 runtime-inuse-B	 154497120 setup-alloc-B	  775096 B/op	    2457 allocs/op
BenchmarkRequestCost/Method=WATCH/Options=N=100_rv=FIRST_RV/Format=protobuf-4         	       1	1000430954 ns/op	 112836952 heap-alloc-B	  62086824 heap-frag-B	 174923776 heap-inuse-B	  89071616 heap-released-B	         0 request-B/op	   1876743 response-B/op	 202103112 runtime-inuse-B	 155861016 setup-alloc-B	  751400 B/op	    2469 allocs/op
BenchmarkRequestCost/Method=WATCH/Options=N=100_rv=FIRST_RV/Format=protobuf-4         	       1	1000481166 ns/op	 112903080 heap-alloc-B	  66485336 heap-frag-B	 179388416 heap-inuse-B	  86392832 heap-released-B	         0 request-B/op	   1876743 response-B/op	 204781896 runtime-inuse-B	 155029896 setup-alloc-B	  748504 B/op	    2427 allocs/op
BenchmarkRequestCost/Method=WATCH/Options=N=100_rv=FIRST_RV/Format=protobuf-4         	       1	1001193488 ns/op	 112817448 heap-alloc-B	  68258520 heap-frag-B	 181075968 heap-inuse-B	  84942848 heap-released-B	         0 request-B/op	   1876743 response-B/op	 206231880 runtime-inuse-B	 155447400 setup-alloc-B	  748440 B/op	    2426 allocs/op
BenchmarkRequestCost/Method=WATCH/Options=N=100_rv=FIRST_RV/Format=table-4            	       1	1001192335 ns/op	  67086448 heap-alloc-B	  48232336 heap-frag-B	 115318784 heap-inuse-B	 150478848 heap-released-B	         0 request-B/op	   1386919 response-B/op	 140695880 runtime-inuse-B	 158920848 setup-alloc-B	 3261392 B/op	   15017 allocs/op
BenchmarkRequestCost/Method=WATCH/Options=N=100_rv=FIRST_RV/Format=table-4            	       1	1000521689 ns/op	 112640896 heap-alloc-B	  52944000 heap-frag-B	 165584896 heap-inuse-B	  99688448 heap-released-B	         0 request-B/op	   1386919 response-B/op	 191486280 runtime-inuse-B	 156671168 setup-alloc-B	 3277704 B/op	   15017 allocs/op
BenchmarkRequestCost/Method=WATCH/Options=N=100_rv=FIRST_RV/Format=table-4            	       1	1000832887 ns/op	 112778360 heap-alloc-B	  62923656 heap-frag-B	 175702016 heap-inuse-B	  90103808 heap-released-B	         0 request-B/op	   1386919 response-B/op	 201070920 runtime-inuse-B	 156717864 setup-alloc-B	 3278160 B/op	   15022 allocs/op
BenchmarkRequestCost/Method=WATCH/Options=N=100_rv=FIRST_RV/Format=table-4            	       1	1000842334 ns/op	 112798968 heap-alloc-B	  60912392 heap-frag-B	 173711360 heap-inuse-B	  90611712 heap-released-B	         0 request-B/op	   1386919 response-B/op	 200563016 runtime-inuse-B	 153052624 setup-alloc-B	 3277720 B/op	   15017 allocs/op
BenchmarkRequestCost/Method=WATCH/Options=N=100_rv=FIRST_RV/Format=table-4            	       1	1001138273 ns/op	 112826152 heap-alloc-B	  69224664 heap-frag-B	 182050816 heap-inuse-B	  83419136 heap-released-B	         0 request-B/op	   1386919 response-B/op	 208017736 runtime-inuse-B	 156711384 setup-alloc-B	 3277904 B/op	   15019 allocs/op
BenchmarkRequestCost/Method=WATCH/Options=N=100_rv=FIRST_RV/Format=table-4            	       1	1000569003 ns/op	 112796152 heap-alloc-B	  70286856 heap-frag-B	 183083008 heap-inuse-B	  83001344 heap-released-B	         0 request-B/op	   1386919 response-B/op	 208435528 runtime-inuse-B	 153949800 setup-alloc-B	 3277904 B/op	   15019 allocs/op
BenchmarkRequestCost/Method=POST/Options=create/Format=json-4                         	       1	   3485021 ns/op	  67178240 heap-alloc-B	  32928000 heap-frag-B	 100106240 heap-inuse-B	 162463744 heap-released-B	      9061 request-B/op	     10427 response-B/op	 129235272 runtime-inuse-B	 157839768 setup-alloc-B	  522576 B/op	    5887 allocs/op
BenchmarkRequestCost/Method=POST/Options=create/Format=json-4                         	       1	   3598348 ns/op	 106253520 heap-alloc-B	  34902832 heap-frag-B	 141156352 heap-inuse-B	 122511360 heap-released-B	      9061 request-B/op	     10427 response-B/op	 169187656 runtime-inuse-B	 156908472 setup-alloc-B	  530240 B/op	    5906 allocs/op
BenchmarkRequestCost/Method=POST/Options=create/Format=json-4                         	       1	   3445543 ns/op	 104050808 heap-alloc-B	  47247240 heap-frag-B	 151298048 heap-inuse-B	 112615424 heap-released-B	      9061 request-B/op	     10427 response-B/op	 179345736 runtime-inuse-B	 157477912 setup-alloc-B	  627128 B/op	    6141 allocs/op
BenchmarkRequestCost/Method=POST/Options=create/Format=json-4                         	       1	   4085591 ns/op	 103961368 heap-alloc-B	  47238376 heap-frag-B	 151199744 heap-inuse-B	 112656384 heap-released-B	      9061 request-B/op	     10427 response-B/op	 179304776 runtime-inuse-B	 157332440 setup-alloc-B	  518488 B/op	    5879 allocs/op
BenchmarkRequestCost/Method=POST/Options=create/Format=json-4                         	       1	   3317962 ns/op	 104259280 heap-alloc-B	  52691248 heap-frag-B	 156950528 heap-inuse-B	 104759296 heap-released-B	      9061 request-B/op	     10427 response-B/op	 187201864 runtime-inuse-B	 156325368 setup-alloc-B	  518504 B/op	    5879 allocs/op
BenchmarkRequestCost/Method=POST/Options=create/Format=json-4                         	       1	   3406911 ns/op	 104382824 heap-alloc-B	  55303832 heap-frag-B	 159686656 heap-inuse-B	 104128512 heap-released-B	      9061 request-B/op	     10427 response-B/op	 187832648 runtime-inuse-B	 153307024 setup-alloc-B	  519584 B/op	    5833 allocs/op
BenchmarkRequestCost/Method=POST/Options=create/Format=protobuf-4                     	       1	   3337942 ns/op	  70288096 heap-alloc-B	  45653280 heap-frag-B	 115941376 heap-inuse-B	 147972096 heap-released-B	      4979 request-B/op	      7920 response-B/op	 143989064 runtime-inuse-B	 157319648 setup-alloc-B	  504360 B/op	    5650 allocs/op
BenchmarkRequestCost/Method=POST/Options=create/Format=protobuf-4                     	       1	   3899300 ns/op	 106500832 heap-alloc-B	  37891360 heap-frag-B	 144392192 heap-inuse-B	 119554048 heap-released-B	      4979 request-B/op	      7920 response-B/op	 172407112 runtime-inuse-B	 157061048 setup-alloc-B	  526400 B/op	    5721 allocs/op
BenchmarkRequestCost/Method=POST/Options=create/Format=protobuf-4                     	       1	   3158645 ns/op	 104537272 heap-alloc-B	  54756168 heap-frag-B	 159293440 heap-inuse-B	 104603648 heap-released-B	      4979 request-B/op	      7920 response-B/op	 187357512 runtime-inuse-B	 155218832 setup-alloc-B	  530416 B/op	    5705 allocs/op
BenchmarkRequestCost/Method=POST/Options=create/Format=protobuf-4                     	       1	   3312592 ns/op	 105008952 heap-alloc-B	  50286792 heap-frag-B	 155295744 heap-inuse-B	 108584960 heap-released-B	      4979 request-B/op	      7920 response-B/op	 183376200 runtime-inuse-B	 156536784 setup-alloc-B	  532488 B/op	    5692 allocs/op
BenchmarkRequestCost/Method=POST/Options=create/Format=protobuf-4                     	       1	   3665507 ns/op	 110167200 heap-alloc-B	  56859488 heap-frag-B	 167026688 heap-inuse-B	  96845824 heap-released-B	      4979 request-B/op	      7920 response-B/op	 195115336 runtime-inuse-B	 154901752 setup-alloc-B	  483728 B/op	    5692 allocs/op
BenchmarkRequestCost/Method=POST/Options=create/Format=protobuf-4                     	       1	   3218147 ns/op	 105841008 heap-alloc-B	  53296784 heap-frag-B	 159137792 heap-inuse-B	 104660992 heap-released-B	      4979 request-B/op	      7920 response-B/op	 187300168 runtime-inuse-B	 154903280 setup-alloc-B	  531720 B/op	    5715 allocs/op
BenchmarkRequestCost/Method=PATCH/Options=apply/Format=json-4                         	       1	   5517953 ns/op	  67957072 heap-alloc-B	  36949680 heap-frag-B	 104906752 heap-inuse-B	 157786112 heap-released-B	       106.0 request-B/op	     15480 response-B/op	 134175048 runtime-inuse-B	 157346912 setup-alloc-B	 1454776 B/op	   20050 allocs/op
BenchmarkRequestCost/Method=PATCH/Options=apply/Format=json-4                         	       1	   5280889 ns/op	 107815040 heap-alloc-B	  35798912 heap-frag-B	 143613952 heap-inuse-B	 118939648 heap-released-B	       106.0 request-B/op	     15480 response-B/op	 173021512 runtime-inuse-B	 154212624 setup-alloc-B	 1397208 B/op	   19605 allocs/op
BenchmarkRequestCost/Method=PATCH/Options=apply/Format=json-4                         	       1	   5269508 ns/op	 104436416 heap-alloc-B	  49220928 heap-frag-B	 153657344 heap-inuse-B	 110256128 heap-released-B	       106.0 request-B/op	     15480 response-B/op	 181705032 runtime-inuse-B	 158419800 setup-alloc-B	 1401672 B/op	   19466 allocs/op
BenchmarkRequestCost/Method=PATCH/Options=apply/Format=json-4                         	       1	   5346715 ns/op	 107254048 heap-alloc-B	  50327264 heap-frag-B	 157581312 heap-inuse-B	 106266624 heap-released-B	       106.0 request-B/op	     15480 response-B/op	 185694536 runtime-inuse-B	 156853248 setup-alloc-B	 1380000 B/op	   19353 allocs/op
BenchmarkRequestCost/Method=PATCH/Options=apply/Format=json-4                         	       1	   5250996 ns/op	 107506144 heap-alloc-B	  52663840 heap-frag-B	 160169984 heap-inuse-B	 103661568 heap-released-B	       106.0 request-B/op	     15480 response-B/op	 188299592 runtime-inuse-B	 151297000 setup-alloc-B	 1394816 B/op	   19323 allocs/op
BenchmarkRequestCost/Method=PATCH/Options=apply/Format=json-4                         	       1	   5081430 ns/op	 111360864 heap-alloc-B	  58107040 heap-frag-B	 169467904 heap-inuse-B	  94445568 heap-released-B	       106.0 request-B/op	     15480 response-B/op	 197515592 runtime-inuse-B	 154572696 setup-alloc-B	 1410184 B/op	   19604 allocs/op
BenchmarkRequestCost/Method=PATCH/Options=apply/Format=protobuf-4                     	       1	   5166797 ns/op	  68606824 heap-alloc-B	  42886296 heap-frag-B	 111493120 heap-inuse-B	 152961024 heap-released-B	       106.0 request-B/op	     11073 response-B/op	 139000136 runtime-inuse-B	 154914728 setup-alloc-B	 1279784 B/op	   19080 allocs/op
BenchmarkRequestCost/Method=PATCH/Options=apply/Format=protobuf-4                     	       1	   5219189 ns/op	 107463520 heap-alloc-B	  37936288 heap-frag-B	 145399808 heap-inuse-B	 118472704 heap-released-B	       106.0 request-B/op	     11073 response-B/op	 173750600 runtime-inuse-B	 155518200 setup-alloc-B	 1281992 B/op	   19086 allocs/op
BenchmarkRequestCost/Method=PATCH/Options=apply/Format=protobuf-4                     	       1	   5426669 ns/op	 107524520 heap-alloc-B	  49237592 heap-frag-B	 156762112 heap-inuse-B	 107094016 heap-released-B	       106.0 request-B/op	     11073 response-B/op	 185129288 runtime-inuse-B	 153854752 setup-alloc-B	 1268760 B/op	   19089 allocs/op
BenchmarkRequestCost/Method=PATCH/Options=apply/Format=protobuf-4                     	       1	  10805120 ns/op	 106878464 heap-alloc-B	  49834496 heap-frag-B	 156712960 heap-inuse-B	 107372544 heap-released-B	       106.0 request-B/op	     11073 response-B/op	 184850760 runtime-inuse-B	 154207344 setup-alloc-B	 1291624 B/op	   19089 allocs/op
BenchmarkRequestCost/Method=PATCH/Options=apply/Format=protobuf-4                     	       1	   5821041 ns/op	 111005840 heap-alloc-B	  59010928 heap-frag-B	 170016768 heap-inuse-B	  94396416 heap-released-B	       106.0 request-B/op	     11073 response-B/op	 197826888 runtime-inuse-B	 155823552 setup-alloc-B	 1329176 B/op	   20141 allocs/op
BenchmarkRequestCost/Method=PATCH/Options=apply/Format=protobuf-4                     	       1	   5625413 ns/op	 107481592 heap-alloc-B	  56661512 heap-frag-B	 164143104 heap-inuse-B	  99860480 heap-released-B	       106.0 request-B/op	     11073 response-B/op	 192362824 runtime-inuse-B	 151542680 setup-alloc-B	 1333600 B/op	   19104 allocs/op
BenchmarkRequestCost/Method=PATCH/Options=status_kubelet/Format=json-4                	       1	   3723165 ns/op	  71504136 heap-alloc-B	  38620920 heap-frag-B	 110125056 heap-inuse-B	 153731072 heap-released-B	       460.0 request-B/op	     14764 response-B/op	 138492232 runtime-inuse-B	 155807720 setup-alloc-B	  786296 B/op	    8544 allocs/op
BenchmarkRequestCost/Method=PATCH/Options=status_kubelet/Format=json-4                	       1	   4120294 ns/op	 107268024 heap-alloc-B	  37115976 heap-frag-B	 144384000 heap-inuse-B	 119619584 heap-released-B	       460.0 request-B/op	     14764 response-B/op	 172603720 runtime-inuse-B	 158319192 setup-alloc-B	  698616 B/op	    8032 allocs/op
BenchmarkRequestCost/Method=PATCH/Options=status_kubelet/Format=json-4                	       1	   4326807 ns/op	 107597376 heap-alloc-B	  47960512 heap-frag-B	 155557888 heap-inuse-B	 108470272 heap-released-B	       460.0 request-B/op	     14764 response-B/op	 183753032 runtime-inuse-B	 156618896 setup-alloc-B	  780984 B/op	    8431 allocs/op
BenchmarkRequestCost/Method=PATCH/Options=status_kubelet/Format=json-4                	       1	   3553324 ns/op	 107324280 heap-alloc-B	  48675976 heap-frag-B	 156000256 heap-inuse-B	 107888640 heap-released-B	       460.0 request-B/op	     14764 response-B/op	 184334664 runtime-inuse-B	 155749464 setup-alloc-B	  730376 B/op	    8423 allocs/op
BenchmarkRequestCost/Method=PATCH/Options=status_kubelet/Format=json-4                	       1	   4403717 ns/op	 112917216 heap-alloc-B	  58082592 heap-frag-B	 170999808 heap-inuse-B	  93061120 heap-released-B	       460.0 request-B/op	     14764 response-B/op	 199162184 runtime-inuse-B	 155027896 setup-alloc-B	  742512 B/op	    8125 allocs/op
BenchmarkRequestCost/Method=PATCH/Options=status_kubelet/Format=json-4                	       1	   3678521 ns/op	 114495520 heap-alloc-B	  57249760 heap-frag-B	 171745280 heap-inuse-B	  92430336 heap-released-B	       460.0 request-B/op	     14764 response-B/op	 199792968 runtime-inuse-B	 151414384 setup-alloc-B	  767496 B/op	    8133 allocs/op
BenchmarkRequestCost/Method=PATCH/Options=status_kubelet/Format=protobuf-4            	       1	   4030273 ns/op	  72631000 heap-alloc-B	  45546792 heap-frag-B	 118177792 heap-inuse-B	 145604608 heap-released-B	       460.0 request-B/op	     10690 response-B/op	 146618696 runtime-inuse-B	 154022472 setup-alloc-B	  683640 B/op	    7981 allocs/op
BenchmarkRequestCost/Method=PATCH/Options=status_kubelet/Format=protobuf-4            	       1	   3700926 ns/op	 109185688 heap-alloc-B	  38597992 heap-frag-B	 147783680 heap-inuse-B	 116277248 heap-released-B	       460.0 request-B/op	     10690 response-B/op	 175946056 runtime-inuse-B	 157242616 setup-alloc-B	  668976 B/op	    7949 allocs/op
BenchmarkRequestCost/Method=PATCH/Options=status_kubelet/Format=protobuf-4            	       1	   3267853 ns/op	 107716352 heap-alloc-B	  53788928 heap-frag-B	 161505280 heap-inuse-B	 102383616 heap-released-B	       460.0 request-B/op	     10690 response-B/op	 189839688 runtime-inuse-B	 151808368 setup-alloc-B	  668560 B/op	    7951 allocs/op
BenchmarkRequestCost/Method=PATCH/Options=status_kubelet/Format=protobuf-4            	       1	   3548806 ns/op	 114130136 heap-alloc-B	  47784744 heap-frag-B	 161914880 heap-inuse-B	 102301696 heap-released-B	       460.0 request-B/op	     10690 response-B/op	 189921608 runtime-inuse-B	 151253376 setup-alloc-B	  680712 B/op	    7956 allocs/op
BenchmarkRequestCost/Method=PATCH/Options=status_kubelet/Format=protobuf-4            	       1	   3517462 ns/op	 107171592 heap-alloc-B	  58913016 heap-frag-B	 166084608 heap-inuse-B	  97968128 heap-released-B	       460.0 request-B/op	     10690 response-B/op	 194255176 runtime-inuse-B	 158127448 setup-alloc-B	  636688 B/op	    7951 allocs/op
BenchmarkRequestCost/Method=PATCH/Options=status_kubelet/Format=protobuf-4            	       1	   4181264 ns/op	 112470632 heap-alloc-B	  56858008 heap-frag-B	 169328640 heap-inuse-B	  94896128 heap-released-B	       460.0 request-B/op	     10690 response-B/op	 197327176 runtime-inuse-B	 150777880 setup-alloc-B	  649816 B/op	    7996 allocs/op
BenchmarkRequestCost/Method=DELETECOLLECTION/Options=N=100/Format=protobuf-4          	       1	 457972890 ns/op	  73795360 heap-alloc-B	  48142560 heap-frag-B	 121937920 heap-inuse-B	 141770752 heap-released-B	         0 request-B/op	   1094739 response-B/op	 150452552 runtime-inuse-B	 155132584 setup-alloc-B	74250040 B/op	  532177 allocs/op
BenchmarkRequestCost/Method=DELETECOLLECTION/Options=N=100/Format=protobuf-4          	       1	 466225567 ns/op	 120636696 heap-alloc-B	  56498920 heap-frag-B	 177135616 heap-inuse-B	  86835200 heap-released-B	         0 request-B/op	   1094840 response-B/op	 205388104 runtime-inuse-B	 156386480 setup-alloc-B	74157144 B/op	  532574 allocs/op
BenchmarkRequestCost/Method=DELETECOLLECTION/Options=N=100/Format=protobuf-4          	       1	 433628328 ns/op	 120621528 heap-alloc-B	  71251496 heap-frag-B	 191873024 heap-inuse-B	  81797120 heap-released-B	         0 request-B/op	   1094840 response-B/op	 219601224 runtime-inuse-B	 155294128 setup-alloc-B	74126616 B/op	  531904 allocs/op
BenchmarkRequestCost/Method=DELETECOLLECTION/Options=N=100/Format=protobuf-4          	       1	 514238723 ns/op	 120672136 heap-alloc-B	  69709944 heap-frag-B	 190382080 heap-inuse-B	  87793664 heap-released-B	         0 request-B/op	   1094840 response-B/op	 217798984 runtime-inuse-B	 155264616 setup-alloc-B	74078992 B/op	  531844 allocs/op
BenchmarkRequestCost/Method=DELETECOLLECTION/Options=N=100/Format=protobuf-4          	       1	 450004123 ns/op	 120479040 heap-alloc-B	  80167616 heap-frag-B	 200646656 heap-inuse-B	  77709312 heap-released-B	         0 request-B/op	   1094840 response-B/op	 227883336 runtime-inuse-B	 156206880 setup-alloc-B	73835200 B/op	  529581 allocs/op
BenchmarkRequestCost/Method=DELETECOLLECTION/Options=N=100/Format=protobuf-4          	       1	 436905003 ns/op	 120222728 heap-alloc-B	  80423928 heap-frag-B	 200646656 heap-inuse-B	  77406208 heap-released-B	         0 request-B/op	   1094840 response-B/op	 228186440 runtime-inuse-B	 155972856 setup-alloc-B	73770616 B/op	  528851 allocs/op
PASS

Does this PR introduce a user-facing change?

NONE

AI usage disclosure:

YES. AI tooling assisted with pprof allocation profile analysis, benchmarking, and formatting. All code changes were reviewed and verified by the author.

@kubernetes-prow kubernetes-prow Bot added do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. kind/cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt. labels Oct 7, 2026
@kubernetes-prow

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: mauriciopoppe
Once this PR has been reviewed and has the lgtm label, please assign sttts for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@kubernetes-prow
kubernetes-prow Bot requested review from Jefftree and sttts October 7, 2026 22:56
@kubernetes-prow kubernetes-prow Bot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. labels Oct 7, 2026
@mauriciopoppe
mauriciopoppe force-pushed the pr-wraprefs-builder-allocs branch 3 times, most recently from c5aded4 to 4cbac46 Compare October 8, 2026 00:41
@mauriciopoppe
mauriciopoppe force-pushed the pr-wraprefs-builder-allocs branch from 4cbac46 to 3ac76a1 Compare October 8, 2026 01:50
@mauriciopoppe
mauriciopoppe marked this pull request as ready for review October 8, 2026 16:39
@kubernetes-prow kubernetes-prow Bot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Oct 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. kind/cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt. size/XL Denotes a PR that changes 500-999 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant