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

Fix intellisense #289

Merged
merged 4 commits into from
Nov 7, 2022
Merged

Fix intellisense #289

merged 4 commits into from
Nov 7, 2022

Conversation

victimsnino
Copy link
Owner

No description provided.

@github-actions
Copy link
Contributor

github-actions bot commented Nov 7, 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.379651 1.06 0.40ns
Dynamic observable construction 28.83ns 32.6141 0.88 25.71ns
Specific observable construction + as_dynamic 31.43ns 32.5278 0.97 25.53ns

Observable lift

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
Specific observable lift specific observer 94.85ns 108.931 0.87 291.49ns
Specific observable lift dynamic observer 121.46ns 138.796 0.88 314.95ns
Dynamic observable lift specific observer 177.51ns 192.673 0.92 338.98ns
Dynamic observable lift dynamic observer 188.74ns 198.901 0.95 333.74ns

Observable subscribe

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
Specific observable subscribe specific observer 67.92ns 68.9571 0.99 289.52ns
Specific observable subscribe dynamic observer 77.89ns 82.421 0.95 298.48ns
Dynamic observable subscribe specific observer 128.26ns 142.022 0.90 334.21ns
Dynamic observable subscribe dynamic observer 132.40ns 140.013 0.95 321.88ns

Observable subscribe #2

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
Specific observable subscribe lambda 56.41ns 65.9979 0.85 296.07ns
Dynamic observable subscribe lambda 121.68ns 143.054 0.85 333.46ns
Specific observable subscribe lambda without subscription 55.95ns 129.628 0.43 302.76ns
Dynamic observable subscribe lambda without subscription 122.98ns 157.066 0.78 342.94ns
Specific observable subscribe specific subscriber 25.37ns 41.1955 0.62 237.02ns
Dynamic observable subscribe specific subscriber 90.46ns 99.0031 0.91 285.78ns
Specific observable subscribe dynamic observer 25.71ns 32.0553 0.80 243.50ns
Dynamic observable subscribe dynamic observer 90.42ns 87.6089 1.03 261.89ns

Observer construction

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
Specific observer construction 0.40ns 0.377511 1.07 0.40ns
Dynamic observer construction 28.64ns 35.1439 0.81 19.26ns
Specific observer construction + as_dynamic 28.77ns 34.0247 0.85 19.29ns

OnNext

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
Specific observer OnNext 0.44ns 0.748118 0.59 0.44ns
Dynamic observer OnNext 2.01ns 2.28788 0.88 1.60ns

Subscriber construction

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
Make subsriber 33.17ns 40.805 0.81 70.20ns
Make copy of subscriber 16.12ns 19.3479 0.83 4.91ns
Transform subsriber to dynamic 44.67ns 48.4685 0.92 24.90ns

Subscription

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
composite_subscription create 34.09ns 40.982 0.83 51.85ns
composite_subscription add 53.98ns 61.9576 0.87 83.75ns
composite_subscription unsubscribe 44.43ns 50.0796 0.89 21.78ns

buffer

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
buffer 244.50ns 283.473 0.86 1901.19ns
sending of values from observable via buffer to subscriber 4.82ns 6.03174 0.80 23.72ns

chains creation test

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
long non-state chain creation + subscribe 281.58ns 302.575 0.93 513.88ns
long stateful chain creation + subscribe 402.51ns 490.6 0.82 1408.57ns

combine_latest

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
combine_latest construction from observable via dot + subscribe 917.49ns 998.369 0.92 888.23ns
sending of values from observable via combine_latest to subscriber 34.16ns 38.2939 0.89 1.64ns

concat

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
concat 1951.20ns 2193.28 0.89 3700.25ns
concat_with 2295.84ns 2511.07 0.91 4144.50ns

distinct_until_changed

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
distinct_until_changed construction from observable via dot + subscribe 116.62ns 122.874 0.95 248.20ns
sending of values from observable via distinct_until_changed to subscriber 2.41ns 2.61321 0.92 1.24ns

first

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
first construction from observable via dot + subscribe 135.87ns 147.687 0.92 614.44ns
sending of values from observable via first to subscriber 0.80ns 0.637746 1.26 0.80ns

