Skip to content

Commit

Permalink
Update ci v2.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
victimsnino authored Nov 6, 2024
1 parent 27615b2 commit 5c6020e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/ci v2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ jobs:
fetch-depth: 0

- uses: actions/setup-python@v5
with: { python-version: "3.8" }
with:
python-version: '3.6.x - 3.11.x'

- name: get conan
uses: turtlebrowser/get-conan@main
Expand Down

1 comment on commit 5c6020e

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

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

BENCHMARK RESULTS (AUTOGENERATED)

ci-ubuntu-gcc

General

name rxcpp rpp prev rpp ratio
Subscribe empty callbacks to empty observable 303.24 ns 1.91 ns 1.86 ns 1.03
Subscribe empty callbacks to empty observable via pipe operator 306.73 ns 1.85 ns 1.85 ns 1.00

Sources

name rxcpp rpp prev rpp ratio
from array of 1 - create + subscribe + immediate 695.34 ns 0.31 ns 0.31 ns 1.00
from array of 1 - create + subscribe + current_thread 1035.60 ns 3.71 ns 3.71 ns 1.00
concat_as_source of just(1 immediate) create + subscribe 2248.15 ns 143.09 ns 138.78 ns 1.03
defer from array of 1 - defer + create + subscribe + immediate 729.42 ns 0.31 ns 0.31 ns 1.00
interval - interval + take(3) + subscribe + immediate 2185.55 ns 59.19 ns 59.23 ns 1.00
interval - interval + take(3) + subscribe + current_thread 3070.91 ns 32.40 ns 32.42 ns 1.00
from array of 1 - create + as_blocking + subscribe + new_thread 29822.27 ns 35689.73 ns 27915.38 ns 1.28
from array of 1000 - create + as_blocking + subscribe + new_thread 37696.21 ns 48367.14 ns 49196.96 ns 0.98
concat_as_source of just(1 immediate) and just(1,2 immediate)create + subscribe 3596.69 ns 213.15 ns 212.71 ns 1.00

Filtering Operators

name rxcpp rpp prev rpp ratio
immediate_just+take(1)+subscribe 1117.08 ns 0.31 ns 0.31 ns 1.00
immediate_just+filter(true)+subscribe 822.04 ns 0.31 ns 0.31 ns 1.00
immediate_just(1,2)+skip(1)+subscribe 1002.55 ns 0.31 ns 0.31 ns 0.99
immediate_just(1,1,2)+distinct_until_changed()+subscribe 850.94 ns 0.31 ns 0.31 ns 1.00
immediate_just(1,2)+first()+subscribe 1224.88 ns 0.31 ns 0.31 ns 1.00
immediate_just(1,2)+last()+subscribe 980.87 ns 0.31 ns 0.31 ns 1.00
immediate_just+take_last(1)+subscribe 1130.81 ns 17.90 ns 18.22 ns 0.98
immediate_just(1,2,3)+element_at(1)+subscribe 818.04 ns 0.31 ns 0.31 ns 1.00

Schedulers

name rxcpp rpp prev rpp ratio
immediate scheduler create worker + schedule 269.35 ns 0.46 ns 0.46 ns 1.00
current_thread scheduler create worker + schedule 369.20 ns 4.32 ns 4.32 ns 1.00
current_thread scheduler create worker + schedule + recursive schedule 815.27 ns 62.03 ns 61.27 ns 1.01

Transforming Operators

name rxcpp rpp prev rpp ratio
immediate_just+map(v*2)+subscribe 837.40 ns 0.31 ns 0.31 ns 1.00
immediate_just+scan(10, std::plus)+subscribe 918.83 ns 0.31 ns 0.31 ns 1.00
immediate_just+flat_map(immediate_just(v*2))+subscribe 2387.46 ns 181.15 ns 180.28 ns 1.00
immediate_just+buffer(2)+subscribe 1583.69 ns 13.58 ns 13.91 ns 0.98
immediate_just+window(2)+subscribe + subscsribe inner 2528.80 ns 1296.56 ns 1300.08 ns 1.00

