repositories
/
poolifier.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
feat: add fastify poolifier integration example
[poolifier.git]
/
examples
/
typescript
/
http-server-pool
/
fastify
/
requests.sh
1
#!/usr/bin/env bash
2
3
set -e
4
5
for
((
request
=
1
;
request
<=
60
;
request
++))
6
do
7
time
curl
-i -H
"Content-Type: application/json"
-X
POST
-d
'{"key1":"value1", "key2":"value2"}'
http
://
localhost
:
8080
/
api
/
echo
8
done