foundamental sources

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
empty 65.14ns 71.7381 0.91 674.12ns
error 113.10ns 162.654 0.70 790.35ns
never 26.19ns 33.9383 0.77 247.09ns

from

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
from vector with int 77.65ns 102.412 0.76 705.95ns

immediate scheduler

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
no any re-schedule 0.72ns 0.591085 1.22 109.69ns
re-schedule 10 times 10.86ns 10.4485 1.04 138.85ns

just

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
just send int 66.21ns 72.7994 0.91 674.77ns
just send variadic 88.18ns 106.134 0.83 766.29ns

last

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
last construction from observable via dot + subscribe 172.37ns 191.442 0.90 360.50ns
sending of values from observable via last to subscriber 2.58ns 3.34497 0.77 1.55ns

map

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
map construction from observable via dot + subscribe 76.68ns 79.4289 0.97 241.52ns
sending of values from observable via map to subscriber 0.98ns 0.837098 1.17 1.76ns

merge

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
merge 1896.06ns 2133.8 0.89 3706.00ns
merge_with 2245.92ns 2607.91 0.86 4032.00ns

observe_on

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
observe_on construction from observable via dot + subscribe 444.45ns 495.078 0.90 2565.00ns
sending of values from observable via observe_on to subscriber 59.28ns 62.0019 0.96 196.74ns

on_error_resume_next

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
on_error_resume_next construction from observable via dot + subscribe 437.67ns 485.936 0.90 932.48ns

publish_subject callbacks

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
on_next 29.70ns 27.6818 1.07 9.64ns
on_error 0.61ns 0.645324 0.94 19.01ns
on_completed 0.61ns 0.728423 0.83 0.60ns

publish_subject routines

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
construct 207.84ns 248.671 0.84 159.67ns
get_observable 33.78ns 30.9778 1.09 47.38ns
get_subscriber 66.58ns 62.0708 1.07 11.69ns

repeat

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
repeat construction from observable via dot + subscribe 4141.99ns 4542.28 0.91 3169.22ns

scan

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
scan construction from observable via dot + subscribe 107.35ns 116.509 0.92 304.17ns
sending of values from observable via scan to subscriber 2.01ns 2.24243 0.90 1.68ns

single-threaded locks

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
no-lock increment 3.13ns 2.34959 1.33 .
mutex lock increment 22.11ns 20.9295 1.06 .
spin-lock increment 10.45ns 12.7765 0.82 .

skip

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
skip construction from observable via dot + subscribe 108.66ns 118.109 0.92 480.13ns
sending of values from observable via skip to subscriber 2.41ns 2.68462 0.90 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 2312.31ns 2620.41 0.88 3154.87ns
sending of values from observable via switch_on_next to subscriber 607.50ns 783.999 0.77 714.76ns

take

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
take construction from observable via dot + subscribe 182.30ns 355.061 0.51 504.76ns
sending of values from observable via take to subscriber 2.16ns 2.60943 0.83 2.21ns

take_last

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
take_last construction from observable via dot + subscribe 216.07ns 248.535 0.87 544.07ns
sending of values from observable via take_last to subscriber 3.28ns 3.3867 0.97 3.69ns

take_until

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
take_until construction from observable via dot + subscribe 1079.89ns 1207.15 0.89 1319.91ns
sending of values from observable via take_until to subscriber 10.44ns 17.6835 0.59 2.03ns

timeout

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
timeout construction from observable via dot + subscribe with run_loop 900.03ns 1014.64 0.89 13564.90ns
sending of values from observable via timeout to subscriber with unreachable timeout interval with run_loop 59.27ns 58.5711 1.01 16352.40ns

trampoline scheduler

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
no any re-schedule 10.26ns 13.3335 0.77 145.79ns
re-schedule 10 times 26.44ns 31.8547 0.83 178.06ns
recursively schedule 10 times 1452.95ns 2083.66 0.70 6872.21ns

window

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
window 2150.35ns 2335.14 0.92 3314.34ns
sending of values from observable via window to subscriber 586.78ns 616.877 0.95 370.08ns

with_latest_from

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
with_latest_from construction from observable via dot + subscribe 1064.81ns 1177.63 0.90 1102.78ns
sending of values from observable via with_latest_from to subscriber 29.30ns 33.9087 0.86 2.81ns

ci-ubuntu-gcc

