From 98299f6b9357a9eea222b6bddf215762906f09c7 Mon Sep 17 00:00:00 2001 From: Dzmitry Malyshau Date: Tue, 7 Nov 2023 22:46:25 -0800 Subject: [PATCH] Release v0.7 --- CHANGELOG.md | 2 +- Cargo.toml | 4 ++-- README.md | 11 +++++++---- 3 files changed, 10 insertions(+), 7 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 44e9ae1..2096517 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ # Change Log -## v0.7 (TBD) +## v0.7 (07-11-2023) - make `join()` to work with `&self` - reimplement `join()` in a robust way - remove non-static tasks diff --git a/Cargo.toml b/Cargo.toml index 6336010..e238097 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "choir" -version = "0.6.0" +version = "0.7.0" edition = "2021" description = "Task Orchestration Framework" license = "MIT" @@ -24,6 +24,6 @@ log = "0.4" profiling = "1" [dev-dependencies] -criterion = "0.4" +criterion = "0.5" env_logger = "0.9" num_cpus = "1" diff --git a/README.md b/README.md index 888b3b0..f778e49 100644 --- a/README.md +++ b/README.md @@ -39,12 +39,15 @@ This object also allows adding dependencies before scheduling the task. The runn Note that all tasks are pre-empted at the `Fn()` execution boundary. Thus, for example, a long-running multi task will be pre-empted by any incoming single-run tasks. +## Users + +[Blade](https://github.com/kvark/blade) heavily relies on Choir for parallelizing the asset loading. See [blade-asset talk](https://youtu.be/1DiA3OYqvqU) at Rust Gamedev meetup for details. + ### TODO: - - loop detection - - heavy use case - - loom testing + - detect when dependencies aren't set up correctly + - test with [Loom](https://github.com/tokio-rs/loom): blocked by https://github.com/crossbeam-rs/crossbeam/pull/849 -## Rough numbers +## Overhead Machine: MBP 2016, 3.3 GHz Dual-Core Intel Core i7