Conditional Operators

name rxcpp rpp prev rpp ratio
immediate_just+take_while(false)+subscribe 832.92 ns - - 0.00
immediate_just+take_while(true)+subscribe 820.74 ns 0.31 ns 0.31 ns 1.00

Utility Operators

name rxcpp rpp prev rpp ratio
immediate_just(1)+subscribe_on(immediate)+subscribe 1960.23 ns 0.31 ns 0.31 ns 1.00

Combining Operators

name rxcpp rpp prev rpp ratio
immediate_just(immediate_just(1), immediate_just(1)) + merge() + subscribe 3425.91 ns 235.49 ns 231.90 ns 1.02
immediate_just(1) + merge_with(immediate_just(2)) + subscribe 3621.79 ns 174.91 ns 175.43 ns 1.00
immediate_just(1) + with_latest_from(immediate_just(2)) + subscribe - 182.39 ns 178.29 ns 1.02
immediate_just(immediate_just(1),immediate_just(1)) + switch_on_next() + subscribe 3524.46 ns 1396.24 ns 1160.32 ns 1.20
immediate_just(1) + zip(immediate_just(2)) + subscribe 2070.74 ns 224.29 ns 229.42 ns 0.98

Subjects

name rxcpp rpp prev rpp ratio
publish_subject with 1 observer - on_next 34.55 ns 14.68 ns 17.49 ns 0.84
subscribe 100 observers to publish_subject 200621.20 ns 16221.46 ns 15994.52 ns 1.01
100 on_next to 100 observers to publish_subject 32719.41 ns 17423.90 ns 17251.06 ns 1.01

Scenarios

name rxcpp rpp prev rpp ratio
basic sample 1354.15 ns 12.96 ns 12.97 ns 1.00
basic sample with immediate scheduler 1412.50 ns 5.24 ns 5.24 ns 1.00

Aggregating Operators

name rxcpp rpp prev rpp ratio
immediate_just+reduce(10, std::plus)+subscribe 948.06 ns 0.31 ns 0.31 ns 1.00

Error Handling Operators

name rxcpp rpp prev rpp ratio
create(on_next(1), on_error())+on_error_resume_next(immediate_just(2)))+subscribe 2026.96 ns 900.02 ns 886.51 ns 1.02
create(on_error())+retry(1)+subscribe 592.81 ns 120.89 ns 121.29 ns 1.00

ci-macos

General

name rxcpp rpp prev rpp ratio
Subscribe empty callbacks to empty observable 971.64 ns 0.47 ns 0.47 ns 1.00
Subscribe empty callbacks to empty observable via pipe operator 969.89 ns 0.47 ns 0.47 ns 1.00

Sources

name rxcpp rpp prev rpp ratio
from array of 1 - create + subscribe + immediate 1931.16 ns 0.23 ns 0.23 ns 1.00
from array of 1 - create + subscribe + current_thread 2451.85 ns 31.94 ns 32.34 ns 0.99
concat_as_source of just(1 immediate) create + subscribe 5525.53 ns 412.55 ns 414.20 ns 1.00
defer from array of 1 - defer + create + subscribe + immediate 1940.26 ns 0.23 ns 0.24 ns 0.99
interval - interval + take(3) + subscribe + immediate 4778.96 ns 110.60 ns 112.75 ns 0.98
interval - interval + take(3) + subscribe + current_thread 5861.76 ns 94.64 ns 95.28 ns 0.99
from array of 1 - create + as_blocking + subscribe + new_thread 81955.85 ns 79258.86 ns 81508.85 ns 0.97
from array of 1000 - create + as_blocking + subscribe + new_thread 86809.85 ns 89848.46 ns 87314.92 ns 1.03
concat_as_source of just(1 immediate) and just(1,2 immediate)create + subscribe 8108.63 ns 584.02 ns 586.52 ns 1.00

Filtering Operators

