Skip to content
Merged

Dev #59

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 12 additions & 12 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v6
uses: actions/checkout@v7
- name: CI Job
shell: bash
run: |
Expand All @@ -30,7 +30,7 @@
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v6
uses: actions/checkout@v7
with:
lfs: "true"
- name: Build & Test
Expand Down Expand Up @@ -103,7 +103,7 @@
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v6
uses: actions/checkout@v7
- name: Build & Test
shell: bash
env:
Expand Down Expand Up @@ -141,7 +141,7 @@
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v6
uses: actions/checkout@v7
- name: Build & Test
shell: pwsh
env:
Expand All @@ -165,20 +165,20 @@
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v6
uses: actions/checkout@v7
- name: Build & Test
shell: bash
env:
BUILD_SHARED_LIBS: ${{ matrix.build_shared_libs }}
run: |
C:/msys64/msys2_shell.cmd -mingw64 -defterm -no-start -here -lc "ci/do_ci.sh msys2.mingw.test"
- name: Cache packages
uses: actions/cache@v5
uses: actions/cache@v6
with:
path: |
C:/msys64/var/cache/pacman/pkg
C:/msys64/var/lib/pacman
key: ${{ runner.os }}-${ hashFiles('.github/workflows/main.yml') } }}
key: ${{ runner.os }}-${{ hashFiles('.github/workflows/main.yml') }}
coverage: # job id, can be any string
name: Coverage
# This job runs on Linux
Expand All @@ -192,7 +192,7 @@
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v6
uses: actions/checkout@v7
- name: Generate coverage
shell: bash
env:
Expand All @@ -209,7 +209,7 @@
fi
bash ci/do_ci.sh coverage ;
- name: Uploaded code coverage
uses: codecov/codecov-action@v5
uses: codecov/codecov-action@v7
with:
token: ${{secrets.CODECOV_TOKEN}} # not required for public repos
fail_ci_if_error: true
Expand All @@ -230,7 +230,7 @@
security-events: write
steps:
- name: Checkout
uses: actions/checkout@v6
uses: actions/checkout@v7
- name: Build
shell: bash
env:
Expand All @@ -240,7 +240,7 @@
run: |
bash ci/do_ci.sh codeql.configure
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
uses: github/codeql-action/init@v4
with:
config-file: ./.github/codeql/codeql-config.yml
- name: Build
Expand All @@ -252,6 +252,6 @@
run: |
bash ci/do_ci.sh codeql.build
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
uses: github/codeql-action/analyze@v4
with:
category: "/language:cpp"
2 changes: 1 addition & 1 deletion .github/workflows/stale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v9
- uses: actions/stale@v11
with:
stale-issue-message: "This issue was marked as stale due to lack of activity."
days-before-issue-stale: 90
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v6
uses: actions/checkout@v7
with:
fetch-depth: 200
lfs: "true"
Expand Down
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
# CHANGELOG

## 2.3.3

1. Resume multiple callers of `promise_caller_manager` (C++20 coroutine) and `stackful_channel_context_base`
(stackful channel) in registration (FIFO) order instead of hash order. The multi-caller containers are now a
dual index of an order-preserving list and a hash map, so waiters queued behind the same task or channel wake
in the order they registered, matching the legacy stackful `next_list` behavior, while dedup-on-add and
passive removal stay O(1). Duplicate registrations of the same handle are now also ignored when
`LIBCOPP_MACRO_ENABLE_STD_VARIANT` is off. FIFO order and deduplication are preserved when the first caller
is removed and callers are registered again.
2. Update dependencies.
3. Update benchmark results.

## 2.3.2

1. Rewrite document.
Expand Down
2 changes: 1 addition & 1 deletion atframework/cmake-toolset
4 changes: 2 additions & 2 deletions docs/benchmarks/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Benchmarks

This section summarizes the stress test reports captured in `docs/reports` and provides the raw logs for reference.
This section summarizes the benchmark reports captured in `docs/reports` and provides the raw logs for reference.

## How to run

Expand All @@ -18,5 +18,5 @@ This section summarizes the stress test reports captured in `docs/reports` and p

## Summary

- Each report measures allocate/create/switch/remove cycles for coroutine contexts and tasks with different stack allocators.
- Each report measures allocate/create/switch/remove cycles for stackful coroutine contexts and cotask tasks (with different stack allocators), as well as C++20 std coroutine callable/task generator benchmarks.
- Use the raw logs below for precise numbers and environment details.
9 changes: 5 additions & 4 deletions docs/benchmarks/linux.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,12 @@

## Summary

- Environment: Linux 3.14.3-200.fc20.x86_64 (gcc 4.8.2)
- CPU: AMD Phenom(tm) II X4 830 Processor (800MHz- 2800MHz)
- Memory: 8GB DDR3-1333
- Environment: GitHub Actions `ubuntu-latest` (Ubuntu 24.04), gcc 13.3.0
- CPU: GitHub-hosted runner (4 vCPU)
- Memory: 16 GB
- Build type: RelWithDebInfo
- Thread number: 1, stack memory cost 2.0GB
- Thread number: 1
- Source: [CI run 34942431606](https://github.com/owent/libcopp/actions/runs/34942431606) — job "Unix Build (gcc, ON)"

## Raw report

Expand Down
11 changes: 6 additions & 5 deletions docs/benchmarks/windows.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,12 @@

## Summary

- Environment: Windows 7, Visual Studio 2013 (VC 18)
- CPU: AMD Phenom(tm) II X4 830 Processor (800MHz- 2800MHz)
- Memory: 8GB DDR3-1333
- Build type: Release
- Thread number: 1, stack memory cost 2.0GB
- Environment: GitHub Actions `windows-latest`, MinGW-w64 gcc 16.2.0
- CPU: GitHub-hosted runner (4 vCPU)
- Memory: 16 GB
- Build type: RelWithDebInfo
- Thread number: 1
- Source: [CI run 34942431606](https://github.com/owent/libcopp/actions/runs/34942431606) — job "MinGW Build (ON)". The MSVC (Visual Studio 17 2022) job logs were truncated by GitHub, so MinGW-w64 results are shown.

## Raw report

Expand Down
Loading
Loading