summaryrefslogtreecommitdiff
path: root/cli/bench/http
diff options
context:
space:
mode:
Diffstat (limited to 'cli/bench/http')
-rw-r--r--cli/bench/http/bun_hono_router.js2
-rw-r--r--cli/bench/http/bun_http.js2
-rw-r--r--cli/bench/http/bun_http_send_file.js2
-rw-r--r--cli/bench/http/deno_flash_hono_router.js2
-rw-r--r--cli/bench/http/deno_flash_send_file.js2
-rw-r--r--cli/bench/http/deno_http_flash.js2
-rw-r--r--cli/bench/http/deno_http_flash_ops.js2
-rw-r--r--cli/bench/http/deno_http_flash_post_bin.js2
-rw-r--r--cli/bench/http/deno_http_native.js2
-rw-r--r--cli/bench/http/deno_http_read_headers.js2
-rw-r--r--cli/bench/http/deno_post_bin.js2
-rw-r--r--cli/bench/http/deno_post_json.js2
-rw-r--r--cli/bench/http/deno_tcp.ts2
-rw-r--r--cli/bench/http/node_http.js2
-rw-r--r--cli/bench/http/node_http_read_headers.js2
-rw-r--r--cli/bench/http/node_post_bin.js2
-rw-r--r--cli/bench/http/node_post_json.js2
-rw-r--r--cli/bench/http/node_tcp.js2
18 files changed, 18 insertions, 18 deletions
diff --git a/cli/bench/http/bun_hono_router.js b/cli/bench/http/bun_hono_router.js
index 38f9c3542..395ac35a0 100644
--- a/cli/bench/http/bun_hono_router.js
+++ b/cli/bench/http/bun_hono_router.js
@@ -1,4 +1,4 @@
-// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
const port = Bun.argv[2] || "4545";
const { Hono } = require("../testdata/npm/hono/dist/index.js");
diff --git a/cli/bench/http/bun_http.js b/cli/bench/http/bun_http.js
index 89ff9b121..5eaa328eb 100644
--- a/cli/bench/http/bun_http.js
+++ b/cli/bench/http/bun_http.js
@@ -1,4 +1,4 @@
-// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
const port = Bun.argv[2] || "4545";
Bun.serve({
fetch(_req) {
diff --git a/cli/bench/http/bun_http_send_file.js b/cli/bench/http/bun_http_send_file.js
index 268da9ae9..745cf34b8 100644
--- a/cli/bench/http/bun_http_send_file.js
+++ b/cli/bench/http/bun_http_send_file.js
@@ -1,4 +1,4 @@
-// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
const port = Bun.argv[2] || "4545";
const path = new URL("../testdata/128k.bin", import.meta.url).pathname;
diff --git a/cli/bench/http/deno_flash_hono_router.js b/cli/bench/http/deno_flash_hono_router.js
index af6adc9ba..ef78849b2 100644
--- a/cli/bench/http/deno_flash_hono_router.js
+++ b/cli/bench/http/deno_flash_hono_router.js
@@ -1,4 +1,4 @@
-// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
import { Hono } from "https://deno.land/x/hono@v2.0.9/mod.ts";
const addr = Deno.args[0] || "127.0.0.1:4500";
diff --git a/cli/bench/http/deno_flash_send_file.js b/cli/bench/http/deno_flash_send_file.js
index db2ad7a82..b613a6164 100644
--- a/cli/bench/http/deno_flash_send_file.js
+++ b/cli/bench/http/deno_flash_send_file.js
@@ -1,4 +1,4 @@
-// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
const addr = Deno.args[0] || "127.0.0.1:4500";
const [hostname, port] = addr.split(":");
diff --git a/cli/bench/http/deno_http_flash.js b/cli/bench/http/deno_http_flash.js
index 4b6a1eb21..4add599eb 100644
--- a/cli/bench/http/deno_http_flash.js
+++ b/cli/bench/http/deno_http_flash.js
@@ -1,4 +1,4 @@
-// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
const addr = Deno.args[0] || "127.0.0.1:4500";
const [hostname, port] = addr.split(":");
diff --git a/cli/bench/http/deno_http_flash_ops.js b/cli/bench/http/deno_http_flash_ops.js
index 970447a42..1ef2f65ed 100644
--- a/cli/bench/http/deno_http_flash_ops.js
+++ b/cli/bench/http/deno_http_flash_ops.js
@@ -1,4 +1,4 @@
-// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
// deno-lint-ignore-file
diff --git a/cli/bench/http/deno_http_flash_post_bin.js b/cli/bench/http/deno_http_flash_post_bin.js
index cea530e60..b81553dcd 100644
--- a/cli/bench/http/deno_http_flash_post_bin.js
+++ b/cli/bench/http/deno_http_flash_post_bin.js
@@ -1,4 +1,4 @@
-// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
const addr = Deno.args[0] || "127.0.0.1:4500";
const [hostname, port] = addr.split(":");
diff --git a/cli/bench/http/deno_http_native.js b/cli/bench/http/deno_http_native.js
index a45416ada..285bc9b1f 100644
--- a/cli/bench/http/deno_http_native.js
+++ b/cli/bench/http/deno_http_native.js
@@ -1,4 +1,4 @@
-// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
const addr = Deno.args[0] || "127.0.0.1:4500";
const [hostname, port] = addr.split(":");
diff --git a/cli/bench/http/deno_http_read_headers.js b/cli/bench/http/deno_http_read_headers.js
index 75346b38d..de9738c97 100644
--- a/cli/bench/http/deno_http_read_headers.js
+++ b/cli/bench/http/deno_http_read_headers.js
@@ -1,4 +1,4 @@
-// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
const addr = Deno.args[0] || "127.0.0.1:4500";
const [hostname, port] = addr.split(":");
diff --git a/cli/bench/http/deno_post_bin.js b/cli/bench/http/deno_post_bin.js
index 33ffeed1b..ebdced64b 100644
--- a/cli/bench/http/deno_post_bin.js
+++ b/cli/bench/http/deno_post_bin.js
@@ -1,4 +1,4 @@
-// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
const addr = Deno.args[0] || "127.0.0.1:4500";
const [hostname, port] = addr.split(":");
diff --git a/cli/bench/http/deno_post_json.js b/cli/bench/http/deno_post_json.js
index 90c68f6e4..5a905f8d5 100644
--- a/cli/bench/http/deno_post_json.js
+++ b/cli/bench/http/deno_post_json.js
@@ -1,4 +1,4 @@
-// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
const addr = Deno.args[0] || "127.0.0.1:4500";
const [hostname, port] = addr.split(":");
diff --git a/cli/bench/http/deno_tcp.ts b/cli/bench/http/deno_tcp.ts
index 43b4d2264..a7ce03e66 100644
--- a/cli/bench/http/deno_tcp.ts
+++ b/cli/bench/http/deno_tcp.ts
@@ -1,4 +1,4 @@
-// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
// Used for benchmarking Deno's networking.
// TODO(bartlomieju): Replace this with a real HTTP server once
// https://github.com/denoland/deno/issues/726 is completed.
diff --git a/cli/bench/http/node_http.js b/cli/bench/http/node_http.js
index 3380c86a5..3c0d9c41c 100644
--- a/cli/bench/http/node_http.js
+++ b/cli/bench/http/node_http.js
@@ -1,4 +1,4 @@
-// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
const http = require("http");
const port = process.argv[2] || "4544";
console.log("port", port);
diff --git a/cli/bench/http/node_http_read_headers.js b/cli/bench/http/node_http_read_headers.js
index 98716c72b..0ec230a3a 100644
--- a/cli/bench/http/node_http_read_headers.js
+++ b/cli/bench/http/node_http_read_headers.js
@@ -1,4 +1,4 @@
-// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
const http = require("http");
const port = process.argv[2] || "4544";
console.log("port", port);
diff --git a/cli/bench/http/node_post_bin.js b/cli/bench/http/node_post_bin.js
index d0f2d6667..9026c2958 100644
--- a/cli/bench/http/node_post_bin.js
+++ b/cli/bench/http/node_post_bin.js
@@ -1,4 +1,4 @@
-// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
const http = require("http");
const port = process.argv[2] || "4544";
console.log("port", port);
diff --git a/cli/bench/http/node_post_json.js b/cli/bench/http/node_post_json.js
index 074d005d0..bab64b28d 100644
--- a/cli/bench/http/node_post_json.js
+++ b/cli/bench/http/node_post_json.js
@@ -1,4 +1,4 @@
-// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
const http = require("http");
const port = process.argv[2] || "4544";
console.log("port", port);
diff --git a/cli/bench/http/node_tcp.js b/cli/bench/http/node_tcp.js
index cb51a63a5..2f8abb375 100644
--- a/cli/bench/http/node_tcp.js
+++ b/cli/bench/http/node_tcp.js
@@ -1,4 +1,4 @@
-// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
// Note: this is a keep-alive server.
const { Server } = require("net");
const port = process.argv[2] || "4544";