Skip to content

Commit

Permalink
chore: fix benchmark script (#111)
Browse files Browse the repository at this point in the history
  • Loading branch information
SuperchupuDev authored Aug 25, 2024
1 parent 307c641 commit fe59dd9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions benchmarks/fdir-benchmark.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import child_process from "child_process";
import { Fdir } from "../index";
import { Fdir } from "../src/index";
import b from "benny";

type Version = typeof versions[number] | "current";
Expand Down Expand Up @@ -32,7 +32,7 @@ function addSuite(instance: Fdir, version: Version) {
}

async function fillSuites() {
const { fdir } = await import("../index");
const { fdir } = await import("../src/index");
addSuite(fdir, "current");

versions.forEach((version) => {
Expand Down
2 changes: 1 addition & 1 deletion benchmarks/glob-benchmark.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { fdir } from "../index";
import { fdir } from "../src/index";
import { glob, globSync } from "glob";
import fg from "fast-glob";
import tg from "tiny-glob";
Expand Down

0 comments on commit fe59dd9

Please sign in to comment.