Observable construction

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
Specific observable construction 0.30ns 0.378499 0.79 0.29ns
Dynamic observable construction 25.66ns 32.2584 0.80 20.14ns
Specific observable construction + as_dynamic 25.48ns 34.3518 0.74 19.63ns

Observable lift

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
Specific observable lift specific observer 110.10ns 114.477 0.96 310.97ns
Specific observable lift dynamic observer 108.67ns 143.023 0.76 385.16ns
Dynamic observable lift specific observer 169.67ns 210.461 0.81 354.73ns
Dynamic observable lift dynamic observer 220.16ns 236.717 0.93 359.57ns

Observable subscribe

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
Specific observable subscribe specific observer 55.46ns 66.6488 0.83 309.89ns
Specific observable subscribe dynamic observer 64.83ns 102.144 0.63 327.75ns
Dynamic observable subscribe specific observer 130.52ns 155.259 0.84 325.73ns
Dynamic observable subscribe dynamic observer 109.17ns 153.982 0.71 324.12ns

Observable subscribe #2

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
Specific observable subscribe lambda 65.43ns 68.8673 0.95 286.45ns
Dynamic observable subscribe lambda 134.84ns 153.497 0.88 380.30ns
Specific observable subscribe lambda without subscription 52.22ns 68.303 0.76 283.39ns
Dynamic observable subscribe lambda without subscription 144.78ns 143.052 1.01 332.00ns
Specific observable subscribe specific subscriber 26.08ns 36.1549 0.72 242.03ns
Dynamic observable subscribe specific subscriber 108.55ns 119.02 0.91 276.06ns
Specific observable subscribe dynamic observer 30.30ns 37.0547 0.82 241.63ns
Dynamic observable subscribe dynamic observer 113.19ns 104.801 1.08 256.07ns

Observer construction

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
Specific observer construction 0.31ns 0.39744 0.79 0.32ns
Dynamic observer construction 42.21ns 33.2374 1.27 17.58ns
Specific observer construction + as_dynamic 26.56ns 36.6135 0.73 22.54ns

OnNext

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
Specific observer OnNext 0.34ns 0.40848 0.82 0.35ns
Dynamic observer OnNext 1.82ns 2.34478 0.78 2.07ns

Subscriber construction

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
Make subsriber 40.21ns 43.8816 0.92 65.62ns
Make copy of subscriber 17.04ns 19.1188 0.89 4.78ns
Transform subsriber to dynamic 45.86ns 50.7653 0.90 21.58ns

Subscription

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
composite_subscription create 31.13ns 39.6651 0.78 50.99ns
composite_subscription add 56.47ns 56.3561 1.00 98.51ns
composite_subscription unsubscribe 41.26ns 53.2059 0.78 20.70ns

buffer

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
buffer 217.68ns 290.128 0.75 2137.48ns
sending of values from observable via buffer to subscriber 6.67ns 7.78366 0.86 49.92ns

chains creation test

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
long non-state chain creation + subscribe 310.61ns 340.806 0.91 621.10ns
long stateful chain creation + subscribe 431.03ns 509.034 0.85 4202.84ns

combine_latest

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
combine_latest construction from observable via dot + subscribe 862.34ns 1152.08 0.75 1375.21ns
sending of values from observable via combine_latest to subscriber 27.38ns 34.5563 0.79 1.66ns

concat

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
concat 1954.23ns 2413.95 0.81 3584.40ns
concat_with 2207.35ns 2706.43 0.82 3814.74ns

distinct_until_changed

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
distinct_until_changed construction from observable via dot + subscribe 133.46ns 140.099 0.95 386.76ns
sending of values from observable via distinct_until_changed to subscriber 2.52ns 3.60562 0.70 1.11ns

first

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
first construction from observable via dot + subscribe 134.16ns 165.931 0.81 642.82ns
sending of values from observable via first to subscriber 0.63ns 0.805249 0.78 0.48ns

foundamental sources

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
empty 72.77ns 80.6366 0.90 721.53ns
error 126.71ns 141.563 0.90 853.17ns
never 31.80ns 39.519 0.80 266.09ns

from

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
from vector with int 87.96ns 102.025 0.86 764.94ns

