🚀 Launch Week Day 2:Introducing Custom Tabs for Org Alerts.Learn More
Socket
Book a DemoInstallSign in
Socket

sigs.k8s.io/kustomize/hack

Package Overview
Dependencies
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sigs.k8s.io/kustomize/hack

Go Modules
Version
v0.0.0-20251228192633-008b7a0c47a9
Version published
Created
Source

Benchmark for KRM functions in Kustomize

Prerequisites

  • kustomize v3.7.0 or higher (support for KRM Config Functions).
  • docker

How to run

./benchmark.sh

The script will build the exec version of function via container and then run 10, 100 and 1000 times of exec version and container version and then print out the time used by both versions.

./cleanup.sh

Will remove the built exec version of the function. Add flag --image to remove the images that used to build exec function.

Functions in the benchmark

Two functions are used:

  • gcr.io/kustomize-functions/example-tshirt (link)
  • gcr.io/kpt-functions/label-namespace (link)

example-tshirt is a Go function. label-namespace is a JS function. Both of them are used as transformers.

FAQs

Package last updated on 28 Dec 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts