Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Collect coverage on debug #251

Merged
merged 4 commits into from
Sep 4, 2022
Merged

Collect coverage on debug #251

merged 4 commits into from
Sep 4, 2022

Conversation

victimsnino
Copy link
Owner

No description provided.

@github-actions
Copy link
Contributor

github-actions bot commented Sep 3, 2022

BENCHMARK RESULTS (AUTOGENERATED)

ci-ubuntu-clang

Observable construction

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
Specific observable construction 0.40ns 0.356841 1.13 0.40ns
Dynamic observable construction 28.56ns 31.5253 0.91 25.73ns
Specific observable construction + as_dynamic 28.62ns 28.2738 1.01 24.99ns

Observable lift

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
Specific observable lift specific observer 126.45ns 153.529 0.82 291.35ns
Specific observable lift dynamic observer 154.74ns 185.613 0.83 306.50ns
Dynamic observable lift specific observer 210.52ns 244.071 0.86 337.00ns
Dynamic observable lift dynamic observer 217.32ns 220.876 0.98 329.85ns

Observable subscribe

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
Specific observable subscribe specific observer 89.75ns 117.579 0.76 291.42ns
Specific observable subscribe dynamic observer 102.51ns 112.918 0.91 295.06ns
Dynamic observable subscribe specific observer 164.16ns 190.844 0.86 331.45ns
Dynamic observable subscribe dynamic observer 157.40ns 174.993 0.90 315.02ns

Observable subscribe #2

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
Specific observable subscribe lambda 88.72ns 120.253 0.74 290.74ns
Dynamic observable subscribe lambda 155.46ns 156.862 0.99 325.82ns
Specific observable subscribe lambda without subscription 88.43ns 113.269 0.78 289.85ns
Dynamic observable subscribe lambda without subscription 153.95ns 177.871 0.87 328.18ns
Specific observable subscribe specific subscriber 40.24ns 49.6963 0.81 222.31ns
Dynamic observable subscribe specific subscriber 107.46ns 112.047 0.96 266.85ns
Specific observable subscribe dynamic observer 42.62ns 51.4669 0.83 237.26ns
Dynamic observable subscribe dynamic observer 96.34ns 132.789 0.73 255.32ns

Observer construction

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
Specific observer construction 0.40ns 0.415448 0.97 0.40ns
Dynamic observer construction 28.69ns 33.5398 0.86 19.69ns
Specific observer construction + as_dynamic 28.84ns 34.0658 0.85 19.66ns

OnNext

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
Specific observer OnNext 0.44ns 0.895729 0.49 0.44ns
Dynamic observer OnNext 1.61ns 2.04061 0.79 2.01ns

Subscriber construction

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
Make subsriber 48.22ns 62.9687 0.77 66.95ns
Make copy of subscriber 16.05ns 19.9698 0.80 4.87ns
Transform subsriber to dynamic 47.32ns 46.3749 1.02 25.23ns

Subscription

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
composite_subscription create 39.12ns 47.4206 0.82 49.95ns
composite_subscription add 51.43ns 56.2473 0.91 21.09ns
composite_subscription unsubscribe 15.07ns 15.6616 0.96 13.68ns

buffer

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
buffer 263.08ns 282.735 0.93 2009.39ns
sending of values from observable via buffer to subscriber 6.46ns 7.33088 0.88 23.13ns

chains creation test

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
long non-state chain creation + subscribe 296.45ns 282.651 1.05 518.12ns
long stateful chain creation + subscribe 432.51ns 461.63 0.94 862.34ns

combine_latest

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
combine_latest construction from observable via dot + subscribe 655.80ns 763.319 0.86 911.18ns
sending of values from observable via combine_latest to subscriber 22.50ns 22.1339 1.02 1.75ns

concat

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
concat 1510.09ns 1527.04 0.99 3833.11ns
concat_with 1803.81ns 2193.57 0.82 4188.55ns

