mirror of
https://github.com/discordeno/discordeno.git
synced 2026-06-04 01:40:08 +00:00
16 lines
370 B
TypeScript
16 lines
370 B
TypeScript
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,
|
|
});
|
|
},
|
|
});
|