name rxcpp rpp prev rpp ratio
immediate_just+take(1)+subscribe 2702.74 ns 0.22 ns 0.25 ns 0.91
immediate_just+filter(true)+subscribe 1999.61 ns 0.22 ns 0.26 ns 0.86
immediate_just(1,2)+skip(1)+subscribe 2608.79 ns 0.22 ns 0.27 ns 0.84
immediate_just(1,1,2)+distinct_until_changed()+subscribe 1961.93 ns 0.45 ns 0.50 ns 0.89
immediate_just(1,2)+first()+subscribe 3020.12 ns 0.22 ns 0.25 ns 0.88
immediate_just(1,2)+last()+subscribe 2289.21 ns 0.22 ns 0.25 ns 0.88
immediate_just+take_last(1)+subscribe 2870.91 ns 0.22 ns 0.25 ns 0.87
immediate_just(1,2,3)+element_at(1)+subscribe 2010.27 ns 0.22 ns 0.26 ns 0.86

Schedulers

name rxcpp rpp prev rpp ratio
immediate scheduler create worker + schedule 825.90 ns 0.46 ns 0.51 ns 0.89
current_thread scheduler create worker + schedule 1153.17 ns 32.90 ns 33.83 ns 0.97
current_thread scheduler create worker + schedule + recursive schedule 1925.77 ns 193.93 ns 200.50 ns 0.97

Transforming Operators

name rxcpp rpp prev rpp ratio
immediate_just+map(v*2)+subscribe 1996.35 ns 4.01 ns 4.92 ns 0.81
immediate_just+scan(10, std::plus)+subscribe 2203.31 ns 0.45 ns 0.54 ns 0.82
immediate_just+flat_map(immediate_just(v*2))+subscribe 5017.92 ns 474.56 ns 540.66 ns 0.88
immediate_just+buffer(2)+subscribe 2393.40 ns 61.98 ns 69.19 ns 0.90
immediate_just+window(2)+subscribe + subscsribe inner 5061.36 ns 2275.83 ns 2502.32 ns 0.91

Conditional Operators

name rxcpp rpp prev rpp ratio
immediate_just+take_while(false)+subscribe 1986.31 ns - - 0.00
immediate_just+take_while(true)+subscribe 1991.63 ns 0.22 ns 0.25 ns 0.91

Utility Operators

name rxcpp rpp prev rpp ratio
immediate_just(1)+subscribe_on(immediate)+subscribe 4670.11 ns 4.90 ns 5.43 ns 0.90

Combining Operators

name rxcpp rpp prev rpp ratio
immediate_just(immediate_just(1), immediate_just(1)) + merge() + subscribe 7234.14 ns 560.05 ns 565.72 ns 0.99
immediate_just(1) + merge_with(immediate_just(2)) + subscribe 8102.94 ns 475.33 ns 485.92 ns 0.98
immediate_just(1) + with_latest_from(immediate_just(2)) + subscribe - 549.60 ns 592.54 ns 0.93
immediate_just(immediate_just(1),immediate_just(1)) + switch_on_next() + subscribe 7684.98 ns 1862.26 ns 2012.73 ns 0.93
immediate_just(1) + zip(immediate_just(2)) + subscribe 4872.32 ns 850.41 ns 958.41 ns 0.89

Subjects

name rxcpp rpp prev rpp ratio
publish_subject with 1 observer - on_next 71.83 ns 47.62 ns 61.93 ns 0.77
subscribe 100 observers to publish_subject 327525.75 ns 38557.89 ns 43801.23 ns 0.88
100 on_next to 100 observers to publish_subject 50942.62 ns 21629.23 ns 24977.05 ns 0.87

Scenarios

name rxcpp rpp prev rpp ratio
basic sample 2768.52 ns 72.82 ns 80.17 ns 0.91
basic sample with immediate scheduler 2791.80 ns 18.83 ns 21.20 ns 0.89

Aggregating Operators

name rxcpp rpp prev rpp ratio
immediate_just+reduce(10, std::plus)+subscribe 2312.00 ns 0.23 ns 0.26 ns 0.88

Error Handling Operators

