Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion benchmark/profile-extract.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import fs from 'node:fs';
import path from 'node:path';
import os from 'node:os';
import { generateFixture, FIXTURES } from './generate-fixtures.js';
import { generateFixture, FIXTURES } from './generate-fixtures.ts';
import { createPackage, extractAll, uncache } from '../lib/asar.js';
import { readArchiveHeaderSync, readFilesystemSync } from '../lib/disk.js';

Expand Down
2 changes: 1 addition & 1 deletion benchmark/profile-memory.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import fs from 'node:fs';
import path from 'node:path';
import os from 'node:os';
import { generateFixture, formatBytes, FIXTURES } from './generate-fixtures.js';
import { generateFixture, formatBytes, FIXTURES } from './generate-fixtures.ts';
import { createPackage, createPackageFromFiles } from '../lib/asar.js';
import { crawl } from '../lib/crawlfs.js';

Expand Down
2 changes: 1 addition & 1 deletion benchmark/profile-pack.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import fs from 'node:fs';
import path from 'node:path';
import os from 'node:os';
import crypto from 'node:crypto';
import { generateFixture, FIXTURES } from './generate-fixtures.js';
import { generateFixture, FIXTURES } from './generate-fixtures.ts';

const config = FIXTURES.find((f) => f.name === 'many-small-files')!;
const fixtureDir = generateFixture(config);
Expand Down
2 changes: 1 addition & 1 deletion benchmark/profile.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import fs from 'node:fs';
import path from 'node:path';
import os from 'node:os';
import { generateFixture, FIXTURES } from './generate-fixtures.js';
import { generateFixture, FIXTURES } from './generate-fixtures.ts';
import { crawl } from '../lib/crawlfs.js';
import { createPackageFromFiles, extractAll, uncache } from '../lib/asar.js';

Expand Down
2 changes: 1 addition & 1 deletion benchmark/run.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import {
} from '../lib/asar.js';
import { crawl } from '../lib/crawlfs.js';
import { getFileIntegrity } from '../lib/integrity.js';
import { FIXTURES, generateFixture, formatBytes, type FixtureConfig } from './generate-fixtures.js';
import { FIXTURES, generateFixture, formatBytes, type FixtureConfig } from './generate-fixtures.ts';

// ─── Benchmark harness ───────────────────────────────────────────────

Expand Down
5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@
"test:ui": "vitest --ui",
"lint": "oxfmt --check . && oxlint",
"lint:fix": "oxfmt --write . && oxlint --fix",
"benchmark": "yarn build && tsx benchmark/run.ts",
"benchmark:quick": "yarn build && tsx benchmark/run.ts small",
"benchmark": "yarn build && node --experimental-strip-types benchmark/run.ts",
"benchmark:quick": "yarn build && node --experimental-strip-types benchmark/run.ts small",
"prepack": "yarn build",
"prepare": "husky"
},
Expand All @@ -52,7 +52,6 @@
"oxfmt": "^0.44.0",
"oxlint": "^1.59.0",
"oxlint-tsgolint": "^0.20.0",
"tsx": "^4.21.0",
"typedoc": "~0.28.0",
"typescript": "^6.0.2",
"vite": "^8.0.16",
Expand Down
Loading
Loading