Skip to content

Commit

Permalink
Exact benchmark program running
Browse files Browse the repository at this point in the history
  • Loading branch information
samchon committed Nov 24, 2023
1 parent 908406c commit 55e3585
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
4 changes: 2 additions & 2 deletions packages/benchmark/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
"source-map-support": "^0.5.21",
"suppress-warnings": "^1.0.2",
"tstl": "^2.5.13",
"typia": "D:\\github\\samchon\\typia\\typia-5.3.0-dev.20231122.tgz",
"uuid": "^9.0.1"
"uuid": "^9.0.1",
"typia": "D:\\github\\samchon\\typia\\typia-5.3.0-dev.20231122.tgz"
}
}
4 changes: 1 addition & 3 deletions packages/benchmark/src/internal/BenchmarktReporter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -134,9 +134,7 @@ export namespace BenchmarkReporter {

async function get_package_version(): Promise<string> {
const content: string = await fs.promises.readFile(
EXTENSION === "ts"
? __dirname + "/../../package.json"
: __dirname + "/../../../package.json",
__dirname + "/../../../../package.json",
"utf8",
);
const data: { version: string } = JSON.parse(content);
Expand Down

0 comments on commit 55e3585

Please sign in to comment.