diff --git a/testss/misc/benchmark.test.ts b/testss/misc/benchmark.test.ts new file mode 100644 index 000000000..d941b9193 --- /dev/null +++ b/testss/misc/benchmark.test.ts @@ -0,0 +1,15 @@ +import { memoryBenchmarks } from "../../benchmarks/index.ts"; +import enableCachePlugin from "../../plugins/cache/mod.ts"; +import { loadBot } from "../mod.ts"; + +Deno.test({ + name: "[Memory] Benchmark memory tests", + fn: async (t) => { + const bot = enableCachePlugin(loadBot()); + + await memoryBenchmarks(bot, { + log: true, + table: true, + }); + }, +});