Skip to content

Commit

Permalink
update bench placeholder tests
Browse files Browse the repository at this point in the history
  • Loading branch information
holomorfo committed Dec 16, 2024
1 parent 528e05f commit 6cb2b19
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion test/bench/poc.bench_.js → test/bench/poc.bench.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { bench, describe } from "vitest";

describe.skip("sort", () => {
describe.only("sort", () => {
bench(
"normal",
() => {
Expand Down
5 changes: 3 additions & 2 deletions test/bench/rendering.bench.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ describe("Rendering bench test", () => {
myp5.createCanvas(13, 15);
myp5.fill(0, 100, 0);
myp5.rect(20, 20, 20, 20);
for (let i = 0; i < 1000; i++) {
for (let i = 0; i < 10000; i++) {
myp5.rect(20, 20, 20, 20);
}

Expand Down Expand Up @@ -100,7 +100,8 @@ describe("Rendering bench test", () => {
options
);
});
describe("Another suire", () => {

describe("Another suite", () => {
bench(
"normal v2",
async () => {
Expand Down

0 comments on commit 6cb2b19

Please sign in to comment.