Skip to content

Commit

Permalink
Testing workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
PalumboN committed Jan 7, 2025
1 parent 12dae40 commit 7388521
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/benchmarks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,9 @@ jobs:
- name: Read benchmark results
run: |
message=$(cat bench-results.txt)
message=$(echo $message | tr '\n' ' ')
echo "RESULTS=$message" >> $GITHUB_OUTPUT
echo 'RESULTS<<EOF' >> $GITHUB_OUTPUT
echo $message >> $GITHUB_OUTPUT
echo 'EOF' >> $GITHUB_OUTPUT
id: benchmarks
continue-on-error: true

Expand Down

1 comment on commit 7388521

@github-actions
Copy link

Choose a reason for hiding this comment

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

Benchmark Results

> [email protected] test:benchmarks > mocha -t 100000 -r ts-node/register/transpile-only test/benchmarks.ts Benchmarks flushEvents 1) empty 2) visuals_1 3) visuals_100 4) ticks_1 5) ticks_100 6) onCollide_1 7) onCollide_100 ┌─────────┬───────────────┬─────────────────┬────────────────────┬────────────┐ │ (index) │ message │ fqn │ time │ iterations │ ├─────────┼───────────────┼─────────────────┼────────────────────┼────────────┤ │ 0 │ 'flushEvents' │ 'empty' │ 0.7535216999996919 │ 30 │ │ 1 │ 'flushEvents' │ 'visuals_1' │ 0.6215418333304115 │ 30 │ │ 2 │ 'flushEvents' │ 'visuals_100' │ 0.508674099999674 │ 30 │ │ 3 │ 'flushEvents' │ 'ticks_1' │ 1.500556299998425 │ 30 │ │ 4 │ 'flushEvents' │ 'ticks_100' │ 72.24347936666648 │ 30 │ │ 5 │ 'flushEvents' │ 'onCollide_1' │ 1.3554951333334126 │ 30 │ │ 6 │ 'flushEvents' │ 'onCollide_100' │ 77.14977646667006 │ 30 │ └─────────┴───────────────┴─────────────────┴────────────────────┴────────────┘ 0 passing (2m) 7 failing 1) Benchmarks flushEvents empty: AssertionError: expected 0.7535216999996919 to be close to 0.55 +/- 0.1 at Context.<anonymous> (test/benchmarks.ts:37:24) 2) Benchmarks flushEvents visuals_1: AssertionError: expected 0.6215418333304115 to be close to 0.4 +/- 0.1 at Context.<anonymous> (test/benchmarks.ts:37:24) 3) Benchmarks flushEvents visuals_100: AssertionError: expected 0.508674099999674 to be close to 0.3 +/- 0.1 at Context.<anonymous> (test/benchmarks.ts:37:24) 4) Benchmarks flushEvents ticks_1: AssertionError: expected 1.500556299998425 to be close to 0.8 +/- 0.1 at Context.<anonymous> (test/benchmarks.ts:37:24) 5) Benchmarks flushEvents ticks_100: AssertionError: expected 72.24347936666648 to be close to 44 +/- 4.4 at Context.<anonymous> (test/benchmarks.ts:37:24) 6) Benchmarks flushEvents onCollide_1: AssertionError: expected 1.3554951333334126 to be close to 0.8 +/- 0.1 at Context.<anonymous> (test/benchmarks.ts:37:24) 7) Benchmarks flushEvents onCollide_100: AssertionError: expected 77.14977646667006 to be close to 44 +/- 4.4 at Context.<anonymous> (test/benchmarks.ts:37:24)
----
Object

Please sign in to comment.