Skip to content

Commit

Permalink
Fix build on m1 mac clang-14 (#122)
Browse files Browse the repository at this point in the history
  • Loading branch information
devillove084 committed Jun 27, 2022
1 parent 0d2ffaf commit 5d14230
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions async_simple/Try.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
#include <async_simple/Unit.h>
#include <cassert>
#include <exception>
#include <new>
#include <utility>

namespace async_simple {

Expand Down

1 comment on commit 5d14230

@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: 5d14230 Previous: 0d2ffaf Ratio
Future_chain 22603.987491905464 ns/iter 21903.47140006139 ns/iter 1.03
Future_collectAll 13210211.959459443 ns/iter 12764380.035714546 ns/iter 1.03
async_simple_Lazy_chain 23469.399548152465 ns/iter 20896.922464312345 ns/iter 1.12
async_simple_Lazy_collectAll 9924868.044117663 ns/iter 12068032.727272669 ns/iter 0.82
RescheduleLazy_chain 47870.890689801134 ns/iter 46289.67859949707 ns/iter 1.03
RescheduleLazy_collectAll 23023846.203999996 ns/iter 20826176.972999975 ns/iter 1.11
Uthread_switch 103395775.42857066 ns/iter 103381196.42856976 ns/iter 1.00
Uthread_async 103913969.00000213 ns/iter 103390439.57142329 ns/iter 1.01
Uthread_await 104533462.1428578 ns/iter 103952307.85714409 ns/iter 1.01
Uthread_collectAll 11163707.671874689 ns/iter 11657231.66666701 ns/iter 0.96
ThreadPool_noWorkSteal 914300863.500003 ns/iter 909958501.5000002 ns/iter 1.00
ThreadPool_withWorkSteal 86323164.63636222 ns/iter 76890336.2142867 ns/iter 1.12

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

Please sign in to comment.