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

try to fix sonar #250

Merged
merged 1 commit into from
Sep 3, 2022
Merged

try to fix sonar #250

merged 1 commit into from
Sep 3, 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.334943 1.20 0.40ns
Dynamic observable construction 28.64ns 29.2007 0.98 28.02ns
Specific observable construction + as_dynamic 28.75ns 29.2063 0.98 25.17ns

Observable lift

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
Specific observable lift specific observer 127.56ns 130.29 0.98 293.06ns
Specific observable lift dynamic observer 151.89ns 149.555 1.02 309.57ns
Dynamic observable lift specific observer 203.77ns 204.778 1.00 338.45ns
Dynamic observable lift dynamic observer 218.25ns 206.808 1.06 331.43ns

Observable subscribe

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
Specific observable subscribe specific observer 90.12ns 94.3098 0.96 291.60ns
Specific observable subscribe dynamic observer 103.54ns 103.099 1.00 298.29ns
Dynamic observable subscribe specific observer 157.40ns 164.078 0.96 333.65ns
Dynamic observable subscribe dynamic observer 158.44ns 155.384 1.02 320.14ns

Observable subscribe #2

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
Specific observable subscribe lambda 91.12ns 101.134 0.90 298.83ns
Dynamic observable subscribe lambda 155.14ns 159.242 0.97 336.49ns
Specific observable subscribe lambda without subscription 91.05ns 98.402 0.93 301.92ns
Dynamic observable subscribe lambda without subscription 154.85ns 158.575 0.98 338.01ns
Specific observable subscribe specific subscriber 40.93ns 46.5777 0.88 233.43ns
Dynamic observable subscribe specific subscriber 106.52ns 108.784 0.98 277.27ns
Specific observable subscribe dynamic observer 43.31ns 44.6093 0.97 241.08ns
Dynamic observable subscribe dynamic observer 97.40ns 95.3377 1.02 260.80ns

Observer construction

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
Specific observer construction 0.40ns 0.335503 1.20 0.40ns
Dynamic observer construction 28.72ns 29.2006 0.98 20.86ns
Specific observer construction + as_dynamic 28.87ns 29.1513 0.99 19.70ns

OnNext

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
Specific observer OnNext 0.44ns 0.669644 0.66 0.44ns
Dynamic observer OnNext 1.61ns 1.67715 0.96 2.01ns

Subscriber construction

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
Make subsriber 48.17ns 48.1497 1.00 66.51ns
Make copy of subscriber 16.04ns 16.753 0.96 4.94ns
Transform subsriber to dynamic 47.44ns 45.8813 1.03 24.53ns

Subscription

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
composite_subscription create 38.85ns 43.2772 0.90 49.74ns
composite_subscription add 51.47ns 49.7153 1.04 20.68ns
composite_subscription unsubscribe 15.07ns 12.5617 1.20 13.66ns

buffer

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
buffer 262.65ns 268.912 0.98 2050.32ns
sending of values from observable via buffer to subscriber 6.36ns 6.431 0.99 22.89ns

chains creation test

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
long non-state chain creation + subscribe 297.51ns 273.575 1.09 510.22ns
long stateful chain creation + subscribe 428.98ns 397.279 1.08 866.89ns

combine_latest

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
combine_latest construction from observable via dot + subscribe 655.18ns 636.732 1.03 899.27ns
sending of values from observable via combine_latest to subscriber 22.47ns 18.0583 1.24 1.76ns

concat

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
concat 1502.84ns 1428.72 1.05 3847.47ns
concat_with 1775.75ns 1697.51 1.05 4175.59ns

distinct_until_changed

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
distinct_until_changed construction from observable via dot + subscribe 130.28ns 127.932 1.02 251.86ns
sending of values from observable via distinct_until_changed to subscriber 2.41ns 2.6846 0.90 1.61ns

first

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
first construction from observable via dot + subscribe 153.23ns 145.31 1.05 629.23ns
sending of values from observable via first to subscriber 0.64ns 0.670325 0.96 0.81ns

foundamental sources

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
empty 84.53ns 85.4237 0.99 666.84ns
error 133.14ns 135.69 0.98 760.25ns
never 44.64ns 46.9145 0.95 248.92ns

from

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
from vector with int 96.58ns 99.2797 0.97 712.75ns

immediate scheduler

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
no any re-schedule 27.40ns 27.4066 1.00 111.36ns
re-schedule 10 times 37.00ns 33.2015 1.11 137.18ns

