Skip to content

Commit

Permalink
Change m -> ms
Browse files Browse the repository at this point in the history
  • Loading branch information
sondr3 committed Dec 29, 2022
1 parent 4b4ca3c commit 341fd5c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/compress.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export const gzip = async (dir: URL): Promise<void> => {
}

const end = hrtime.bigint();
Logger.success(`finished gzip of ${counter} files in ${(end - start) / 1000000n}m`);
Logger.success(`finished gzip of ${counter} files in ${(end - start) / 1000000n}ms`);
};

export const brotli = async (dir: URL): Promise<void> => {
Expand All @@ -54,5 +54,5 @@ export const brotli = async (dir: URL): Promise<void> => {
}

const end = hrtime.bigint();
Logger.success(`finished brotli of ${counter} files in ${(end - start) / 1000000n}m`);
Logger.success(`finished brotli of ${counter} files in ${(end - start) / 1000000n}ms`);
};

0 comments on commit 341fd5c

Please sign in to comment.