name rxcpp rpp prev rpp ratio
create(on_next(1), on_error())+on_error_resume_next(immediate_just(2)))+subscribe 6310.87 ns 3777.43 ns 4109.18 ns 0.92
create(on_error())+retry(1)+subscribe 1753.71 ns 366.79 ns 385.38 ns 0.95

ci-ubuntu-clang

General

name rxcpp rpp prev rpp ratio
Subscribe empty callbacks to empty observable 273.40 ns 0.63 ns 1.54 ns 0.41
Subscribe empty callbacks to empty observable via pipe operator 273.88 ns 0.63 ns 1.54 ns 0.41

Sources

name rxcpp rpp prev rpp ratio
from array of 1 - create + subscribe + immediate 551.41 ns 0.31 ns 0.31 ns 1.01
from array of 1 - create + subscribe + current_thread 793.25 ns 4.63 ns 4.63 ns 1.00
concat_as_source of just(1 immediate) create + subscribe 2346.10 ns 175.41 ns 181.49 ns 0.97
defer from array of 1 - defer + create + subscribe + immediate 775.17 ns 0.31 ns 0.31 ns 1.00
interval - interval + take(3) + subscribe + immediate 2229.81 ns 58.26 ns 58.30 ns 1.00
interval - interval + take(3) + subscribe + current_thread 3228.24 ns 30.88 ns 30.88 ns 1.00
from array of 1 - create + as_blocking + subscribe + new_thread 27920.85 ns 27763.87 ns 27348.24 ns 1.02
from array of 1000 - create + as_blocking + subscribe + new_thread 39658.79 ns 36403.53 ns 35029.23 ns 1.04
concat_as_source of just(1 immediate) and just(1,2 immediate)create + subscribe 3733.65 ns 296.56 ns 302.52 ns 0.98

Filtering Operators

name rxcpp rpp prev rpp ratio
immediate_just+take(1)+subscribe 1131.61 ns 0.31 ns 0.31 ns 1.00
immediate_just+filter(true)+subscribe 839.62 ns 0.31 ns 0.31 ns 1.00
immediate_just(1,2)+skip(1)+subscribe 1078.60 ns 0.31 ns 0.31 ns 1.00
immediate_just(1,1,2)+distinct_until_changed()+subscribe 869.57 ns 0.31 ns 0.31 ns 1.00
immediate_just(1,2)+first()+subscribe 1410.42 ns 0.31 ns 0.31 ns 1.00
immediate_just(1,2)+last()+subscribe 1010.20 ns 0.31 ns 0.31 ns 1.00
immediate_just+take_last(1)+subscribe 1184.07 ns 0.31 ns 0.31 ns 1.00
immediate_just(1,2,3)+element_at(1)+subscribe 874.53 ns 0.31 ns 0.31 ns 1.00

Schedulers

name rxcpp rpp prev rpp ratio
immediate scheduler create worker + schedule 280.04 ns 1.54 ns 0.63 ns 2.43
current_thread scheduler create worker + schedule 395.16 ns 4.32 ns 4.32 ns 1.00
current_thread scheduler create worker + schedule + recursive schedule 849.14 ns 55.43 ns 55.14 ns 1.01

Transforming Operators

name rxcpp rpp prev rpp ratio
immediate_just+map(v*2)+subscribe 842.87 ns 0.31 ns 0.31 ns 1.00
immediate_just+scan(10, std::plus)+subscribe 964.09 ns 0.31 ns 0.31 ns 1.00
immediate_just+flat_map(immediate_just(v*2))+subscribe 2245.00 ns 229.22 ns 224.31 ns 1.02
immediate_just+buffer(2)+subscribe 1541.00 ns 14.20 ns 14.20 ns 1.00
immediate_just+window(2)+subscribe + subscsribe inner 2502.67 ns 909.27 ns 904.53 ns 1.01

Conditional Operators

name rxcpp rpp prev rpp ratio
immediate_just+take_while(false)+subscribe 836.12 ns - - 0.00
immediate_just+take_while(true)+subscribe 851.19 ns 0.31 ns 0.31 ns 1.00

Utility Operators