just

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
just send int 85.66ns 86.7411 0.99 672.92ns
just send variadic 107.91ns 117.825 0.92 777.44ns

map

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
map construction from observable via dot + subscribe 95.70ns 89.3821 1.07 242.55ns
sending of values from observable via map to subscriber 1.21ns 1.00788 1.20 2.01ns

merge

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
merge 1431.19ns 1372.55 1.04 3722.86ns
merge_with 1724.63ns 1632.96 1.06 4174.82ns

observe_on

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
observe_on construction from observable via dot + subscribe 641.20ns 590.826 1.09 2507.80ns
sending of values from observable via observe_on to subscriber 94.76ns 90.439 1.05 203.23ns

publish_subject callbacks

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
on_next 32.72ns 24.061 1.36 8.09ns
on_error 0.61ns 0.505247 1.20 19.00ns
on_completed 0.61ns 0.506888 1.20 0.60ns

publish_subject routines

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
construct 198.84ns 195.042 1.02 160.32ns
get_observable 33.78ns 29.1161 1.16 47.35ns
get_subscriber 66.74ns 57.6683 1.16 12.07ns

repeat

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
repeat construction from observable via dot + subscribe 4228.11ns 4050.03 1.04 3123.64ns

scan

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
scan construction from observable via dot + subscribe 128.74ns 127.604 1.01 296.94ns
sending of values from observable via scan to subscriber 2.01ns 2.01282 1.00 1.61ns

skip

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
skip construction from observable via dot + subscribe 125.48ns 121.373 1.03 479.04ns
sending of values from observable via skip to subscriber 2.41ns 2.34417 1.03 2.59ns

switch_on_next

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
switch_on_next construction from observable via dot + subscribe 2092.65ns 1885.01 1.11 3200.60ns
sending of values from observable via switch_on_next to subscriber 587.20ns 527.378 1.11 727.90ns

take

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
take construction from observable via dot + subscribe 195.54ns 189.372 1.03 512.42ns
sending of values from observable via take to subscriber 2.66ns 2.35 1.13 2.28ns

trampoline scheduler

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
no any re-schedule 36.54ns 37.54 0.97 148.11ns
re-schedule 10 times 52.51ns 55.7199 0.94 179.15ns
recursively schedule 10 times 1420.80ns 1448.87 0.98 5313.46ns

window

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
window 2223.99ns 2055.21 1.08 3276.20ns
sending of values from observable via window to subscriber 592.16ns 555.367 1.07 372.12ns

with_latest_from

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
with_latest_from construction from observable via dot + subscribe 668.82ns 649.814 1.03 1106.29ns
sending of values from observable via with_latest_from to subscriber 22.52ns 17.7447 1.27 2.44ns

ci-ubuntu-gcc

Observable construction

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
Specific observable construction 0.40ns 0.374599 1.07 0.40ns
Dynamic observable construction 32.60ns 37.6583 0.87 22.37ns
Specific observable construction + as_dynamic 29.38ns 34.709 0.85 21.61ns

Observable lift

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
Specific observable lift specific observer 138.36ns 158.949 0.87 327.03ns
Specific observable lift dynamic observer 153.06ns 181.253 0.84 352.66ns
Dynamic observable lift specific observer 206.97ns 234.521 0.88 384.08ns
Dynamic observable lift dynamic observer 222.31ns 240.796 0.92 361.07ns

Observable subscribe

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
Specific observable subscribe specific observer 91.97ns 113.808 0.81 320.33ns
Specific observable subscribe dynamic observer 103.10ns 102.963 1.00 336.71ns
Dynamic observable subscribe specific observer 159.24ns 164.395 0.97 368.00ns
Dynamic observable subscribe dynamic observer 157.94ns 166.083 0.95 348.48ns

Observable subscribe #2

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
Specific observable subscribe lambda 84.12ns 107.819 0.78 330.45ns
Dynamic observable subscribe lambda 175.31ns 187.049 0.94 364.11ns
Specific observable subscribe lambda without subscription 84.08ns 102.066 0.82 327.37ns
Dynamic observable subscribe lambda without subscription 173.22ns 187.049 0.93 359.38ns
Specific observable subscribe specific subscriber 49.48ns 57.9448 0.85 268.65ns
Dynamic observable subscribe specific subscriber 128.03ns 136.067 0.94 308.51ns
Specific observable subscribe dynamic observer 49.04ns 59.8866 0.82 289.55ns
Dynamic observable subscribe dynamic observer 114.18ns 118.586 0.96 290.74ns