distinct_until_changed

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
distinct_until_changed construction from observable via dot + subscribe 131.20ns 141.825 0.93 246.59ns
sending of values from observable via distinct_until_changed to subscriber 2.41ns 3.67498 0.66 1.61ns

first

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
first construction from observable via dot + subscribe 153.61ns 167.881 0.91 644.00ns
sending of values from observable via first to subscriber 0.66ns 0.615346 1.07 0.81ns

foundamental sources

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
empty 84.35ns 97.63 0.86 665.18ns
error 133.08ns 153.609 0.87 749.82ns
never 45.06ns 54.1296 0.83 249.02ns

from

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
from vector with int 96.83ns 103.616 0.93 703.14ns

immediate scheduler

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
no any re-schedule 27.34ns 28.3195 0.97 114.25ns
re-schedule 10 times 36.95ns 30.7542 1.20 141.24ns

just

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
just send int 85.44ns 117.798 0.73 680.18ns
just send variadic 107.74ns 123.499 0.87 776.44ns

map

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
map construction from observable via dot + subscribe 96.58ns 105.938 0.91 239.11ns
sending of values from observable via map to subscriber 1.21ns 0.987299 1.22 1.67ns

merge

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
merge 1486.37ns 1706.03 0.87 3655.11ns
merge_with 1741.05ns 1764.27 0.99 3979.86ns

observe_on

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
observe_on construction from observable via dot + subscribe 631.95ns 716.509 0.88 2526.62ns
sending of values from observable via observe_on to subscriber 100.00ns 100.07 1.00 204.28ns

publish_subject callbacks

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
on_next 29.54ns 25.9338 1.14 8.01ns
on_error 0.61ns 0.499422 1.21 19.03ns
on_completed 0.61ns 0.499861 1.21 0.60ns

publish_subject routines

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
construct 204.66ns 208.915 0.98 156.65ns
get_observable 33.76ns 32.3562 1.04 44.90ns
get_subscriber 66.71ns 66.8244 1.00 11.99ns

repeat

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
repeat construction from observable via dot + subscribe 4234.41ns 5164.66 0.82 3129.08ns

scan

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
scan construction from observable via dot + subscribe 127.67ns 131.817 0.97 294.19ns
sending of values from observable via scan to subscriber 2.01ns 2.14068 0.94 2.01ns

skip

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
skip construction from observable via dot + subscribe 125.67ns 126.399 0.99 489.75ns
sending of values from observable via skip to subscriber 2.41ns 2.66617 0.90 2.58ns

switch_on_next

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
switch_on_next construction from observable via dot + subscribe 2079.66ns 2166.32 0.96 3158.49ns
sending of values from observable via switch_on_next to subscriber 573.61ns 633.037 0.91 723.46ns

take

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
take construction from observable via dot + subscribe 194.97ns 208.972 0.93 512.82ns
sending of values from observable via take to subscriber 2.57ns 3.52146 0.73 2.26ns

trampoline scheduler

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
no any re-schedule 35.70ns 34.8616 1.02 153.05ns
re-schedule 10 times 55.14ns 59.8861 0.92 187.29ns
recursively schedule 10 times 1425.80ns 1513.7 0.94 5306.64ns

window

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
window 2235.84ns 2164.99 1.03 3323.43ns
sending of values from observable via window to subscriber 595.65ns 620.366 0.96 375.21ns

with_latest_from

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
with_latest_from construction from observable via dot + subscribe 673.97ns 744.833 0.90 1119.11ns
sending of values from observable via with_latest_from to subscriber 22.49ns 21.3566 1.05 2.44ns

ci-ubuntu-gcc

Observable construction

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
Specific observable construction 0.36ns 0.401959 0.90 0.37ns
Dynamic observable construction 32.76ns 28.8199 1.14 27.56ns
Specific observable construction + as_dynamic 34.99ns 29.6498 1.18 26.10ns

