Skip to content

Commit

Permalink
fix typo for cache
Browse files Browse the repository at this point in the history
  • Loading branch information
kamecha committed Aug 9, 2024
1 parent 310cd9d commit 3f1160f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions denops/traqvim/message_bench.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ for (const message of messages) {
console.log("stamps length:", message.stamps.length);
}

Deno.bench("user & stamp chache", async (b: Deno.BenchContext) => {
Deno.bench("user & stamp cache", async (b: Deno.BenchContext) => {
const userCache: Record<string, traq.User> = {};
const stampCache: Record<string, traq.Stamp> = {};
b.start();
Expand Down Expand Up @@ -72,7 +72,7 @@ Deno.bench("stamp cache", async (b: Deno.BenchContext) => {
b.end();
});

Deno.bench("user chache", async (b: Deno.BenchContext) => {
Deno.bench("user cache", async (b: Deno.BenchContext) => {
const userCache: Record<string, traq.User> = {};
b.start();
for (const message of messages) {
Expand All @@ -86,7 +86,7 @@ Deno.bench("user chache", async (b: Deno.BenchContext) => {
b.end();
});

Deno.bench("no chache", async (b: Deno.BenchContext) => {
Deno.bench("no cache", async (b: Deno.BenchContext) => {
b.start();
for (const message of messages) {
for (const stamp of message.stamps) {
Expand Down

0 comments on commit 3f1160f

Please sign in to comment.