From 3d423e114e46f206ad2c6bfa5dfcb22094c5d2f6 Mon Sep 17 00:00:00 2001 From: David Sherret Date: Fri, 13 Jan 2023 13:42:15 -0500 Subject: chore: small cleanup of scripts in ./tools and run copyright checker in lint.js (#17393) --- tools/bench/mod.js | 2 ++ tools/bench/rebench.js | 2 ++ tools/bench/rebootstrap.js | 2 ++ 3 files changed, 6 insertions(+) (limited to 'tools/bench') diff --git a/tools/bench/mod.js b/tools/bench/mod.js index 685834281..9d90818a5 100644 --- a/tools/bench/mod.js +++ b/tools/bench/mod.js @@ -1,2 +1,4 @@ +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. + export * from "./rebench.js"; export * from "./rebootstrap.js"; diff --git a/tools/bench/rebench.js b/tools/bench/rebench.js index bbc5a3c2f..7d77a79cd 100644 --- a/tools/bench/rebench.js +++ b/tools/bench/rebench.js @@ -1,3 +1,5 @@ +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. + export function benchSync(name, n, innerLoop) { const t1 = Date.now(); for (let i = 0; i < n; i++) { diff --git a/tools/bench/rebootstrap.js b/tools/bench/rebootstrap.js index 6090843d8..0e94285d5 100644 --- a/tools/bench/rebootstrap.js +++ b/tools/bench/rebootstrap.js @@ -1,3 +1,5 @@ +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. + import { dirname, fromFileUrl, join } from "../../test_util/std/path/mod.ts"; import { expandGlobSync } from "../../test_util/std/fs/mod.ts"; -- cgit v1.2.3