summaryrefslogtreecommitdiff
path: root/cli/bench
diff options
context:
space:
mode:
authorYusuke Tanaka <yusuktan@maguro.dev>2021-01-12 02:13:41 +0900
committerGitHub <noreply@github.com>2021-01-11 18:13:41 +0100
commitd8fd71afdf0c5d62b7ae2b9eb7b877ca74f3c2e7 (patch)
treec8774388adbb9170058d71e924def93079b927f3 /cli/bench
parentd676b6c63ada85801673f0e691f8ba11e44e347a (diff)
chore: update copyright to 2021 (#9092)
Diffstat (limited to 'cli/bench')
-rw-r--r--cli/bench/deno_http_proxy.ts2
-rw-r--r--cli/bench/deno_tcp.ts2
-rw-r--r--cli/bench/deno_tcp_proxy.ts2
-rw-r--r--cli/bench/http.rs2
-rw-r--r--cli/bench/main.rs2
-rw-r--r--cli/bench/node_http.js2
-rw-r--r--cli/bench/node_http_proxy.js2
-rw-r--r--cli/bench/node_tcp.js2
-rw-r--r--cli/bench/node_tcp_promise.js2
-rw-r--r--cli/bench/node_tcp_proxy.js2
-rw-r--r--cli/bench/throughput.rs2
11 files changed, 11 insertions, 11 deletions
diff --git a/cli/bench/deno_http_proxy.ts b/cli/bench/deno_http_proxy.ts
index 6e5141377..990014831 100644
--- a/cli/bench/deno_http_proxy.ts
+++ b/cli/bench/deno_http_proxy.ts
@@ -1,4 +1,4 @@
-// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
import { serve, ServerRequest } from "../std/http/server.ts";
const addr = Deno.args[0] || "127.0.0.1:4500";
diff --git a/cli/bench/deno_tcp.ts b/cli/bench/deno_tcp.ts
index 09a21ee7e..a800a52a0 100644
--- a/cli/bench/deno_tcp.ts
+++ b/cli/bench/deno_tcp.ts
@@ -1,4 +1,4 @@
-// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
// Used for benchmarking Deno's networking.
// TODO Replace this with a real HTTP server once
// https://github.com/denoland/deno/issues/726 is completed.
diff --git a/cli/bench/deno_tcp_proxy.ts b/cli/bench/deno_tcp_proxy.ts
index d59c7d9e1..1a424cee5 100644
--- a/cli/bench/deno_tcp_proxy.ts
+++ b/cli/bench/deno_tcp_proxy.ts
@@ -1,4 +1,4 @@
-// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
// Used for benchmarking Deno's tcp proxy performance.
const addr = Deno.args[0] || "127.0.0.1:4500";
const originAddr = Deno.args[1] || "127.0.0.1:4501";
diff --git a/cli/bench/http.rs b/cli/bench/http.rs
index 0d2650721..cf70a78cc 100644
--- a/cli/bench/http.rs
+++ b/cli/bench/http.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
use super::Result;
use std::{
diff --git a/cli/bench/main.rs b/cli/bench/main.rs
index 012810c1f..c253df57f 100644
--- a/cli/bench/main.rs
+++ b/cli/bench/main.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
use deno_core::serde_json::{self, map::Map, Number, Value};
use std::{
diff --git a/cli/bench/node_http.js b/cli/bench/node_http.js
index 189098e4c..07a16db07 100644
--- a/cli/bench/node_http.js
+++ b/cli/bench/node_http.js
@@ -1,4 +1,4 @@
-// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2021 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/node_http_proxy.js b/cli/bench/node_http_proxy.js
index b984c484f..f97e3d5a8 100644
--- a/cli/bench/node_http_proxy.js
+++ b/cli/bench/node_http_proxy.js
@@ -1,4 +1,4 @@
-// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
const http = require("http");
const port = process.argv[2] || "4544";
const originPort = process.argv[3] || "4545";
diff --git a/cli/bench/node_tcp.js b/cli/bench/node_tcp.js
index 22e2a5161..f1211f827 100644
--- a/cli/bench/node_tcp.js
+++ b/cli/bench/node_tcp.js
@@ -1,4 +1,4 @@
-// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2021 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";
diff --git a/cli/bench/node_tcp_promise.js b/cli/bench/node_tcp_promise.js
index 36709d2b9..6f0b810e5 100644
--- a/cli/bench/node_tcp_promise.js
+++ b/cli/bench/node_tcp_promise.js
@@ -1,4 +1,4 @@
-// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2021 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";
diff --git a/cli/bench/node_tcp_proxy.js b/cli/bench/node_tcp_proxy.js
index 5f2c208b8..9f91679f8 100644
--- a/cli/bench/node_tcp_proxy.js
+++ b/cli/bench/node_tcp_proxy.js
@@ -1,4 +1,4 @@
-// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
const net = require("net");
process.on("uncaughtException", function (error) {
diff --git a/cli/bench/throughput.rs b/cli/bench/throughput.rs
index 611ccbcc3..78c9235fe 100644
--- a/cli/bench/throughput.rs
+++ b/cli/bench/throughput.rs
@@ -1,4 +1,4 @@
-// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
+// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
use super::Result;
use deno_core::serde_json::{Number, Value};