Skip to content

Commit

Permalink
feat(benchmark): add configuration for num tuples per write (#25)
Browse files Browse the repository at this point in the history
Allow configuration on benchmark for number of tuples per write and
which user we want to run check/list objects on
  • Loading branch information
adriantam authored Apr 24, 2023
1 parent 2d5cbd4 commit aa11dfc
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/benchmark/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: benchmark
description: A Kubernetes Helm chart to deploy OpenFGA and run the standard benchmark suite against it.

type: application
version: 0.0.9
version: 0.0.10
appVersion: "v1.0.1"

home: "https://openfga.github.io/helm-charts/charts/benchmark"
Expand Down
4 changes: 4 additions & 0 deletions charts/benchmark/templates/pod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@ spec:
value: "{{ .Values.Kparam }}"
- name: "TEST_CASE"
value: "{{ .Values.testCase }}"
- name: "TUPLES_PER_WRITE"
value: "{{ .Values.tuplesPerWrite }}"
- name: "POSITION"
value: "{{ .Values.tuplesPosition }}"
{{- if .Values.testCheck }}
- name: "TEST_CHECK"
value: "{{ .Values.testCheck }}"
Expand Down
2 changes: 2 additions & 0 deletions charts/benchmark/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,5 @@ Kparam: 1
testCase: 1
testCheck: true
testListObject: false
tuplesPerWrite: 100
tuplesPosition: start

0 comments on commit aa11dfc

Please sign in to comment.