Skip to content

Commit

Permalink
build: updating js-logger to 3.0.0 and js-db to 5.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
emmacasolin committed Jul 25, 2022
1 parent ee0b9e2 commit 4789d8e
Show file tree
Hide file tree
Showing 14 changed files with 75 additions and 537 deletions.
1 change: 1 addition & 0 deletions benches/crypto_100KiB.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ async function main() {
await WorkerManager.createWorkerManager<EFSWorkerModule>({
workerFactory: () => spawn(new Worker('../src/workers/efsWorker')),
cores: 1,
logger,
});
const key = utils.generateKeySync(256);
const plain100KiB = utils.getRandomBytesSync(1024 * 100);
Expand Down
1 change: 1 addition & 0 deletions benches/crypto_10KiB.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ async function main() {
await WorkerManager.createWorkerManager<EFSWorkerModule>({
workerFactory: () => spawn(new Worker('../src/workers/efsWorker')),
cores: 1,
logger,
});
const key = utils.generateKeySync(256);
const plain10KiB = utils.getRandomBytesSync(1024 * 10);
Expand Down
1 change: 1 addition & 0 deletions benches/crypto_16KiB.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ async function main() {
await WorkerManager.createWorkerManager<EFSWorkerModule>({
workerFactory: () => spawn(new Worker('../src/workers/efsWorker')),
cores: 1,
logger,
});
const key = utils.generateKeySync(256);
const plain16KiB = utils.getRandomBytesSync(1024 * 16);
Expand Down
1 change: 1 addition & 0 deletions benches/crypto_1KiB.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ async function main() {
await WorkerManager.createWorkerManager<EFSWorkerModule>({
workerFactory: () => spawn(new Worker('../src/workers/efsWorker')),
cores,
logger,
});
const key = utils.generateKeySync(256);
const plain1KiB = utils.getRandomBytesSync(1024);
Expand Down
1 change: 1 addition & 0 deletions benches/crypto_1MiB.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ async function main() {
await WorkerManager.createWorkerManager<EFSWorkerModule>({
workerFactory: () => spawn(new Worker('../src/workers/efsWorker')),
cores: 1,
logger,
});
const key = utils.generateKeySync(256);
const plain1MiB = utils.getRandomBytesSync(1024 * 1024);
Expand Down
1 change: 1 addition & 0 deletions benches/crypto_24KiB.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ async function main() {
await WorkerManager.createWorkerManager<EFSWorkerModule>({
workerFactory: () => spawn(new Worker('../src/workers/efsWorker')),
cores: 1,
logger,
});
const key = utils.generateKeySync(256);
const plain24KiB = utils.getRandomBytesSync(1024 * 24);
Expand Down
1 change: 1 addition & 0 deletions benches/crypto_32KiB.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ async function main() {
await WorkerManager.createWorkerManager<EFSWorkerModule>({
workerFactory: () => spawn(new Worker('../src/workers/efsWorker')),
cores: 1,
logger,
});
const key = utils.generateKeySync(256);
const plain32KiB = utils.getRandomBytesSync(1024 * 32);
Expand Down
1 change: 1 addition & 0 deletions benches/db_1KiB.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ async function main() {
await WorkerManager.createWorkerManager<EFSWorkerModule>({
workerFactory: () => spawn(new Worker('../src/workers/efsWorker')),
cores: 1,
logger,
});
const dataDir = await fs.promises.mkdtemp(
path.join(os.tmpdir(), 'encryptedfs-benches-'),
Expand Down
1 change: 1 addition & 0 deletions benches/db_1MiB.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ async function main() {
await WorkerManager.createWorkerManager<EFSWorkerModule>({
workerFactory: () => spawn(new Worker('../src/workers/efsWorker')),
cores: 1,
logger,
});
const dataDir = await fs.promises.mkdtemp(
path.join(os.tmpdir(), 'encryptedfs-benches-'),
Expand Down
1 change: 1 addition & 0 deletions benches/db_24KiB.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ async function main() {
await WorkerManager.createWorkerManager<EFSWorkerModule>({
workerFactory: () => spawn(new Worker('../src/workers/efsWorker')),
cores: 1,
logger,
});
const dataDir = await fs.promises.mkdtemp(
path.join(os.tmpdir(), 'encryptedfs-benches-'),
Expand Down
Loading

0 comments on commit 4789d8e

Please sign in to comment.