Observer construction

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
Specific observer construction 0.40ns 0.372852 1.08 0.40ns
Dynamic observer construction 28.94ns 32.1138 0.90 18.90ns
Specific observer construction + as_dynamic 31.62ns 32.9459 0.96 18.48ns

OnNext

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
Specific observer OnNext 0.42ns 0.368532 1.15 0.43ns
Dynamic observer OnNext 1.61ns 2.23775 0.72 1.61ns

Subscriber construction

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
Make subsriber 35.70ns 49.055 0.73 53.10ns
Make copy of subscriber 16.09ns 17.803 0.90 5.87ns
Transform subsriber to dynamic 45.08ns 50.4645 0.89 24.09ns

Subscription

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
composite_subscription create 34.58ns 47.1281 0.73 49.45ns
composite_subscription add 48.86ns 48.5196 1.01 14.90ns
composite_subscription unsubscribe 15.41ns 15.8718 0.97 11.19ns

buffer

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
buffer 254.88ns 309.574 0.82 1999.59ns
sending of values from observable via buffer to subscriber 6.17ns 8.36857 0.74 27.30ns

chains creation test

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
long non-state chain creation + subscribe 332.53ns 360.699 0.92 711.88ns
long stateful chain creation + subscribe 454.70ns 542.826 0.84 1118.29ns

combine_latest

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
combine_latest construction from observable via dot + subscribe 679.27ns 689.67 0.98 1183.15ns
sending of values from observable via combine_latest to subscriber 22.46ns 20.1245 1.12 1.61ns

concat

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
concat 1500.09ns 1767.17 0.85 3914.86ns
concat_with 1798.11ns 2000.53 0.90 4459.41ns

distinct_until_changed

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
distinct_until_changed construction from observable via dot + subscribe 141.47ns 161.642 0.88 375.09ns
sending of values from observable via distinct_until_changed to subscriber 3.62ns 3.36442 1.07 1.60ns

first

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
first construction from observable via dot + subscribe 168.84ns 185.306 0.91 740.87ns
sending of values from observable via first to subscriber 0.80ns 0.663887 1.21 0.80ns

foundamental sources

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
empty 87.46ns 101.123 0.86 762.82ns
error 135.86ns 164.051 0.83 872.26ns
never 47.46ns 54.138 0.88 275.41ns

from

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
from vector with int 101.94ns 118.696 0.86 851.22ns

immediate scheduler

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
no any re-schedule 28.90ns 31.7971 0.91 122.61ns
re-schedule 10 times 43.34ns 57.7652 0.75 158.85ns

just

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
just send int 90.19ns 95.3329 0.95 804.35ns
just send variadic 115.43ns 149.016 0.77 872.05ns

map

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
map construction from observable via dot + subscribe 110.24ns 120.866 0.91 340.27ns
sending of values from observable via map to subscriber 1.00ns 0.925682 1.08 1.61ns

merge

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
merge 1464.69ns 1674.12 0.87 4195.41ns
merge_with 1779.82ns 1839.27 0.97 4635.84ns

observe_on

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
observe_on construction from observable via dot + subscribe 649.00ns 613.397 1.06 2781.99ns
sending of values from observable via observe_on to subscriber 95.20ns 91.9136 1.04 251.50ns

publish_subject callbacks

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
on_next 29.75ns 28.2941 1.05 9.42ns
on_error 0.81ns 0.750009 1.08 16.16ns
on_completed 0.81ns 0.696606 1.16 0.81ns

publish_subject routines

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
construct 212.99ns 220.023 0.97 148.22ns
get_observable 33.37ns 31.0833 1.07 43.95ns
get_subscriber 63.60ns 54.3649 1.17 21.72ns

repeat

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
repeat construction from observable via dot + subscribe 4363.70ns 4981.35 0.88 3290.88ns

scan

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
scan construction from observable via dot + subscribe 149.73ns 165.444 0.91 398.55ns
sending of values from observable via scan to subscriber 2.81ns 3.22788 0.87 1.61ns

skip

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
skip construction from observable via dot + subscribe 139.39ns 156.335 0.89 535.37ns
sending of values from observable via skip to subscriber 2.81ns 3.41265 0.82 2.65ns

