Skip to content

Commit e1cdddc

Browse files
art049CodSpeed Install Bot
authored andcommitted
libsql: add codspeed benchmarking in CI
1 parent 56330c8 commit e1cdddc

17 files changed

+71
-1607
lines changed

.github/workflows/benchmark.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: codspeed-benchmarks
2+
3+
on:
4+
# Run on pushes to the main branch
5+
push:
6+
branches:
7+
- "main"
8+
# Run on pull requests
9+
pull_request:
10+
# `workflow_dispatch` allows CodSpeed to trigger backtest
11+
# performance analysis in order to generate initial data.
12+
workflow_dispatch:
13+
14+
jobs:
15+
benchmarks:
16+
runs-on: ubuntu-latest
17+
steps:
18+
- uses: actions/checkout@v3
19+
- name: Setup rust toolchain, cache and cargo-codspeed binary
20+
uses: moonrepo/setup-rust@v0
21+
with:
22+
cache-target: release
23+
bins: cargo-codspeed
24+
25+
- name: Build the benchmark target(s)
26+
run: cargo codspeed build -p libsql
27+
28+
- name: Run the benchmarks
29+
uses: CodSpeedHQ/action@v2
30+
with:
31+
run: cargo codspeed run -p libsql

.github/workflows/brew-test.yml

Lines changed: 0 additions & 27 deletions
This file was deleted.

.github/workflows/c-bindings.yml

Lines changed: 0 additions & 78 deletions
This file was deleted.

.github/workflows/extensions-test.yml

Lines changed: 0 additions & 84 deletions
This file was deleted.

.github/workflows/golang-bindings.yml

Lines changed: 0 additions & 81 deletions
This file was deleted.

0 commit comments

Comments
 (0)