Observable lift

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
Specific observable lift specific observer 148.36ns 122.007 1.22 430.45ns
Specific observable lift dynamic observer 177.87ns 149.653 1.19 439.88ns
Dynamic observable lift specific observer 266.40ns 207.955 1.28 463.67ns
Dynamic observable lift dynamic observer 327.43ns 221.664 1.48 487.74ns

Observable subscribe

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
Specific observable subscribe specific observer 92.49ns 83.7253 1.10 365.90ns
Specific observable subscribe dynamic observer 133.53ns 100.655 1.33 411.81ns
Dynamic observable subscribe specific observer 183.16ns 155.14 1.18 463.49ns
Dynamic observable subscribe dynamic observer 185.21ns 155.681 1.19 449.11ns

Observable subscribe #2

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
Specific observable subscribe lambda 114.40ns 82.4635 1.39 354.23ns
Dynamic observable subscribe lambda 186.42ns 153.464 1.21 464.04ns
Specific observable subscribe lambda without subscription 107.12ns 83.3524 1.29 386.37ns
Dynamic observable subscribe lambda without subscription 177.48ns 153.591 1.16 456.30ns
Specific observable subscribe specific subscriber 59.34ns 49.4893 1.20 315.13ns
Dynamic observable subscribe specific subscriber 135.75ns 118.129 1.15 363.47ns
Specific observable subscribe dynamic observer 60.33ns 49.468 1.22 331.51ns
Dynamic observable subscribe dynamic observer 119.16ns 104.092 1.14 323.85ns

Observer construction

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
Specific observer construction 0.43ns 0.401926 1.06 0.40ns
Dynamic observer construction 32.05ns 28.8604 1.11 26.99ns
Specific observer construction + as_dynamic 54.43ns 28.7808 1.89 26.16ns

OnNext

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
Specific observer OnNext 0.40ns 0.423273 0.94 0.38ns
Dynamic observer OnNext 2.51ns 1.60766 1.56 2.23ns

Subscriber construction

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
Make subsriber 43.96ns 35.5009 1.24 70.89ns
Make copy of subscriber 19.14ns 16.0662 1.19 6.36ns
Transform subsriber to dynamic 47.19ns 44.7395 1.05 41.34ns

Subscription

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
composite_subscription create 42.28ns 34.9455 1.21 68.40ns
composite_subscription add 62.11ns 48.9308 1.27 19.68ns
composite_subscription unsubscribe 16.60ns 15.451 1.07 13.09ns

buffer

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
buffer 312.25ns 258.307 1.21 2068.34ns
sending of values from observable via buffer to subscriber 7.59ns 6.17163 1.23 36.13ns

chains creation test

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
long non-state chain creation + subscribe 382.32ns 326.715 1.17 884.06ns
long stateful chain creation + subscribe 467.88ns 455.995 1.03 1293.87ns

combine_latest

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
combine_latest construction from observable via dot + subscribe 809.95ns 679.6 1.19 1539.01ns
sending of values from observable via combine_latest to subscriber 25.26ns 22.4919 1.12 2.13ns

concat

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
concat 1823.51ns 1510.56 1.21 4712.02ns
concat_with 2157.76ns 1807.68 1.19 4931.87ns

distinct_until_changed

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
distinct_until_changed construction from observable via dot + subscribe 172.75ns 141.303 1.22 430.06ns
sending of values from observable via distinct_until_changed to subscriber 4.07ns 3.61472 1.13 1.26ns

first

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
first construction from observable via dot + subscribe 191.14ns 167.46 1.14 840.11ns
sending of values from observable via first to subscriber 0.82ns 0.804569 1.02 0.60ns

foundamental sources

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
empty 103.82ns 87.0414 1.19 934.98ns
error 160.19ns 134.84 1.19 1078.50ns
never 63.37ns 47.2859 1.34 330.32ns

from

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
from vector with int 125.55ns 101.279 1.24 898.91ns

immediate scheduler

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
no any re-schedule 42.12ns 28.8775 1.46 159.65ns
re-schedule 10 times 51.84ns 42.0222 1.23 186.58ns

