Skip to content

Fix link to gopxl/pixel v2 in readme #1127

Fix link to gopxl/pixel v2 in readme

Fix link to gopxl/pixel v2 in readme #1127

Workflow file for this run

name: Benchmarks
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
benchmarks:
name: Run benchmarks
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup Go
uses: actions/setup-go@v3
with:
go-version: '1.21.x'
- name: Install dependencies
run: go get .
- name: Run internal benchmarks
run: |
go test -benchmem -run=^$ -bench ^.*$ ./...
- name: Run Arche benchmarks
run: |
cd benchmark
go test -benchmem -run=^$ -bench ^.*$ ./arche/...
competition:
name: Run competition
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup Go
uses: actions/setup-go@v3
with:
go-version: '1.21.x'
- name: Install dependencies
run: go get .
- name: Benchmark vs. Array of Structs
run: |
cd benchmark
go test -benchmem -run=^$ -bench ^.*$ ./competition/array_of_structs/...
- name: Benchmark entity relations
run: |
cd benchmark
go test -benchmem -run=^$ -bench ^.*$ ./competition/relations/...
- name: Benchmark vs. other ECS impl.
run: |
cd benchmark
go test -benchmem -run=^$ -bench ^.*$ ./competition/pos_vel/... --count 5
go test -benchmem -run=^$ -bench ^.*$ ./competition/add_remove/... --count 5