Skip to content

Commit

Permalink
Cleanup load test scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
angelini committed Oct 21, 2022
1 parent b3d46f9 commit 0618819
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -224,11 +224,11 @@ define load-test
localhost:$(GRPC_PORT)
endef

load-test-new:
load-test-new: reset-db
$(call load-test,NewProject,new.json,100,1)

load-test-get:
$(call load-test,Get,get_all.json,100000,50,5000)

load-test-update:
$(call load-test,Update,update_increment.json,10000,1)
$(call load-test,Update,update.json,10000,20)

load-test-get:
$(call load-test,Get,get_all.json,100000,40,5000)
2 changes: 1 addition & 1 deletion development/scripts/load-tests/get_all.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[
{
"project": "{{ randomInt 0 9 }}{{ randomInt 0 9 }}",
"queries": [{ "path": "", "is_prefix": false }]
"queries": [{ "path": "", "is_prefix": true }]
}
]
File renamed without changes.

0 comments on commit 0618819

Please sign in to comment.