just

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
just send int 105.20ns 90.0206 1.17 929.36ns
just send variadic 146.54ns 114.987 1.27 1008.10ns

map

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
map construction from observable via dot + subscribe 127.18ns 107.964 1.18 422.46ns
sending of values from observable via map to subscriber 1.12ns 1.00319 1.12 2.44ns

merge

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
merge 1855.53ns 1506.43 1.23 4439.02ns
merge_with 2161.88ns 1793.09 1.21 5161.02ns

observe_on

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
observe_on construction from observable via dot + subscribe 682.52ns 670.09 1.02 3892.46ns
sending of values from observable via observe_on to subscriber 108.52ns 96.0811 1.13 314.27ns

publish_subject callbacks

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
on_next 25.13ns 29.7389 0.84 13.94ns
on_error 0.78ns 0.808611 0.97 20.96ns
on_completed 0.72ns 0.808793 0.89 0.71ns

publish_subject routines

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
construct 229.58ns 215.4 1.07 223.21ns
get_observable 41.13ns 30.5164 1.35 56.42ns
get_subscriber 63.44ns 64.0063 0.99 25.79ns

repeat

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
repeat construction from observable via dot + subscribe 4634.02ns 4405.08 1.05 3772.57ns

scan

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
scan construction from observable via dot + subscribe 240.37ns 135.646 1.77 453.76ns
sending of values from observable via scan to subscriber 3.46ns 2.81178 1.23 1.93ns

skip

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
skip construction from observable via dot + subscribe 220.66ns 133.566 1.65 693.95ns
sending of values from observable via skip to subscriber 3.80ns 2.80867 1.35 2.30ns

switch_on_next

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
switch_on_next construction from observable via dot + subscribe 2374.68ns 2036.97 1.17 5555.19ns
sending of values from observable via switch_on_next to subscriber 657.98ns 574.462 1.15 1344.74ns

take

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
take construction from observable via dot + subscribe 230.74ns 193.729 1.19 718.07ns
sending of values from observable via take to subscriber 6.32ns 3.66911 1.72 3.83ns

trampoline scheduler

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
no any re-schedule 59.69ns 42.234 1.41 219.11ns
re-schedule 10 times 83.14ns 69.3623 1.20 260.17ns
recursively schedule 10 times 1741.78ns 1473.84 1.18 9321.64ns

window

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
window 2520.01ns 2316.74 1.09 3769.57ns
sending of values from observable via window to subscriber 635.02ns 626.524 1.01 526.44ns

with_latest_from

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
with_latest_from construction from observable via dot + subscribe 803.87ns 708.118 1.14 1726.43ns
sending of values from observable via with_latest_from to subscriber 20.11ns 22.0879 0.91 4.68ns

ci-windows

Observable construction

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
Specific observable construction 1.98ns 2.03152 0.98 0.75ns
Dynamic observable construction 99.17ns 92.9966 1.07 142.73ns
Specific observable construction + as_dynamic 93.41ns 92.4118 1.01 145.58ns

Observable lift

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
Specific observable lift specific observer 209.33ns 208.0 1.01 1519.20ns
Specific observable lift dynamic observer 240.85ns 234.153 1.03 1457.95ns
Dynamic observable lift specific observer 353.08ns 1109.74 0.32 1637.94ns
Dynamic observable lift dynamic observer 307.54ns 279.0 1.10 1540.42ns

Observable subscribe

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
Specific observable subscribe specific observer 164.06ns 165.87 0.99 1380.70ns
Specific observable subscribe dynamic observer 188.05ns 181.097 1.04 1507.20ns
Dynamic observable subscribe specific observer 303.13ns 314.282 0.96 1570.33ns
Dynamic observable subscribe dynamic observer 234.70ns 236.664 0.99 1421.70ns

