diff options
author | David Sherret <dsherret@users.noreply.github.com> | 2023-01-13 13:42:15 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-13 13:42:15 -0500 |
commit | 3d423e114e46f206ad2c6bfa5dfcb22094c5d2f6 (patch) | |
tree | 2bc1e25c9703128cd0b0ceccea63f659750226f2 /tools/bench | |
parent | 377f59327344bbb4f37b2eec189ae981a9a9db45 (diff) |
chore: small cleanup of scripts in ./tools and run copyright checker in lint.js (#17393)
Diffstat (limited to 'tools/bench')
-rw-r--r-- | tools/bench/mod.js | 2 | ||||
-rw-r--r-- | tools/bench/rebench.js | 2 | ||||
-rw-r--r-- | tools/bench/rebootstrap.js | 2 |
3 files changed, 6 insertions, 0 deletions
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"; |