Skip to content

Commit

Permalink
Update ChangeLog for Release1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
ChuanqiXu9 committed Apr 23, 2023
1 parent 3dc11d8 commit 19e8eaa
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,30 @@
2023-4-23 Release Notes
* 1.1 Released
* SimpleExecutor will execute all the scheduled task before destructing
* `co_awit` a lvalue Future is deprected now. We should move the future explicitly before `co_awit`.

This comment has been minimized.

Copy link
@tchaikov

tchaikov Apr 23, 2023

Contributor

@ChuanqiXu9 seems like a typo?

This comment has been minimized.

Copy link
@ChuanqiXu9

ChuanqiXu9 Apr 24, 2023

Author Collaborator

Yeah. Thank you!

* Use std::variant instead of union in Try
* Provided future<void> and promise<void>
* Added `value()` and `index()` interfaces to `CollectAnyResult`
* Added `future::then` interface
* Added `coro::Latch`
* Added `coro::Semaphore`
* Added Generator
* Added start_switch_fiber and finish_switch_fiber for uthread to enable address sanitizer
* Force RescheduleLazy to be allowed in DetachedCoroutine only
* Added C++20 modules support
* Added the second version of uthread::async
* Added Mutex benchmark
* Added SpinLock benchmark
* Added multiple core echo server example
* Added AsioCallbackAwaiter
* Added ppc64_le support for uthread
* Improved bazel support
* Added support for macos
* Added support for windows
* Added ubuntu and centos7 Dockerfile
* Fixed several compile failures


2022-11-11
* SimpleExecutor will execute all the scheduled task before destructing
* `co_awit` a lvalue Future is deprected now. We should move the future explicitly before `co_awit`.
Expand Down

1 comment on commit 19e8eaa

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

C++ Benchmark