switch_on_next

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
switch_on_next construction from observable via dot + subscribe 2032.99ns 1968.75 1.03 4476.32ns
sending of values from observable via switch_on_next to subscriber 572.53ns 635.518 0.90 1192.95ns

take

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
take construction from observable via dot + subscribe 196.05ns 208.782 0.94 611.73ns
sending of values from observable via take to subscriber 3.66ns 5.06517 0.72 2.90ns

trampoline scheduler

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
no any re-schedule 46.72ns 104.86 0.45 176.44ns
re-schedule 10 times 69.54ns 70.5733 0.99 203.94ns
recursively schedule 10 times 1459.34ns 1776.21 0.82 6456.78ns

window

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
window 2247.68ns 2292.41 0.98 3388.77ns
sending of values from observable via window to subscriber 614.02ns 622.506 0.99 425.81ns

with_latest_from

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
with_latest_from construction from observable via dot + subscribe 706.75ns 739.267 0.96 1501.33ns
sending of values from observable via with_latest_from to subscriber 22.46ns 34.1297 0.66 3.38ns

ci-windows

Observable construction

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
Specific observable construction 1.51ns 1.50297 1.01 0.69ns
Dynamic observable construction 87.00ns 79.7719 1.09 105.14ns
Specific observable construction + as_dynamic 98.12ns 79.8006 1.23 127.84ns

Observable lift

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
Specific observable lift specific observer 207.38ns 181.0 1.15 1214.87ns
Specific observable lift dynamic observer 230.95ns 208.73 1.11 1465.05ns
Dynamic observable lift specific observer 282.69ns 307.217 0.92 1815.41ns
Dynamic observable lift dynamic observer 223.29ns 267.832 0.83 1396.30ns

Observable subscribe

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
Specific observable subscribe specific observer 128.28ns 144.402 0.89 1391.86ns
Specific observable subscribe dynamic observer 187.86ns 157.429 1.19 1103.05ns
Dynamic observable subscribe specific observer 248.86ns 262.48 0.95 1240.50ns
Dynamic observable subscribe dynamic observer 222.14ns 207.675 1.07 1438.62ns

Observable subscribe #2

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
Specific observable subscribe lambda 150.94ns 145.028 1.04 1407.58ns
Dynamic observable subscribe lambda 269.18ns 264.887 1.02 1496.00ns
Specific observable subscribe lambda without subscription 159.55ns 145.466 1.10 1193.14ns
Dynamic observable subscribe lambda without subscription 246.41ns 265.857 0.93 1619.70ns
Specific observable subscribe specific subscriber 42.06ns 47.8724 0.88 989.86ns
Dynamic observable subscribe specific subscriber 137.41ns 163.573 0.84 1175.50ns
Specific observable subscribe dynamic observer 59.96ns 50.8491 1.18 1044.23ns
Dynamic observable subscribe dynamic observer 97.68ns 99.6719 0.98 1074.37ns

Observer construction

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
Specific observer construction 1.69ns 1.50344 1.12 1.38ns
Dynamic observer construction 96.32ns 86.2558 1.12 120.08ns
Specific observer construction + as_dynamic 95.23ns 82.3074 1.16 123.50ns

OnNext

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
Specific observer OnNext 0.76ns 0.66908 1.13 0.82ns
Dynamic observer OnNext 2.01ns 1.67473 1.20 2.81ns

Subscriber construction

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
Make subsriber 96.53ns 93.779 1.03 384.38ns
Make copy of subscriber 16.19ns 16.7278 0.97 36.49ns
Transform subsriber to dynamic 89.75ns 97.9464 0.92 150.29ns

Subscription

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
composite_subscription create 92.04ns 91.4858 1.01 299.63ns
composite_subscription add 71.14ns 85.6295 0.83 74.95ns
composite_subscription unsubscribe 16.78ns 14.5945 1.15 32.14ns

buffer

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
buffer 435.95ns 481.79 0.90 6107.83ns
sending of values from observable via buffer to subscriber 6.99ns 6.54229 1.07 113.20ns

chains creation test

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
long non-state chain creation + subscribe 316.55ns 282.899 1.12 1789.50ns
long stateful chain creation + subscribe 777.00ns 778.833 1.00 3276.11ns

combine_latest

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
combine_latest construction from observable via dot + subscribe 1117.96ns 1074.52 1.04 2814.12ns
sending of values from observable via combine_latest to subscriber 43.26ns 35.7612 1.21 4.89ns

