Skip to content

fix(bytecode reader): page numbers weren't correctly counted in --onl… #237

fix(bytecode reader): page numbers weren't correctly counted in --onl…

fix(bytecode reader): page numbers weren't correctly counted in --onl… #237

Workflow file for this run

name: CodSpeed
on:
push:
branches: [ dev ]
pull_request:
# `workflow_dispatch` allows CodSpeed to trigger backtest
# performance analysis in order to generate initial data.
workflow_dispatch:
jobs:
benchmarks:
name: Run benchmarks
runs-on: ubuntu-24.04
steps:
- name: Checkout ArkScript
uses: actions/checkout@v5
with:
submodules: recursive
- name: Setup compilers and tools
shell: bash
run: |
sudo apt-get install -y clang-16 lld-16 libc++-16-dev libc++abi-16-dev clang-tools-16
- name: Build the benchmark target
run: |
cmake -Bbuild \
-DCMAKE_BUILD_TYPE=RelWithDebInfo -DCODSPEED_MODE=instrumentation \
-DARK_BENCHMARKS=On -DARK_BENCHMARKS_CODSPEED=On \
-DCMAKE_C_COMPILER=clang-16 -DCMAKE_CXX_COMPILER=clang++-16 \
-DARK_SANITIZERS=Off -DARK_BUILD_EXE=Off -DARK_BUILD_MODULES=Off \
-DARK_UNITY_BUILD=On
cmake --build build --config RelWithDebInfo -- -j 4
- name: Run the benchmarks
uses: CodSpeedHQ/action@c6574d0c2a990bca2842ce9af71549c5bfd7fbe0 # v4.2.1
with:
run: ./build/bench
token: ${{ secrets.CODSPEED_TOKEN }}
mode: instrumentation