immediate scheduler

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
no any re-schedule 0.65ns 0.850593 0.77 153.43ns
re-schedule 10 times 18.23ns 20.6941 0.88 175.27ns

just

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
just send int 60.82ns 84.3078 0.72 722.69ns
just send variadic 98.84ns 128.092 0.77 741.49ns

last

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
last construction from observable via dot + subscribe 172.19ns 211.701 0.81 494.73ns
sending of values from observable via last to subscriber 2.34ns 2.92509 0.80 1.12ns

map

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
map construction from observable via dot + subscribe 75.92ns 96.9891 0.78 354.54ns
sending of values from observable via map to subscriber 0.72ns 0.95793 0.75 1.40ns

merge

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
merge 2025.71ns 2310.94 0.88 3351.74ns
merge_with 2459.18ns 2669.32 0.92 4019.89ns

observe_on

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
observe_on construction from observable via dot + subscribe 426.43ns 538.87 0.79 2589.24ns
sending of values from observable via observe_on to subscriber 60.91ns 72.3792 0.84 209.27ns

on_error_resume_next

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
on_error_resume_next construction from observable via dot + subscribe 403.07ns 531.775 0.76 1032.85ns

publish_subject callbacks

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
on_next 23.00ns 26.915 0.85 10.56ns
on_error 0.82ns 0.857207 0.95 18.38ns
on_completed 0.57ns 0.739567 0.77 0.56ns

publish_subject routines

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
construct 178.14ns 243.763 0.73 189.28ns
get_observable 27.16ns 34.5724 0.79 51.29ns
get_subscriber 55.45ns 67.0371 0.83 24.21ns

repeat

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
repeat construction from observable via dot + subscribe 4282.18ns 5055.22 0.85 2878.02ns

scan

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
scan construction from observable via dot + subscribe 104.06ns 143.962 0.72 390.67ns
sending of values from observable via scan to subscriber 1.99ns 2.56732 0.77 1.87ns

single-threaded locks

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
no-lock increment 2.34ns 2.79209 0.84 .
mutex lock increment 20.14ns 21.878 0.92 .
spin-lock increment 10.83ns 14.5362 0.75 .

skip

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
skip construction from observable via dot + subscribe 99.70ns 131.742 0.76 483.44ns
sending of values from observable via skip to subscriber 2.33ns 2.50077 0.93 2.03ns

switch_on_next

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
switch_on_next construction from observable via dot + subscribe 2441.35ns 2891.29 0.84 4694.53ns
sending of values from observable via switch_on_next to subscriber 552.88ns 776.901 0.71 1094.31ns

take

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
take construction from observable via dot + subscribe 156.24ns 198.111 0.79 601.11ns
sending of values from observable via take to subscriber 4.08ns 4.6585 0.88 4.17ns

take_last

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
take_last construction from observable via dot + subscribe 180.63ns 263.552 0.69 668.11ns
sending of values from observable via take_last to subscriber 2.89ns 3.3965 0.85 5.71ns

take_until

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
take_until construction from observable via dot + subscribe 933.23ns 1203.34 0.78 1444.32ns
sending of values from observable via take_until to subscriber 9.89ns 16.5266 0.60 1.67ns

timeout

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
timeout construction from observable via dot + subscribe with run_loop 899.72ns 1131.63 0.80 21892.70ns
sending of values from observable via timeout to subscriber with unreachable timeout interval with run_loop 53.31ns 66.6028 0.80 24545.80ns

trampoline scheduler

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
no any re-schedule 20.61ns 27.1492 0.76 165.55ns
re-schedule 10 times 50.93ns 60.2446 0.85 188.13ns
recursively schedule 10 times 1435.59ns 1836.91 0.78 10432.10ns

window

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
window 2114.72ns 2718.87 0.78 3386.25ns
sending of values from observable via window to subscriber 642.10ns 682.882 0.94 403.59ns

with_latest_from

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
with_latest_from construction from observable via dot + subscribe 1041.82ns 1284.78 0.81 1320.01ns
sending of values from observable via with_latest_from to subscriber 31.60ns 37.2216 0.85 3.84ns

ci-windows

Observable construction

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
Specific observable construction 1.81ns 1.93426 0.93 0.85ns
Dynamic observable construction 97.12ns 93.3593 1.04 150.45ns
Specific observable construction + as_dynamic 98.00ns 96.1781 1.02 161.40ns

