Skip to content

Commit 37e60ea

Browse files
committed
Move benchmark example maps into sub-directory
1 parent d1f5080 commit 37e60ea

10 files changed

+2
-2
lines changed

bench/decode.bench.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import { decode, DecodeMode } from "../src/mod.ts";
1010
const BENCHMARKS = await (async () => {
1111
const result = [];
1212
for await (
13-
const file of expandGlob("*.js.map", { root: import.meta.dirname })
13+
const file of expandGlob("maps/*.js.map", { root: import.meta.dirname })
1414
) {
1515
const mapContent = Deno.readTextFileSync(file.path);
1616
const mapJson = JSON.parse(mapContent);

bench/encode.bench.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import { decode, encode } from "../src/mod.ts";
1010
const BENCHMARKS = await (async () => {
1111
const result = [];
1212
for await (
13-
const file of expandGlob("*.js.map", { root: import.meta.dirname })
13+
const file of expandGlob("maps/*.js.map", { root: import.meta.dirname })
1414
) {
1515
const mapContent = Deno.readTextFileSync(file.path);
1616
const mapJson = JSON.parse(mapContent);
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)