mirror of
https://github.com/krgamestudios/Toy.git
synced 2026-04-15 14:54:07 +10:00
Benchmarked and tweaked Toy_Table, read more
I read the DOOM 1 source code and found a neat trick to replace modulo. YOINK!!!
This commit is contained in:
24
.github/workflows/benchmarks.yml
vendored
24
.github/workflows/benchmarks.yml
vendored
@@ -1,24 +0,0 @@
|
||||
name: Benchmarks
|
||||
|
||||
#trigger when these occur
|
||||
on:
|
||||
workflow_dispatch:
|
||||
|
||||
#Benchmarks are currently only supported on one platform
|
||||
jobs:
|
||||
run-test-cases:
|
||||
continue-on-error: true
|
||||
strategy:
|
||||
matrix:
|
||||
platforms:
|
||||
- { os: ubuntu-latest, preinstall: sudo apt-get install time }
|
||||
commands:
|
||||
- { exec: make -C tests/benchmarks -k }
|
||||
|
||||
runs-on: ${{ matrix.platforms.os }}
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Preinstall dependencies
|
||||
run: ${{ matrix.platforms.preinstall }}
|
||||
- name: run the tests
|
||||
run: ${{ matrix.commands.exec }}
|
||||
26
.github/workflows/continuous-integration-v2.yml
vendored
26
.github/workflows/continuous-integration-v2.yml
vendored
@@ -60,27 +60,5 @@ jobs:
|
||||
- name: run the tests
|
||||
if: (matrix.commands.gdb == true && matrix.platforms.gdb_enabled == false) != true
|
||||
run: ${{ matrix.commands.exec }}
|
||||
|
||||
run-test-benchmarks:
|
||||
if: false #Not ready yet
|
||||
needs: run-test-integrations
|
||||
continue-on-error: true
|
||||
strategy:
|
||||
matrix:
|
||||
platforms:
|
||||
- { os: ubuntu-latest, preinstall: sudo apt-get install gdb, gdb_enabled: true }
|
||||
- { os: windows-latest, preinstall: , gdb_enabled: true }
|
||||
- { os: macos-latest, preinstall: , gdb_enabled: false }
|
||||
commands:
|
||||
- { exec: make test-benchmarks, gdb: false }
|
||||
- { exec: make test-benchmarks-gdb, gdb: true }
|
||||
|
||||
runs-on: ${{ matrix.platforms.os }}
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Preinstall dependencies
|
||||
if: (matrix.commands.gdb == true && matrix.platforms.gdb_enabled == false) != true
|
||||
run: ${{ matrix.platforms.preinstall }}
|
||||
- name: run the tests
|
||||
if: (matrix.commands.gdb == true && matrix.platforms.gdb_enabled == false) != true
|
||||
run: ${{ matrix.commands.exec }}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user