Benchmark suite Current: 19e8eaa Previous: 3dc11d8 Ratio
SpinLock_coroutine_lock_bench 804528.2966507075 ns/iter 719583.3815967274 ns/iter 1.12
SpinLock_thread_lock_bench 820415.3206666737 ns/iter 851884.0199724607 ns/iter 0.96
SpinLock_diff_spin_count_bench/32/iterations:3 805434.666669195 ns/iter 444392.00000094087 ns/iter 1.81
SpinLock_diff_spin_count_bench/64/iterations:3 453133.9999971351 ns/iter 526057.000001856 ns/iter 0.86
SpinLock_diff_spin_count_bench/128/iterations:3 392867.33333672903 ns/iter 595222.6666560515 ns/iter 0.66
SpinLock_diff_spin_count_bench/256/iterations:3 546467.333331672 ns/iter 334760.6666655641 ns/iter 1.63
SpinLock_diff_spin_count_bench/512/iterations:3 371666.9999960232 ns/iter 403526.33332455903 ns/iter 0.92
SpinLock_diff_spin_count_bench/1024/iterations:3 400600.33333588764 ns/iter 358027.0000043129 ns/iter 1.12
SpinLock_diff_spin_count_bench/2048/iterations:3 376500.3333361013 ns/iter 415592.6666650581 ns/iter 0.91
Mutex_chain 728553.1647807732 ns/iter 742909.1449999987 ns/iter 0.98
Future_chain 22642.26499505306 ns/iter 18978.039001895006 ns/iter 1.19
Future_collectAll 18052432.36507944 ns/iter 16838597.11000025 ns/iter 1.07
async_simple_Lazy_chain 55170.14567586744 ns/iter 55607.48163265414 ns/iter 0.99
async_simple_Lazy_collectAll 9257535.197368471 ns/iter 9190574.405404983 ns/iter 1.01
RescheduleLazy_chain 78262.10571113575 ns/iter 78676.40098555357 ns/iter 0.99
RescheduleLazy_collectAll 23180209.73299997 ns/iter 22939881.440000024 ns/iter 1.01
Uthread_switch 102813352.2857177 ns/iter 102829313.28571619 ns/iter 1.00
Uthread_async 103389610.28571703 ns/iter 103393219.42857233 ns/iter 1.00
Uthread_await 103397596.14285932 ns/iter 103961115.83332868 ns/iter 0.99
Uthread_collectAll 10322539.179104643 ns/iter 10561128.89830467 ns/iter 0.98
Uthread_pure_switch_bench/100000/iterations:3 5019207.3333240235 ns/iter 4575666.333342573 ns/iter 1.10
Uthread_pure_switch_bench/1000000/iterations:3 43923198.33334568 ns/iter 43339867.333334796 ns/iter 1.01
Uthread_pure_switch_bench/10000000/iterations:3 429006669.3333377 ns/iter 422514846.6666724 ns/iter 1.02
Uthread_pure_switch_bench/100000000/iterations:3 4242596183.000008 ns/iter 4261202246.3333306 ns/iter 1.00
Uthread_read_diff_size_bench/32/iterations:3 11449049.999972278 ns/iter 17394489.666647434 ns/iter 0.66
Uthread_read_diff_size_bench/64/iterations:3 14857022.000001052 ns/iter 17574953.66664822 ns/iter 0.85
Uthread_read_diff_size_bench/128/iterations:3 60162387.999980636 ns/iter 17912782.66663691 ns/iter 3.36
Uthread_read_diff_size_bench/256/iterations:3 60229020.99997888 ns/iter 21153803.666663863 ns/iter 2.85
Uthread_read_diff_size_bench/512/iterations:3 41519060.66670108 ns/iter 52039837.66663593 ns/iter 0.80
Uthread_read_diff_size_bench/1024/iterations:3 139927671.33333927 ns/iter 125444243.00002295 ns/iter 1.12
Uthread_read_diff_size_bench/2048/iterations:3 194944818.33332124 ns/iter 211824900.33332136 ns/iter 0.92
Uthread_same_read_bench/32/iterations:3 1204335.33332213 ns/iter 2629163.3333623093 ns/iter 0.46
Uthread_same_read_bench/64/iterations:3 1944802.6666661159 ns/iter 1809074.6666530322 ns/iter 1.08
Uthread_same_read_bench/128/iterations:3 2320636.6666765157 ns/iter 4590169.00002022 ns/iter 0.51
Uthread_same_read_bench/256/iterations:3 3570972.0000151414 ns/iter 5680420.666654603 ns/iter 0.63
Uthread_same_read_bench/512/iterations:3 8782013.000010617 ns/iter 14822225.666648591 ns/iter 0.59
Uthread_same_read_bench/1024/iterations:3 31743646.33332516 ns/iter 27175152.6666435 ns/iter 1.17
Uthread_same_read_bench/2048/iterations:3 62824425.333341576 ns/iter 46356250.6666714 ns/iter 1.36
ThreadPool_noWorkSteal 4907936100.999962 ns/iter 4022068576.9999704 ns/iter 1.22
ThreadPool_withWorkSteal 442784974.59999925 ns/iter 514761715.70000136 ns/iter 0.86
Generator_pure_switch_bench/100000/iterations:3 40699.99999956053 ns/iter 40499.33333286996 ns/iter 1.00
Generator_pure_switch_bench/1000000/iterations:3 401500.66665016004 ns/iter 401727.33332610736 ns/iter 1.00
Generator_pure_switch_bench/10000000/iterations:3 4019339.3333349074 ns/iter 4031540.333320057 ns/iter 1.00
Generator_pure_switch_bench/100000000/iterations:3 40173593.00000104 ns/iter 40302004.33332235 ns/iter 1.00
Lazy_read_diff_size_bench/32/iterations:3 10466849.000010824 ns/iter 11199234.333332697 ns/iter 0.93
Lazy_read_diff_size_bench/64/iterations:3 18809861.000003517 ns/iter 15359839.666662842 ns/iter 1.22
Lazy_read_diff_size_bench/128/iterations:3 31797846.99998815 ns/iter 33431139.333326127 ns/iter 0.95
Lazy_read_diff_size_bench/256/iterations:3 38525690.333320506 ns/iter 61139929.66665667 ns/iter 0.63
Lazy_read_diff_size_bench/512/iterations:3 111984199.00000544 ns/iter 122429524.00000225 ns/iter 0.91
Lazy_read_diff_size_bench/1024/iterations:3 245560757.66666177 ns/iter 227381806.33333135 ns/iter 1.08
Lazy_read_diff_size_bench/2048/iterations:3 460307111.00000113 ns/iter 452992572.33333874 ns/iter 1.02
Lazy_same_read_bench/32/iterations:3 680667.6666807713 ns/iter 518892.3333321327 ns/iter 1.31
Lazy_same_read_bench/64/iterations:3 1133901.6666624958 ns/iter 807154.6666694 ns/iter 1.40
Lazy_same_read_bench/128/iterations:3 1326235.333332685 ns/iter 1230415.0000090885 ns/iter 1.08
Lazy_same_read_bench/256/iterations:3 2173236.3333436903 ns/iter 2974389.3333413024 ns/iter 0.73
Lazy_same_read_bench/512/iterations:3 5729708.000008789 ns/iter 4720596.999997421 ns/iter 1.21
Lazy_same_read_bench/1024/iterations:3 10891481.999995751 ns/iter 10619576.333340319 ns/iter 1.03
Lazy_same_read_bench/2048/iterations:3 23043099.000005897 ns/iter 20311766.33333113 ns/iter 1.13
Uthread_call_depth_bench/1/iterations:3 2066.666657659274 ns/iter 1666.6666624587378 ns/iter 1.24
Uthread_call_depth_bench/2/iterations:3 1066.666660184031 ns/iter 1766.6666659958235 ns/iter 0.60
Uthread_call_depth_bench/4/iterations:3 2099.999998487571 ns/iter 1533.3333370411613 ns/iter 1.37
Uthread_call_depth_bench/8/iterations:3 1066.6666791318373 ns/iter 933.3333347664544 ns/iter 1.14
Uthread_call_depth_bench/16/iterations:3 1533.333318093355 ns/iter 766.6666685205806 ns/iter 2.00
Uthread_call_depth_bench/32/iterations:3 1766.6666659958235 ns/iter 866.6666720576662 ns/iter 2.04
Uthread_call_depth_bench/64/iterations:3 1566.6666589216522 ns/iter 966.6666755947517 ns/iter 1.62
Uthread_call_depth_bench/128/iterations:3 1366.6666707952875 ns/iter 1066.6666791318373 ns/iter 1.28
Uthread_call_depth_bench/256/iterations:3 1466.6666553845669 ns/iter 866.6666720576662 ns/iter 1.69
Uthread_call_depth_bench/512/iterations:3 999.9999974752427 ns/iter 1499.999996212864 ns/iter 0.67
Uthread_call_depth_bench/1024/iterations:3 1133.3333418406255 ns/iter 1066.666660184031 ns/iter 1.06
Uthread_call_depth_bench/2048/iterations:3 1299.999989138693 ns/iter 1266.666667258202 ns/iter 1.03
Lazy_call_depth_bench/1/iterations:3 2333.3333463900394 ns/iter 2400.0000090988274 ns/iter 0.97
Lazy_call_depth_bench/2/iterations:3 1633.3333405782469 ns/iter 1766.6666659958235 ns/iter 0.92
Lazy_call_depth_bench/4/iterations:3 2033.3333357787826 ns/iter 1799.6666580681147 ns/iter 1.13
Lazy_call_depth_bench/8/iterations:3 2199.99998307685 ns/iter 2466.666671807616 ns/iter 0.89
Lazy_call_depth_bench/16/iterations:3 2633.333319105683 ns/iter 2899.9999888886427 ns/iter 0.91
Lazy_call_depth_bench/32/iterations:3 3666.6666574092233 ns/iter 3966.66666802048 ns/iter 0.92
Lazy_call_depth_bench/64/iterations:3 5933.333341090474 ns/iter 5199.999994450384 ns/iter 1.14
Lazy_call_depth_bench/128/iterations:3 8399.999993950283 ns/iter 9733.00001305688 ns/iter 0.86
Lazy_call_depth_bench/256/iterations:3 14800.000011897888 ns/iter 15432.99998729708 ns/iter 0.96
Lazy_call_depth_bench/512/iterations:3 25933.333328490942 ns/iter 25999.66666139153 ns/iter 1.00
Lazy_call_depth_bench/1024/iterations:3 50733.33333408906 ns/iter 50532.666667398495 ns/iter 1.00
Lazy_call_depth_bench/2048/iterations:3 100866.99999571161 ns/iter 98865.33333277232 ns/iter 1.02

This comment was automatically generated by workflow using github-action-benchmark.

Please sign in to comment.