File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : perf-bisect
2+
3+ on :
4+ push :
5+ branches :
6+ - " perf-bisect/**"
7+
8+ permissions :
9+ contents : read
10+
11+ jobs :
12+ guard :
13+ name : ${{ matrix.suite }} 3000 (run ${{ matrix.run }})
14+ runs-on : ubuntu-24.04
15+ timeout-minutes : 30
16+ strategy :
17+ fail-fast : false
18+ matrix :
19+ suite : [dense, cold]
20+ run : [1, 2]
21+ steps :
22+ - uses : actions/checkout@v4
23+ - uses : astral-sh/setup-uv@v5
24+ with :
25+ version : " 0.12.3"
26+ enable-cache : true
27+ cache-dependency-glob : |
28+ uv.lock
29+ Cargo.lock
30+ - uses : dtolnay/rust-toolchain@master
31+ with :
32+ toolchain : stable
33+ - name : Install Python
34+ run : uv python install 3.12
35+ - name : Install dependencies
36+ run : uv sync --locked --all-groups --all-extras
37+ - name : Run guard under 4 GiB
38+ env :
39+ MEMORY_LIMIT_BYTES : " 4294967296"
40+ SUITE : ${{ matrix.suite }}
41+ run : |
42+ sudo systemd-run \
43+ --unit="sqlbuild-bisect-${SUITE}-${GITHUB_RUN_ID}-${{ matrix.run }}" \
44+ --uid="$(id -u)" --gid="$(id -g)" --same-dir \
45+ --setenv="HOME=${HOME}" --setenv="PATH=${PATH}" \
46+ --setenv="SQLBUILD_REQUIRE_MEMORY_LIMIT_BYTES=${MEMORY_LIMIT_BYTES}" \
47+ --property="MemoryMax=${MEMORY_LIMIT_BYTES}" --property="MemorySwapMax=0" \
48+ --wait --collect --pipe \
49+ make "test-e2e-${SUITE}-compile-performance" SQLBUILD_BENCHMARK_MODELS=3000 || true
You can’t perform that action at this time.
0 commit comments