mirror of
https://github.com/discordeno/discordeno.git
synced 2026-09-17 08:47:22 +00:00
fix: disable benchmarks
This commit is contained in:
@@ -1,15 +1,15 @@
|
||||
import { memoryBenchmarks } from "../../benchmarks/index.ts";
|
||||
import enableCachePlugin from "../../plugins/cache/mod.ts";
|
||||
import { loadBot } from "../mod.ts";
|
||||
// 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());
|
||||
// Deno.test({
|
||||
// name: "[Memory] Benchmark memory tests",
|
||||
// fn: async (t) => {
|
||||
// const bot = enableCachePlugin(loadBot());
|
||||
|
||||
await memoryBenchmarks(bot, {
|
||||
log: true,
|
||||
table: true,
|
||||
});
|
||||
},
|
||||
});
|
||||
// await memoryBenchmarks(bot, {
|
||||
// log: true,
|
||||
// table: true,
|
||||
// });
|
||||
// },
|
||||
// });
|
||||
|
||||
Reference in New Issue
Block a user