summaryrefslogtreecommitdiff
path: root/cli/bench/http/deno_post_json.lua
diff options
context:
space:
mode:
authorDivy Srivastava <dj.srivastava23@gmail.com>2022-07-01 12:59:01 +0530
committerGitHub <noreply@github.com>2022-07-01 12:59:01 +0530
commit350994e6a66ed78b0fa38c1ffad4928297ffd9b3 (patch)
treebf00b1c2323d5fb85b07b2a16d861e76561eedc3 /cli/bench/http/deno_post_json.lua
parenta27acbc2ec63dd684cf57990b30d757cd0477d9b (diff)
chore(cli/bench): Add more HTTP benchmarks (#14995)
Diffstat (limited to 'cli/bench/http/deno_post_json.lua')
-rw-r--r--cli/bench/http/deno_post_json.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/cli/bench/http/deno_post_json.lua b/cli/bench/http/deno_post_json.lua
new file mode 100644
index 000000000..cc6c4e226
--- /dev/null
+++ b/cli/bench/http/deno_post_json.lua
@@ -0,0 +1,3 @@
+wrk.method = "POST"
+wrk.headers["Content-Type"] = "application/json"
+wrk.body = '{"hello":"deno"}' \ No newline at end of file