Observable lift

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
Specific observable lift specific observer 175.05ns 166.497 1.05 1535.00ns
Specific observable lift dynamic observer 212.69ns 215.338 0.99 1553.17ns
Dynamic observable lift specific observer 336.28ns 331.694 1.01 1737.58ns
Dynamic observable lift dynamic observer 284.22ns 308.99 0.92 1618.80ns

Observable subscribe

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
Specific observable subscribe specific observer 171.69ns 130.596 1.31 1444.33ns
Specific observable subscribe dynamic observer 158.26ns 150.636 1.05 1498.21ns
Dynamic observable subscribe specific observer 274.91ns 308.495 0.89 2323.30ns
Dynamic observable subscribe dynamic observer 222.36ns 213.515 1.04 1524.57ns

Observable subscribe #2

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
Specific observable subscribe lambda 133.03ns 128.421 1.04 3160.95ns
Dynamic observable subscribe lambda 270.15ns 283.66 0.95 1674.00ns
Specific observable subscribe lambda without subscription 133.32ns 127.261 1.05 1450.88ns
Dynamic observable subscribe lambda without subscription 270.82ns 265.371 1.02 1683.05ns
Specific observable subscribe specific subscriber 36.93ns 36.2503 1.02 1044.79ns
Dynamic observable subscribe specific subscriber 175.45ns 169.475 1.04 1262.14ns
Specific observable subscribe dynamic observer 36.58ns 41.7838 0.88 1075.85ns
Dynamic observable subscribe dynamic observer 94.69ns 99.4697 0.95 1118.80ns

Observer construction

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
Specific observer construction 1.81ns 2.06165 0.88 1.80ns
Dynamic observer construction 98.08ns 91.9559 1.07 186.33ns
Specific observer construction + as_dynamic 98.04ns 92.9835 1.05 142.42ns

OnNext

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
Specific observer OnNext 0.80ns 0.743716 1.08 0.82ns
Dynamic observer OnNext 2.53ns 2.43582 1.04 2.43ns

Subscriber construction

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
Make subsriber 101.74ns 95.3094 1.07 433.41ns
Make copy of subscriber 20.09ns 16.7252 1.20 40.53ns
Transform subsriber to dynamic 114.62ns 104.846 1.09 191.11ns

Subscription

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
composite_subscription create 100.82ns 98.475 1.02 426.73ns
composite_subscription add 82.72ns 92.1483 0.90 220.27ns
composite_subscription unsubscribe 75.77ns 75.1151 1.01 177.02ns

buffer

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
buffer 431.08ns 421.9 1.02 5347.43ns
sending of values from observable via buffer to subscriber 8.83ns 7.85959 1.12 109.66ns

chains creation test

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
long non-state chain creation + subscribe 323.90ns 307.203 1.05 2121.40ns
long stateful chain creation + subscribe 870.08ns 812.061 1.07 3818.22ns

combine_latest

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
combine_latest construction from observable via dot + subscribe 1973.53ns 1973.36 1.00 4248.78ns
sending of values from observable via combine_latest to subscriber 56.03ns 53.3526 1.05 5.28ns

concat

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
concat 3270.20ns 3950.38 0.83 13039.30ns
concat_with 4085.75ns 3910.57 1.04 13884.70ns

distinct_until_changed

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
distinct_until_changed construction from observable via dot + subscribe 222.14ns 223.276 0.99 1584.34ns
sending of values from observable via distinct_until_changed to subscriber 5.36ns 5.11245 1.05 4.92ns

first

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
first construction from observable via dot + subscribe 154.74ns 160.973 0.96 3100.18ns
sending of values from observable via first to subscriber 3.10ns 3.04643 1.02 2.08ns

foundamental sources

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
empty 75.83ns 78.3187 0.97 2893.50ns
error 133.73ns 134.69 0.99 3021.83ns
never 36.74ns 34.9745 1.05 1140.24ns

from

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
from vector with int 173.59ns 159.574 1.09 2981.08ns

immediate scheduler

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
no any re-schedule 3.60ns 1.56575 2.30 489.76ns
re-schedule 10 times 117.09ns 136.51 0.86 521.12ns

