mirror of
https://github.com/discordeno/discordeno.git
synced 2026-06-01 16:30:08 +00:00
bench: add cpu correction (#2572)
* feat: add cpu correction * feat: add more bench * fix: cpu correction * chore: add comment * fix: add unstable to tranform * fix: comment message * deno fmt
This commit is contained in:
4
.github/workflows/benchmark.yml
vendored
4
.github/workflows/benchmark.yml
vendored
@@ -17,10 +17,12 @@ jobs:
|
||||
# this is the performance benchmark
|
||||
- name: Cache deps
|
||||
run: deno cache performance/mod.ts
|
||||
- name: Download sysbench
|
||||
run: sudo apt-get install -y sysbench
|
||||
- name: Run Benchmark
|
||||
run: NO_COLOR=true deno bench --unstable -A performance/mod.ts | tee output.txt
|
||||
- name: Format Benchmark Output
|
||||
run: deno run -A performance/tranformOutput.ts
|
||||
run: deno run --unstable -A performance/tranformOutput.ts
|
||||
|
||||
# this is the memory benchmark
|
||||
- name: Download db from benchmark repo
|
||||
|
||||
Reference in New Issue
Block a user