summaryrefslogtreecommitdiff
path: root/cli/bench/http/deno_http_read_headers.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_http_read_headers.lua
parenta27acbc2ec63dd684cf57990b30d757cd0477d9b (diff)
chore(cli/bench): Add more HTTP benchmarks (#14995)
Diffstat (limited to 'cli/bench/http/deno_http_read_headers.lua')
-rw-r--r--cli/bench/http/deno_http_read_headers.lua5
1 files changed, 5 insertions, 0 deletions
diff --git a/cli/bench/http/deno_http_read_headers.lua b/cli/bench/http/deno_http_read_headers.lua
new file mode 100644
index 000000000..64f1923ff
--- /dev/null
+++ b/cli/bench/http/deno_http_read_headers.lua
@@ -0,0 +1,5 @@
+wrk.headers["foo"] = "bar"
+wrk.headers["User-Agent"] = "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36"
+wrk.headers["Viewport-Width"] = "1920"
+wrk.headers["Accept"] = "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9"
+wrk.headers["Accept-Language"] = "en,la;q=0.9" \ No newline at end of file