Skip to content

Commit

Permalink
Improve benchmarks
Browse files Browse the repository at this point in the history
  • Loading branch information
MacroPower committed Jan 3, 2025
1 parent ba2fcd0 commit 0aae8d9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Taskfile.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ tasks:
KCL_HELM_VALUES: benchmarks/simple-helm-values.k
cmds:
- >-
hyperfine --warmup=10
hyperfine --warmup=50 --min-runs=1000
--export-markdown ./benchmarks/README.md
--command-name "kclipper ./{{.KCL_CODE}}"
--command-name "kclipper ./{{.KCL_HELM}}"
Expand Down
6 changes: 5 additions & 1 deletion benchmarks/simple.k
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
[{
import manifests

_notAChart = [{
apiVersion = "apps/v1"
kind = "Deployment"
metadata = {
Expand Down Expand Up @@ -34,3 +36,5 @@
}
}
} for x in range(0, 5)]

manifests.yaml_stream(_notAChart, {})

0 comments on commit 0aae8d9

Please sign in to comment.