Observable subscribe #2

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
Specific observable subscribe lambda 168.62ns 163.649 1.03 1510.47ns
Dynamic observable subscribe lambda 296.22ns 287.913 1.03 1768.53ns
Specific observable subscribe lambda without subscription 163.95ns 169.834 0.97 1344.55ns
Dynamic observable subscribe lambda without subscription 295.82ns 294.261 1.01 1581.28ns
Specific observable subscribe specific subscriber 57.67ns 54.821 1.05 971.43ns
Dynamic observable subscribe specific subscriber 181.94ns 184.343 0.99 1215.58ns
Specific observable subscribe dynamic observer 60.03ns 64.3913 0.93 1043.33ns
Dynamic observable subscribe dynamic observer 114.77ns 105.13 1.09 1088.62ns

Observer construction

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
Specific observer construction 2.21ns 3.92057 0.56 2.01ns
Dynamic observer construction 93.46ns 94.4432 0.99 125.87ns
Specific observer construction + as_dynamic 94.42ns 94.8506 1.00 134.22ns

OnNext

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
Specific observer OnNext 0.78ns 0.872122 0.90 0.79ns
Dynamic observer OnNext 2.39ns 2.20015 1.09 2.69ns

Subscriber construction

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
Make subsriber 105.41ns 93.3396 1.13 413.21ns
Make copy of subscriber 16.95ns 16.7345 1.01 43.69ns
Transform subsriber to dynamic 114.42ns 101.244 1.13 179.31ns

Subscription

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
composite_subscription create 105.67ns 100.035 1.06 432.64ns
composite_subscription add 88.27ns 81.0255 1.09 75.02ns
composite_subscription unsubscribe 18.52ns 17.4974 1.06 27.76ns

buffer

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
buffer 468.74ns 436.4 1.07 5349.00ns
sending of values from observable via buffer to subscriber 8.70ns 8.63456 1.01 113.80ns

chains creation test

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
long non-state chain creation + subscribe 322.72ns 326.057 0.99 1986.00ns
long stateful chain creation + subscribe 792.87ns 1032.48 0.77 4151.43ns

combine_latest

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
combine_latest construction from observable via dot + subscribe 1486.05ns 1414.94 1.05 3528.71ns
sending of values from observable via combine_latest to subscriber 42.09ns 40.256 1.05 5.00ns

concat

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
concat 2491.92ns 2431.45 1.02 12594.30ns
concat_with 4145.70ns 3160.33 1.31 13332.50ns

distinct_until_changed

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
distinct_until_changed construction from observable via dot + subscribe 235.71ns 224.912 1.05 1203.21ns
sending of values from observable via distinct_until_changed to subscriber 5.35ns 5.02187 1.06 4.09ns

first

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
first construction from observable via dot + subscribe 177.19ns 173.837 1.02 2999.89ns
sending of values from observable via first to subscriber 3.43ns 3.03601 1.13 1.17ns

foundamental sources

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
empty 110.95ns 94.3061 1.18 2811.50ns
error 163.85ns 158.685 1.03 2954.89ns
never 58.07ns 55.083 1.05 1251.96ns

from

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
from vector with int 188.24ns 176.261 1.07 2810.56ns

immediate scheduler

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
no any re-schedule 31.15ns 31.6413 0.98 478.49ns
re-schedule 10 times 166.38ns 156.596 1.06 509.50ns

just

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
just send int 101.17ns 97.267 1.04 2802.20ns
just send variadic 158.64ns 138.75 1.14 2848.33ns

map

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
map construction from observable via dot + subscribe 122.33ns 118.357 1.03 1135.83ns
sending of values from observable via map to subscriber 4.09ns 3.42648 1.19 7.55ns

merge

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
merge 2339.00ns 2302.82 1.02 13031.00ns
merge_with 3118.27ns 3003.89 1.04 13781.30ns

observe_on

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
observe_on construction from observable via dot + subscribe 995.91ns 1350.92 0.74 6755.40ns
sending of values from observable via observe_on to subscriber 103.50ns 103.043 1.00 937.97ns

