summaryrefslogtreecommitdiff
path: root/cli/bench
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2024-01-01 14:58:21 -0500
committerGitHub <noreply@github.com>2024-01-01 19:58:21 +0000
commit7e72f3af6152d4b62c2ea94d025dfa297a6b0cb4 (patch)
tree76753f501bbede065efca7a0b62b823d64a2d9de /cli/bench
parent8ba828b41e2609c91d993aec464035d62320fdad (diff)
chore: update copyright to 2024 (#21753)
Diffstat (limited to 'cli/bench')
-rw-r--r--cli/bench/async_ops.js2
-rw-r--r--cli/bench/cache_api.js2
-rw-r--r--cli/bench/command.js2
-rw-r--r--cli/bench/console.js2
-rw-r--r--cli/bench/deno_common.js2
-rw-r--r--cli/bench/encode_into.js2
-rw-r--r--cli/bench/getrandom.js2
-rw-r--r--cli/bench/http.rs2
-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_native.js2
-rw-r--r--cli/bench/http/deno_http_native_headers.js2
-rw-r--r--cli/bench/http/deno_http_read_headers.js2
-rw-r--r--cli/bench/http/deno_http_serve.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/lsp.rs2
-rw-r--r--cli/bench/lsp_bench_standalone.rs2
-rw-r--r--cli/bench/main.rs2
-rw-r--r--cli/bench/napi/bench.js2
-rw-r--r--cli/bench/op_now.js2
-rw-r--r--cli/bench/secure_curves.js2
-rw-r--r--cli/bench/stdio/stdio.js2
-rw-r--r--cli/bench/tcp.js2
-rw-r--r--cli/bench/tty.js2
-rw-r--r--cli/bench/url_parse.js2
-rw-r--r--cli/bench/webstorage.js2
-rw-r--r--cli/bench/write_file.js2
29 files changed, 29 insertions, 29 deletions
diff --git a/cli/bench/async_ops.js b/cli/bench/async_ops.js
index f6c1465d2..5a21af5c8 100644
--- a/cli/bench/async_ops.js
+++ b/cli/bench/async_ops.js
@@ -1,4 +1,4 @@
-// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
const queueMicrotask = globalThis.queueMicrotask || process.nextTick;
let [total, count] = typeof Deno !== "undefined"
? Deno.args
diff --git a/cli/bench/cache_api.js b/cli/bench/cache_api.js
index 31537917e..af55fc132 100644
--- a/cli/bench/cache_api.js
+++ b/cli/bench/cache_api.js
@@ -1,4 +1,4 @@
-// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
const cacheName = "cache-v1";
const cache = await caches.open(cacheName);
diff --git a/cli/bench/command.js b/cli/bench/command.js
index 04e8456d3..5b7c300d2 100644
--- a/cli/bench/command.js
+++ b/cli/bench/command.js
@@ -1,4 +1,4 @@
-// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
Deno.bench("echo deno", async () => {
await new Deno.Command("echo", { args: ["deno"] }).output();
diff --git a/cli/bench/console.js b/cli/bench/console.js
index 5f67c0a4b..947061a3b 100644
--- a/cli/bench/console.js
+++ b/cli/bench/console.js
@@ -1,3 +1,3 @@
-// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
const count = 100000;
for (let i = 0; i < count; i++) console.log("Hello World");
diff --git a/cli/bench/deno_common.js b/cli/bench/deno_common.js
index 210733c1a..b10b1e7a7 100644
--- a/cli/bench/deno_common.js
+++ b/cli/bench/deno_common.js
@@ -1,4 +1,4 @@
-// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
// v8 builtin that's close to the upper bound non-NOPs
Deno.bench("date_now", { n: 5e5 }, () => {
diff --git a/cli/bench/encode_into.js b/cli/bench/encode_into.js
index aae39080a..4881f8752 100644
--- a/cli/bench/encode_into.js
+++ b/cli/bench/encode_into.js
@@ -1,4 +1,4 @@
-// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
let [total, count] = typeof Deno !== "undefined"
? Deno.args
: [process.argv[2], process.argv[3]];
diff --git a/cli/bench/getrandom.js b/cli/bench/getrandom.js
index 810fa4a71..87149afeb 100644
--- a/cli/bench/getrandom.js
+++ b/cli/bench/getrandom.js
@@ -1,4 +1,4 @@
-// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
let [total, count] = typeof Deno !== "undefined"
? Deno.args
: [process.argv[2], process.argv[3]];
diff --git a/cli/bench/http.rs b/cli/bench/http.rs
index bd070c754..c43bbef32 100644
--- a/cli/bench/http.rs
+++ b/cli/bench/http.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
use std::collections::HashMap;
use std::net::TcpStream;
diff --git a/cli/bench/http/deno_flash_hono_router.js b/cli/bench/http/deno_flash_hono_router.js
index 062c37cbf..baced0cec 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-2023 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2024 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 979b80bf4..bf8541f8b 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-2023 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2024 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 285bc9b1f..25aa89fb0 100644
--- a/cli/bench/http/deno_http_native.js
+++ b/cli/bench/http/deno_http_native.js
@@ -1,4 +1,4 @@
-// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2024 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_headers.js b/cli/bench/http/deno_http_native_headers.js
index 7c1eaa583..ff81b2e76 100644
--- a/cli/bench/http/deno_http_native_headers.js
+++ b/cli/bench/http/deno_http_native_headers.js
@@ -1,4 +1,4 @@
-// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2024 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 de9738c97..6fd3066df 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-2023 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2024 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_serve.js b/cli/bench/http/deno_http_serve.js
index 6d2cabd03..639982ce6 100644
--- a/cli/bench/http/deno_http_serve.js
+++ b/cli/bench/http/deno_http_serve.js
@@ -1,4 +1,4 @@
-// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2024 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 ebdced64b..22952f06e 100644
--- a/cli/bench/http/deno_post_bin.js
+++ b/cli/bench/http/deno_post_bin.js
@@ -1,4 +1,4 @@
-// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2024 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 5a905f8d5..a2c653efa 100644
--- a/cli/bench/http/deno_post_json.js
+++ b/cli/bench/http/deno_post_json.js
@@ -1,4 +1,4 @@
-// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2024 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 a7ce03e66..bac9ac497 100644
--- a/cli/bench/http/deno_tcp.ts
+++ b/cli/bench/http/deno_tcp.ts
@@ -1,4 +1,4 @@
-// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2024 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/lsp.rs b/cli/bench/lsp.rs
index 5f3bc50fc..28d6d3759 100644
--- a/cli/bench/lsp.rs
+++ b/cli/bench/lsp.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
use deno_core::serde::Deserialize;
use deno_core::serde_json;
diff --git a/cli/bench/lsp_bench_standalone.rs b/cli/bench/lsp_bench_standalone.rs
index bd89a5e31..9c4f264ec 100644
--- a/cli/bench/lsp_bench_standalone.rs
+++ b/cli/bench/lsp_bench_standalone.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
use deno_bench_util::bencher::benchmark_group;
use deno_bench_util::bencher::benchmark_main;
diff --git a/cli/bench/main.rs b/cli/bench/main.rs
index f8e3aa03f..415f66989 100644
--- a/cli/bench/main.rs
+++ b/cli/bench/main.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
use deno_core::error::AnyError;
use deno_core::serde_json;
diff --git a/cli/bench/napi/bench.js b/cli/bench/napi/bench.js
index 63215a217..d2aac63df 100644
--- a/cli/bench/napi/bench.js
+++ b/cli/bench/napi/bench.js
@@ -1,4 +1,4 @@
-// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
import { loadTestLibrary } from "../../../test_napi/common.js";
diff --git a/cli/bench/op_now.js b/cli/bench/op_now.js
index adc78d451..ba6be9c3a 100644
--- a/cli/bench/op_now.js
+++ b/cli/bench/op_now.js
@@ -1,4 +1,4 @@
-// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
const queueMicrotask = globalThis.queueMicrotask || process.nextTick;
let [total, count] = typeof Deno !== "undefined"
? Deno.args
diff --git a/cli/bench/secure_curves.js b/cli/bench/secure_curves.js
index 3ad9c004f..d1e909c4c 100644
--- a/cli/bench/secure_curves.js
+++ b/cli/bench/secure_curves.js
@@ -1,4 +1,4 @@
-// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
let [total, count] = typeof Deno !== "undefined"
? Deno.args
: [process.argv[2], process.argv[3]];
diff --git a/cli/bench/stdio/stdio.js b/cli/bench/stdio/stdio.js
index e53016df2..7f0e16b4a 100644
--- a/cli/bench/stdio/stdio.js
+++ b/cli/bench/stdio/stdio.js
@@ -1,4 +1,4 @@
-// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
//
// From https://github.com/just-js/benchmarks/tree/main/01-stdio
diff --git a/cli/bench/tcp.js b/cli/bench/tcp.js
index 6b9023951..b9f05e3a7 100644
--- a/cli/bench/tcp.js
+++ b/cli/bench/tcp.js
@@ -1,4 +1,4 @@
-// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
const listener = Deno.listen({ port: 4500 });
const response = new TextEncoder().encode(
diff --git a/cli/bench/tty.js b/cli/bench/tty.js
index f7e992093..62319c71f 100644
--- a/cli/bench/tty.js
+++ b/cli/bench/tty.js
@@ -1,4 +1,4 @@
-// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
const queueMicrotask = globalThis.queueMicrotask || process.nextTick;
let [total, count] = typeof Deno !== "undefined"
? Deno.args
diff --git a/cli/bench/url_parse.js b/cli/bench/url_parse.js
index 56d6fc484..c9b62107f 100644
--- a/cli/bench/url_parse.js
+++ b/cli/bench/url_parse.js
@@ -1,4 +1,4 @@
-// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
const queueMicrotask = globalThis.queueMicrotask || process.nextTick;
let [total, count] = typeof Deno !== "undefined"
? Deno.args
diff --git a/cli/bench/webstorage.js b/cli/bench/webstorage.js
index ceebc5e35..b200ef253 100644
--- a/cli/bench/webstorage.js
+++ b/cli/bench/webstorage.js
@@ -1,4 +1,4 @@
-// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
// Note: when benchmarking across different Deno version, make sure to clear
// the DENO_DIR cache.
diff --git a/cli/bench/write_file.js b/cli/bench/write_file.js
index b02d3eb56..ab1e2280e 100644
--- a/cli/bench/write_file.js
+++ b/cli/bench/write_file.js
@@ -1,4 +1,4 @@
-// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
const queueMicrotask = globalThis.queueMicrotask || process.nextTick;
let [total, count] = typeof Deno !== "undefined"
? Deno.args