name rxcpp rpp prev rpp ratio
immediate_just(1)+subscribe_on(immediate)+subscribe 2000.30 ns 0.31 ns 0.31 ns 1.00

Combining Operators

name rxcpp rpp prev rpp ratio
immediate_just(immediate_just(1), immediate_just(1)) + merge() + subscribe 3309.85 ns 281.66 ns 278.79 ns 1.01
immediate_just(1) + merge_with(immediate_just(2)) + subscribe 3766.32 ns 210.18 ns 207.20 ns 1.01
immediate_just(1) + with_latest_from(immediate_just(2)) + subscribe - 194.38 ns 194.55 ns 1.00
immediate_just(immediate_just(1),immediate_just(1)) + switch_on_next() + subscribe 3393.39 ns 833.25 ns 833.09 ns 1.00
immediate_just(1) + zip(immediate_just(2)) + subscribe 2259.37 ns 192.28 ns 191.94 ns 1.00

Subjects

name rxcpp rpp prev rpp ratio
publish_subject with 1 observer - on_next 52.36 ns 17.43 ns 17.26 ns 1.01
subscribe 100 observers to publish_subject 207235.00 ns 16105.46 ns 16133.48 ns 1.00
100 on_next to 100 observers to publish_subject 42940.08 ns 23437.80 ns 20621.47 ns 1.14

Scenarios

name rxcpp rpp prev rpp ratio
basic sample 1271.53 ns 12.34 ns 12.35 ns 1.00
basic sample with immediate scheduler 1295.89 ns 5.86 ns 5.86 ns 1.00

Aggregating Operators

name rxcpp rpp prev rpp ratio
immediate_just+reduce(10, std::plus)+subscribe 982.09 ns 0.31 ns 0.31 ns 1.00

Error Handling Operators

name rxcpp rpp prev rpp ratio
create(on_next(1), on_error())+on_error_resume_next(immediate_just(2)))+subscribe 2162.16 ns 995.35 ns 1027.69 ns 0.97
create(on_error())+retry(1)+subscribe 655.71 ns 156.25 ns 161.59 ns 0.97

ci-windows

General

name rxcpp rpp prev rpp ratio
Subscribe empty callbacks to empty observable 560.13 ns 2.16 ns 2.16 ns 1.00
Subscribe empty callbacks to empty observable via pipe operator 573.42 ns 2.16 ns 2.16 ns 1.00

Sources

name rxcpp rpp prev rpp ratio
from array of 1 - create + subscribe + immediate 1165.61 ns 5.24 ns 5.24 ns 1.00
from array of 1 - create + subscribe + current_thread 1425.03 ns 15.43 ns 15.53 ns 0.99
concat_as_source of just(1 immediate) create + subscribe 3701.44 ns 239.25 ns 239.33 ns 1.00
defer from array of 1 - defer + create + subscribe + immediate 1192.18 ns 4.93 ns 8.42 ns 0.59
interval - interval + take(3) + subscribe + immediate 3635.77 ns 138.82 ns 139.94 ns 0.99
interval - interval + take(3) + subscribe + current_thread 3438.80 ns 59.23 ns 74.82 ns 0.79
from array of 1 - create + as_blocking + subscribe + new_thread 121933.33 ns 115570.00 ns 124587.50 ns 0.93
from array of 1000 - create + as_blocking + subscribe + new_thread 136962.50 ns 132362.50 ns 134862.50 ns 0.98
concat_as_source of just(1 immediate) and just(1,2 immediate)create + subscribe 5295.37 ns 306.04 ns 307.90 ns 0.99

Filtering Operators

