• Clayton Coleman's avatar
    SetSelfLink is inefficient · 4f363f54
    Clayton Coleman authored
    Generating self links, especially for lists, is inefficient.  Replace
    use of net.URL.String() with direct encoding that reduces number of
    allocations. Switch from calling meta.ExtractList|SetList to a function
    that iterates over each object in the list.
    
    In steady state for nodes performing frequently small get/list
    operations, and for larger LISTs significantly reduces CPU and
    allocations.
    4f363f54
Name
Last commit
Last update
..
authenticator Loading commit data...
filters Loading commit data...
metrics Loading commit data...
openapi Loading commit data...
request Loading commit data...
testing Loading commit data...
BUILD Loading commit data...
OWNERS Loading commit data...
api_installer.go Loading commit data...
api_installer_test.go Loading commit data...
apiserver.go Loading commit data...
apiserver_test.go Loading commit data...
doc.go Loading commit data...
errors.go Loading commit data...
errors_test.go Loading commit data...
negotiate.go Loading commit data...
negotiate_test.go Loading commit data...
proxy.go Loading commit data...
proxy_test.go Loading commit data...
resthandler.go Loading commit data...
resthandler_test.go Loading commit data...
serviceerror.go Loading commit data...
validator.go Loading commit data...
validator_test.go Loading commit data...
watch.go Loading commit data...
watch_test.go Loading commit data...