repositories
/
poolifier.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
feat: add multithreaded factorial endpoint to express example
[poolifier.git]
/
examples
/
typescript
/
http-server-pool
/
express
/
requests.sh
diff --git
a/examples/typescript/http-server-pool/express/requests.sh
b/examples/typescript/http-server-pool/express/requests.sh
index e5ad31b3d3358d898e4e65e955f11bf417f64d42..6f7fe0ea19caca7f3432299f93c08320b72f56f9 100755
(executable)
--- a/
examples/typescript/http-server-pool/express/requests.sh
+++ b/
examples/typescript/http-server-pool/express/requests.sh
@@
-6,3
+6,8
@@
for ((request=1;request<=60;request++))
do
time curl -i -H "Content-Type: application/json" -X POST -d '{"key1":"value1", "key2":"value2"}' http://localhost:8080/api/echo
done
+
+for ((request=1;request<=60;request++))
+do
+ time curl -i http://localhost:8080/api/factorial/30
+done