name rxcpp rpp prev rpp ratio
immediate_just+take(1)+subscribe 1814.74 ns 19.43 ns 19.44 ns 1.00
immediate_just+filter(true)+subscribe 1360.39 ns 18.50 ns 18.59 ns 1.00
immediate_just(1,2)+skip(1)+subscribe 1716.69 ns 17.90 ns 17.91 ns 1.00
immediate_just(1,1,2)+distinct_until_changed()+subscribe 1372.94 ns 20.82 ns 20.68 ns 1.01
immediate_just(1,2)+first()+subscribe 2032.50 ns 18.21 ns 18.20 ns 1.00
immediate_just(1,2)+last()+subscribe 1782.82 ns 19.12 ns 19.14 ns 1.00
immediate_just+take_last(1)+subscribe 2016.17 ns 63.86 ns 116.95 ns 0.55
immediate_just(1,2,3)+element_at(1)+subscribe 1352.40 ns 20.97 ns 20.99 ns 1.00

Schedulers

name rxcpp rpp prev rpp ratio
immediate scheduler create worker + schedule 480.52 ns 4.32 ns 4.32 ns 1.00
current_thread scheduler create worker + schedule 650.70 ns 11.40 ns 12.00 ns 0.95
current_thread scheduler create worker + schedule + recursive schedule 1108.12 ns 101.03 ns 100.00 ns 1.01

Transforming Operators

name rxcpp rpp prev rpp ratio
immediate_just+map(v*2)+subscribe 1323.93 ns 18.82 ns 20.95 ns 0.90
immediate_just+scan(10, std::plus)+subscribe 1449.79 ns 20.98 ns 20.98 ns 1.00
immediate_just+flat_map(immediate_just(v*2))+subscribe 3430.00 ns 271.40 ns 278.80 ns 0.97
immediate_just+buffer(2)+subscribe 2646.10 ns 63.64 ns 63.91 ns 1.00
immediate_just+window(2)+subscribe + subscsribe inner 4010.80 ns 1322.34 ns 1336.08 ns 0.99

Conditional Operators

name rxcpp rpp prev rpp ratio
immediate_just+take_while(false)+subscribe 1626.28 ns 17.58 ns 17.57 ns 1.00
immediate_just+take_while(true)+subscribe 1320.76 ns 18.50 ns 18.50 ns 1.00

Utility Operators

name rxcpp rpp prev rpp ratio
immediate_just(1)+subscribe_on(immediate)+subscribe 3476.61 ns 11.10 ns 11.10 ns 1.00

Combining Operators

name rxcpp rpp prev rpp ratio
immediate_just(immediate_just(1), immediate_just(1)) + merge() + subscribe 5096.02 ns 296.88 ns 569.76 ns 0.52
immediate_just(1) + merge_with(immediate_just(2)) + subscribe 5328.96 ns 268.90 ns 278.10 ns 0.97
immediate_just(1) + with_latest_from(immediate_just(2)) + subscribe - 302.35 ns 302.33 ns 1.00
immediate_just(immediate_just(1),immediate_just(1)) + switch_on_next() + subscribe 5271.28 ns 959.20 ns 1782.31 ns 0.54
immediate_just(1) + zip(immediate_just(2)) + subscribe 3553.98 ns 561.49 ns 649.78 ns 0.86

Subjects

name rxcpp rpp prev rpp ratio
publish_subject with 1 observer - on_next 37.26 ns 20.69 ns 20.65 ns 1.00
subscribe 100 observers to publish_subject 261660.00 ns 28441.67 ns 28194.74 ns 1.01
100 on_next to 100 observers to publish_subject 51718.18 ns 35741.38 ns 35760.61 ns 1.00

Scenarios

name rxcpp rpp prev rpp ratio
basic sample 1892.67 ns 96.80 ns 96.65 ns 1.00
basic sample with immediate scheduler 1888.12 ns 68.74 ns 66.99 ns 1.03

Aggregating Operators

name rxcpp rpp prev rpp ratio
immediate_just+reduce(10, std::plus)+subscribe 1444.91 ns 19.13 ns 19.11 ns 1.00

Error Handling Operators

name rxcpp rpp prev rpp ratio
create(on_next(1), on_error())+on_error_resume_next(immediate_just(2)))+subscribe 2161.83 ns 241.08 ns 247.29 ns 0.97
create(on_error())+retry(1)+subscribe 1474.60 ns 196.97 ns 196.98 ns 1.00

Please sign in to comment.