concat

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
concat 2298.00ns 2077.58 1.11 12400.70ns
concat_with 3147.20ns 2685.0 1.17 12653.70ns

distinct_until_changed

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
distinct_until_changed construction from observable via dot + subscribe 221.04ns 200.039 1.10 1238.81ns
sending of values from observable via distinct_until_changed to subscriber 3.61ns 3.67946 0.98 3.53ns

first

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
first construction from observable via dot + subscribe 141.38ns 143.759 0.98 2796.82ns
sending of values from observable via first to subscriber 2.41ns 2.68522 0.90 1.67ns

foundamental sources

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
empty 96.24ns 80.0762 1.20 2501.30ns
error 156.52ns 134.987 1.16 2380.36ns
never 50.33ns 49.3757 1.02 920.82ns

from

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
from vector with int 185.72ns 165.458 1.12 2543.36ns

immediate scheduler

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
no any re-schedule 32.57ns 27.7813 1.17 493.49ns
re-schedule 10 times 128.15ns 126.995 1.01 485.12ns

just

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
just send int 103.78ns 86.6286 1.20 2308.83ns
just send variadic 144.16ns 119.935 1.20 2180.09ns

map

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
map construction from observable via dot + subscribe 119.91ns 102.395 1.17 1050.70ns
sending of values from observable via map to subscriber 3.40ns 3.34397 1.02 7.95ns

merge

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
merge 2357.75ns 1954.77 1.21 10768.00ns
merge_with 2808.60ns 2607.2 1.08 15090.30ns

observe_on

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
observe_on construction from observable via dot + subscribe 951.86ns 831.862 1.14 4809.80ns
sending of values from observable via observe_on to subscriber 129.80ns 90.4239 1.44 737.97ns

publish_subject callbacks

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
on_next 20.25ns 19.9667 1.01 34.69ns
on_error 4.30ns 3.53902 1.21 19.00ns
on_completed 2.97ns 2.70812 1.10 0.77ns

publish_subject routines

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
construct 346.93ns 356.377 0.97 779.17ns
get_observable 33.09ns 28.6304 1.16 144.59ns
get_subscriber 42.64ns 50.1965 0.85 104.14ns

repeat

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
repeat construction from observable via dot + subscribe 7408.50ns 6079.6 1.22 15596.70ns

scan

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
scan construction from observable via dot + subscribe 172.55ns 205.3 0.84 1383.95ns
sending of values from observable via scan to subscriber 6.69ns 5.37678 1.24 9.68ns

skip

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
skip construction from observable via dot + subscribe 212.85ns 190.455 1.12 1887.31ns
sending of values from observable via skip to subscriber 4.35ns 3.68007 1.18 5.43ns

switch_on_next

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
switch_on_next construction from observable via dot + subscribe 3112.67ns 2978.0 1.05 14405.50ns
sending of values from observable via switch_on_next to subscriber 949.60ns 800.219 1.19 3575.75ns

take

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
take construction from observable via dot + subscribe 293.14ns 243.824 1.20 2568.92ns
sending of values from observable via take to subscriber 5.86ns 5.37513 1.09 5.91ns

trampoline scheduler

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
no any re-schedule 47.19ns 42.4428 1.11 673.72ns
re-schedule 10 times 113.44ns 136.202 0.83 663.68ns
recursively schedule 10 times 3045.11ns 2733.2 1.11 16032.00ns

window

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
window 3050.67ns 2949.44 1.03 12751.30ns
sending of values from observable via window to subscriber 810.66ns 836.484 0.97 1819.89ns

with_latest_from

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
with_latest_from construction from observable via dot + subscribe 1405.12ns 1215.64 1.16 4179.00ns
sending of values from observable via with_latest_from to subscriber 35.21ns 29.1453 1.21 7.42ns

@codecov
Copy link

codecov bot commented Sep 3, 2022

Codecov Report

Merging #250 (4cf21dc) into main (e0b71e3) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #250   +/-   ##
=======================================
  Coverage   98.57%   98.57%           
=======================================
  Files         128      128           
  Lines        5130     5130           
=======================================
  Hits         5057     5057           
  Misses         73       73           

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

@sonarqubecloud
Copy link

sonarqubecloud bot commented Sep 3, 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 marked this pull request as ready for review September 3, 2022 21:37
@victimsnino victimsnino merged commit 634f3bf into main Sep 3, 2022
@victimsnino victimsnino deleted the sonar branch September 3, 2022 21:38
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