summaryrefslogtreecommitdiff
path: root/cli/bench
diff options
context:
space:
mode:
authorKenta Moriuchi <moriken@kimamass.com>2024-08-13 01:41:32 +0900
committerGitHub <noreply@github.com>2024-08-12 12:41:32 -0400
commit76f4f202e7be3835bd3d95af9e1c485a4b4695fe (patch)
treefdf6085120005aef57b9f6fa33082c51b5bf24b1 /cli/bench
parente5f0058b74245f909253e1c9b1e7e0087ef7701a (diff)
chore: update the copyright of c, mjs, and jsx (#25005)
Diffstat (limited to 'cli/bench')
-rw-r--r--cli/bench/fs/run.mjs2
-rw-r--r--cli/bench/fs/serve.jsx2
-rw-r--r--cli/bench/http/deno_reactdom_ssr_flash.jsx2
-rw-r--r--cli/bench/napi/bench_node.mjs2
-rw-r--r--cli/bench/stdio/stdio.c4
5 files changed, 8 insertions, 4 deletions
diff --git a/cli/bench/fs/run.mjs b/cli/bench/fs/run.mjs
index 727b4126c..94240f20d 100644
--- a/cli/bench/fs/run.mjs
+++ b/cli/bench/fs/run.mjs
@@ -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 = 5;
let current = "";
diff --git a/cli/bench/fs/serve.jsx b/cli/bench/fs/serve.jsx
index dff01c4b0..51125235f 100644
--- a/cli/bench/fs/serve.jsx
+++ b/cli/bench/fs/serve.jsx
@@ -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.
/** @jsx h */
import results from "./deno.json" assert { type: "json" };
diff --git a/cli/bench/http/deno_reactdom_ssr_flash.jsx b/cli/bench/http/deno_reactdom_ssr_flash.jsx
index c23748832..eaabf8912 100644
--- a/cli/bench/http/deno_reactdom_ssr_flash.jsx
+++ b/cli/bench/http/deno_reactdom_ssr_flash.jsx
@@ -1,3 +1,5 @@
+// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
+
import { renderToReadableStream } from "https://esm.run/react-dom/server";
import * as React from "https://esm.run/react";
const { serve } = Deno;
diff --git a/cli/bench/napi/bench_node.mjs b/cli/bench/napi/bench_node.mjs
index 82e06f08f..a772eeafa 100644
--- a/cli/bench/napi/bench_node.mjs
+++ b/cli/bench/napi/bench_node.mjs
@@ -1,3 +1,5 @@
+// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
+
import { bench, run } from "mitata";
import { createRequire } from "module";
diff --git a/cli/bench/stdio/stdio.c b/cli/bench/stdio/stdio.c
index f878c5b43..acce20799 100644
--- a/cli/bench/stdio/stdio.c
+++ b/cli/bench/stdio/stdio.c
@@ -1,5 +1,5 @@
+// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
// From https://github.com/just-js/benchmarks/tree/main/01-stdio
-// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
#include <stdlib.h>
#include <stdio.h>
@@ -26,4 +26,4 @@ int main(int argc, char *argv[]) {
exit(1);
}
fprintf(stdout, "size %lu reads %u blocksize %u\n", size, reads, blocksize);
-} \ No newline at end of file
+}