Skip to content

Commit

Permalink
Update expected results on benchmarks based on CI
Browse files Browse the repository at this point in the history
  • Loading branch information
PalumboN committed Jan 8, 2025
1 parent b324001 commit cfb9fc9
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions test/benchmarks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,13 @@ describe('Benchmarks', () => {
})
}

benchmark('empty', 3.5)
benchmark('visuals_1', 3.1)
benchmark('visuals_100', 2.6)
benchmark('ticks_1', 7.7)
benchmark('ticks_100', 430)
benchmark('onCollide_1', 7.5)
benchmark('onCollide_100', 440)
benchmark('empty', 6)
benchmark('visuals_1', 4)
benchmark('visuals_100', 4)
benchmark('ticks_1', 11)
benchmark('ticks_100', 637)
benchmark('onCollide_1', 11)
benchmark('onCollide_100', 675)

})
})
Expand Down

1 comment on commit cfb9fc9

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Benchmarks
flushEvents
✔ empty (8757ms)
1) visuals_1
✔ visuals_100 (8928ms)
✔ ticks_1 (7992ms)
✔ ticks_100 (78268ms)
✔ onCollide_1 (9291ms)
✔ onCollide_100 (60237ms)
┌─────────┬───────────────┬─────────────────┬────────────────────┬────────────┐
│ (index) │ message │ fqn │ time │ iterations │
├─────────┼───────────────┼─────────────────┼────────────────────┼────────────┤
│ 0 │ 'flushEvents' │ 'empty' │ 6.135844166665629 │ 30 │
│ 1 │ 'flushEvents' │ 'visuals_1' │ 4.726900600000712 │ 30 │
│ 2 │ 'flushEvents' │ 'visuals_100' │ 4.3803945666654425 │ 30 │
│ 3 │ 'flushEvents' │ 'ticks_1' │ 11.997058966664675 │ 30 │
│ 4 │ 'flushEvents' │ 'ticks_100' │ 648.0656737000003 │ 30 │
│ 5 │ 'flushEvents' │ 'onCollide_1' │ 11.454336233329377 │ 30 │
│ 6 │ 'flushEvents' │ 'onCollide_100' │ 683.5071804666693 │ 30 │
└─────────┴───────────────┴─────────────────┴────────────────────┴────────────┘

6 passing (3m)
1 failing

  1. Benchmarks
    flushEvents
    visuals_1:
    AssertionError: expected 4.726900600000712 to be close to 4 +/- 0.6
    at Context. (test/benchmarks.ts:37:24)

Please sign in to comment.