just

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
just send int 79.49ns 77.6124 1.02 4976.90ns
just send variadic 123.24ns 114.778 1.07 3532.73ns

last

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
last construction from observable via dot + subscribe 284.11ns 254.581 1.12 1736.32ns
sending of values from observable via last to subscriber 3.92ns 4.21486 0.93 4.11ns

map

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
map construction from observable via dot + subscribe 105.64ns 105.622 1.00 1222.32ns
sending of values from observable via map to subscriber 4.21ns 4.97198 0.85 8.34ns

merge

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
merge 3168.40ns 3078.44 1.03 13106.30ns
merge_with 3951.25ns 3908.29 1.01 14971.30ns

observe_on

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
observe_on construction from observable via dot + subscribe 774.61ns 859.0 0.90 6707.17ns
sending of values from observable via observe_on to subscriber 85.32ns 76.5568 1.11 946.46ns

on_error_resume_next

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
on_error_resume_next construction from observable via dot + subscribe 1276.88ns 1335.49 0.96 2227.80ns

publish_subject callbacks

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
on_next 23.90ns 25.3583 0.94 70.15ns
on_error 4.20ns 3.14305 1.34 22.28ns
on_completed 3.65ns 3.25046 1.12 1.63ns

publish_subject routines

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
construct 422.90ns 422.339 1.00 736.00ns
get_observable 31.29ns 32.7723 0.95 197.27ns
get_subscriber 60.84ns 62.0427 0.98 126.26ns

repeat

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
repeat construction from observable via dot + subscribe 7274.20ns 7348.0 0.99 13419.30ns

scan

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
scan construction from observable via dot + subscribe 219.67ns 224.039 0.98 1509.71ns
sending of values from observable via scan to subscriber 7.05ns 6.25537 1.13 11.35ns

single-threaded locks

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
no-lock increment 2.34ns 3.05405 0.76 .
mutex lock increment 30.91ns 28.6784 1.08 .
spin-lock increment 10.85ns 12.3669 0.88 .

skip

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
skip construction from observable via dot + subscribe 213.54ns 210.771 1.01 1860.71ns
sending of values from observable via skip to subscriber 4.03ns 5.24657 0.77 5.08ns

switch_on_next

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
switch_on_next construction from observable via dot + subscribe 4175.75ns 4271.0 0.98 14397.00ns
sending of values from observable via switch_on_next to subscriber 1021.48ns 1003.44 1.02 3666.44ns

take

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
take construction from observable via dot + subscribe 271.00ns 269.517 1.01 2660.00ns
sending of values from observable via take to subscriber 6.95ns 6.22147 1.12 7.82ns

take_last

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
take_last construction from observable via dot + subscribe 398.97ns 370.323 1.08 2901.17ns
sending of values from observable via take_last to subscriber 5.09ns 5.09127 1.00 30.25ns

take_until

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
take_until construction from observable via dot + subscribe 1889.81ns 2159.67 0.88 6259.40ns
sending of values from observable via take_until to subscriber 14.40ns 14.2763 1.01 8.80ns

timeout

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
timeout construction from observable via dot + subscribe with run_loop 1662.71ns 1515.38 1.10 6672.25ns
sending of values from observable via timeout to subscriber with unreachable timeout interval with run_loop 66.05ns 61.8958 1.07 1602.82ns

trampoline scheduler

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
no any re-schedule 22.78ns 23.5342 0.97 749.74ns
re-schedule 10 times 144.88ns 150.861 0.96 818.91ns
recursively schedule 10 times 3136.30ns 3405.78 0.92 22770.00ns

window

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
window 3441.56ns 3504.25 0.98 11532.70ns
sending of values from observable via window to subscriber 1000.47ns 954.621 1.05 2215.00ns

with_latest_from

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
with_latest_from construction from observable via dot + subscribe 2280.00ns 2512.0 0.91 4590.29ns
sending of values from observable via with_latest_from to subscriber 45.38ns 40.8549 1.11 8.27ns

@sonarqubecloud
Copy link

sonarqubecloud bot commented Nov 7, 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

0.0% 0.0% Coverage
0.0% 0.0% Duplication

@victimsnino victimsnino merged commit 5518d8a into main Nov 7, 2022
@victimsnino victimsnino deleted the fix_intellisense branch November 7, 2022 20:59
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