publish_subject callbacks

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
on_next 22.93ns 23.6835 0.97 36.35ns
on_error 3.03ns 3.14225 0.96 21.77ns
on_completed 2.77ns 2.71702 1.02 0.75ns

publish_subject routines

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
construct 421.55ns 393.6 1.07 949.64ns
get_observable 29.74ns 30.1304 0.99 187.14ns
get_subscriber 60.37ns 60.1741 1.00 109.69ns

repeat

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
repeat construction from observable via dot + subscribe 8816.40ns 8113.5 1.09 13102.30ns

scan

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
scan construction from observable via dot + subscribe 293.79ns 224.12 1.31 1483.58ns
sending of values from observable via scan to subscriber 6.82ns 5.95924 1.14 10.44ns

skip

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
skip construction from observable via dot + subscribe 239.76ns 221.675 1.08 2227.50ns
sending of values from observable via skip to subscriber 5.16ns 4.8927 1.06 4.32ns

switch_on_next

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
switch_on_next construction from observable via dot + subscribe 3737.00ns 3502.0 1.07 14710.50ns
sending of values from observable via switch_on_next to subscriber 958.44ns 931.393 1.03 3584.12ns

take

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
take construction from observable via dot + subscribe 288.81ns 280.904 1.03 2456.73ns
sending of values from observable via take to subscriber 6.63ns 6.51438 1.02 7.68ns

trampoline scheduler

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
no any re-schedule 53.50ns 47.1229 1.14 717.77ns
re-schedule 10 times 184.18ns 176.497 1.04 749.89ns
recursively schedule 10 times 3256.70ns 3254.0 1.00 22511.00ns

window

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
window 3504.56ns 3460.12 1.01 11378.70ns
sending of values from observable via window to subscriber 958.66ns 958.741 1.00 1899.80ns

with_latest_from

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
with_latest_from construction from observable via dot + subscribe 1291.91ns 1233.95 1.05 4570.00ns
sending of values from observable via with_latest_from to subscriber 32.68ns 30.8534 1.06 8.93ns

@victimsnino victimsnino marked this pull request as ready for review September 4, 2022 10:21
@codecov
Copy link

codecov bot commented Sep 4, 2022

Codecov Report

Merging #251 (31cb658) into main (e0b71e3) will decrease coverage by 0.17%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main     #251      +/-   ##
==========================================
- Coverage   98.57%   98.40%   -0.18%     
==========================================
  Files         128       90      -38     
  Lines        5130     1318    -3812     
==========================================
- Hits         5057     1297    -3760     
+ Misses         73       21      -52     
Impacted Files Coverage Δ
src/rpp/rpp/schedulers/details/utils.hpp 85.71% <0.00%> (-14.29%) ⬇️
...c/rpp/rpp/subscriptions/composite_subscription.hpp 92.85% <0.00%> (-4.29%) ⬇️
src/rpp/rpp/operators/ref_count.hpp 96.00% <0.00%> (-4.00%) ⬇️
src/rpp/rpp/schedulers/trampoline_scheduler.hpp 93.61% <0.00%> (-2.22%) ⬇️
...rc/rpp/rpp/subscribers/details/subscriber_base.hpp 87.50% <0.00%> (-0.74%) ⬇️
src/rpp/rpp/observables/blocking_observable.hpp 94.44% <0.00%> (-0.30%) ⬇️
src/rpp/rpp/schedulers/new_thread_scheduler.hpp 97.77% <0.00%> (-0.05%) ⬇️
src/rpp/rpp/sources/empty.hpp 100.00% <0.00%> (ø)
src/rpp/rpp/sources/never.hpp 100.00% <0.00%> (ø)
src/rpp/rpp/operators/scan.hpp 100.00% <0.00%> (ø)
... and 72 more

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@sonarqubecloud
Copy link

sonarqubecloud bot commented Sep 4, 2022

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@victimsnino victimsnino merged commit d1f53b8 into main Sep 4, 2022
@victimsnino victimsnino deleted the coverage branch September 4, 2022 11:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant