Skip to content

Commit

Permalink
Minor update for cmake
Browse files Browse the repository at this point in the history
  • Loading branch information
victimsnino committed Aug 22, 2022
1 parent 786bc3a commit 0676f4e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/rpp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ else()
add_library(rpp INTERFACE ${FILES})
endif()

add_library(RPP::rpp ALIAS rpp)

# target_sources(rpp INTERFACE ${FILES})
target_include_directories(rpp
INTERFACE
Expand Down

1 comment on commit 0676f4e

@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.

Linux CLANG

Observable construction

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
Specific observable construction 0.34ns 0.401426 0.84 0.34ns
Dynamic observable construction 29.22ns 28.563 1.02 24.54ns
Specific observable construction + as_dynamic 29.18ns 28.6274 1.02 24.91ns

Observable lift

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
Specific observable lift specific observer 163.87ns 162.859 1.01 286.09ns
Specific observable lift dynamic observer 188.53ns 191.229 0.99 320.21ns
Dynamic observable lift specific observer 238.75ns 240.638 0.99 336.30ns
Dynamic observable lift dynamic observer 246.34ns 256.174 0.96 321.98ns

Observable subscribe

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
Specific observable subscribe specific observer 131.34ns 126.407 1.04 284.12ns
Specific observable subscribe dynamic observer 144.15ns 141.437 1.02 292.55ns
Dynamic observable subscribe specific observer 194.59ns 192.762 1.01 329.29ns
Dynamic observable subscribe dynamic observer 189.76ns 194.4 0.98 312.47ns

Observable subscribe #2

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
Specific observable subscribe lambda 129.03ns 126.071 1.02 286.96ns
Dynamic observable subscribe lambda 195.01ns 192.619 1.01 325.51ns
Specific observable subscribe lambda without subscription 129.23ns 125.987 1.03 286.73ns
Dynamic observable subscribe lambda without subscription 194.62ns 189.771 1.03 326.34ns
Specific observable subscribe specific subscriber 96.81ns 94.9939 1.02 223.76ns
Dynamic observable subscribe specific subscriber 160.74ns 159.242 1.01 267.15ns
Specific observable subscribe dynamic observer 98.41ns 95.3713 1.03 236.47ns
Dynamic observable subscribe dynamic observer 144.81ns 148.067 0.98 257.80ns

Observer construction

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
Specific observer construction 0.34ns 0.401387 0.83 0.33ns
Dynamic observer construction 29.17ns 31.3258 0.93 20.74ns
Specific observer construction + as_dynamic 45.98ns 31.525 1.46 20.95ns

OnNext

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
Specific observer OnNext 0.67ns 0.443042 1.51 0.67ns
Dynamic observer OnNext 2.01ns 2.00992 1.00 2.67ns

Subscriber construction

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
Make subsriber 32.46ns 33.1186 0.98 64.38ns
Make copy of subscriber 21.14ns 16.0804 1.31 4.70ns
Transform subsriber to dynamic 47.90ns 47.4911 1.01 27.00ns

Subscription

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
composite_subscription create 32.44ns 32.58 1.00 52.51ns
composite_subscription add 41.14ns 45.4658 0.90 20.81ns
composite_subscription unsubscribe 6.03ns 8.02418 0.75 9.72ns
composite_subscription unsubscribe only subscribed 8.36ns 8.07421 1.04 10.13ns

buffer

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
buffer 344.57ns 358.434 0.96 1915.02ns
sending of values from observable via buffer to subscriber 3.98ns 4.16246 0.96 26.87ns

chains creation test

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
long non-state chain creation + subscribe 323.43ns 350.002 0.92 503.87ns
long stateful chain creation + subscribe 500.26ns 524.894 0.95 804.30ns

concat

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
concat 1360.42ns 1446.58 0.94 3307.94ns
concat_with 1628.81ns 1748.24 0.93 3689.70ns

distinct_until_changed

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
distinct_until_changed construction from observable via dot + subscribe 180.80ns 184.185 0.98 254.93ns
sending of values from observable via distinct_until_changed to subscriber 2.79ns 2.44171 1.14 1.34ns

foundamental sources

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
empty 131.90ns 132.579 0.99 634.48ns
error 183.25ns 181.794 1.01 741.45ns
never 99.98ns 96.9874 1.03 256.74ns

from

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
from vector with int 148.78ns 145.348 1.02 659.07ns

immediate scheduler

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
no any re-schedule 28.12ns 27.3256 1.03 116.28ns
re-schedule 10 times 584.16ns 570.88 1.02 150.70ns

just

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
just send int 134.18ns 134.778 1.00 633.05ns
just send variadic 166.63ns 162.887 1.02 755.93ns

map

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
map construction from observable via dot + subscribe 146.20ns 148.371 0.99 245.45ns
sending of values from observable via map to subscriber 1.00ns 1.2033 0.84 2.35ns

merge

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
merge 1409.24ns 1528.11 0.92 3263.44ns
merge_with 1745.61ns 1889.57 0.92 3564.04ns

observe_on

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
observe_on construction from observable via dot + subscribe 715.42ns 732.057 0.98 2592.03ns
sending of values from observable via observe_on to subscriber 90.68ns 93.6999 0.97 198.71ns

publish_subject callbacks

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
on_next 24.43ns 29.6049 0.83 9.96ns
on_error 2.67ns 2.02263 1.32 19.16ns
on_completed 1.72ns 1.67422 1.03 0.68ns

publish_subject routines

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
construct 154.39ns 152.53 1.01 177.75ns
get_observable 26.44ns 33.7282 0.78 50.55ns
get_subscriber 60.47ns 66.6114 0.91 13.96ns

repeat

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
repeat construction from observable via dot + subscribe 3703.92ns 4032.02 0.92 3031.40ns

scan

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
scan construction from observable via dot + subscribe 179.56ns 179.255 1.00 293.36ns
sending of values from observable via scan to subscriber 2.01ns 2.01009 1.00 2.80ns

skip

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
skip construction from observable via dot + subscribe 174.37ns 177.522 0.98 501.13ns
sending of values from observable via skip to subscriber 2.34ns 2.41156 0.97 2.06ns

switch_on_next

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
switch_on_next construction from observable via dot + subscribe 1991.02ns 2085.51 0.95 2817.14ns
sending of values from observable via switch_on_next to subscriber 482.42ns 510.968 0.94 648.88ns

take

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
take construction from observable via dot + subscribe 236.22ns 245.454 0.96 491.00ns
sending of values from observable via take to subscriber 2.72ns 2.70445 1.01 2.74ns

trampoline scheduler

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
no any re-schedule 35.81ns 33.5946 1.07 168.16ns
re-schedule 10 times 596.87ns 590.079 1.01 201.78ns
recursively schedule 10 times 1652.22ns 1642.88 1.01 5546.56ns

window

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
window 1976.21ns 2113.65 0.93 3068.63ns
sending of values from observable via window to subscriber 507.80ns 544.644 0.93 366.03ns

with_latest_from

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
with_latest_from construction from observable via dot + subscribe 803.07ns 797.902 1.01 1141.95ns
sending of values from observable via with_latest_from to subscriber 18.07ns 22.4906 0.80 3.02ns

Linux GCC

Observable construction

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
Specific observable construction 0.34ns 0.437515 0.77 0.34ns
Dynamic observable construction 31.57ns 35.0498 0.90 22.51ns
Specific observable construction + as_dynamic 31.54ns 34.8782 0.90 22.38ns

Observable lift

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
Specific observable lift specific observer 184.48ns 208.292 0.89 335.57ns
Specific observable lift dynamic observer 199.13ns 233.291 0.85 347.98ns
Dynamic observable lift specific observer 250.56ns 328.315 0.76 386.48ns
Dynamic observable lift dynamic observer 258.64ns 309.087 0.84 368.47ns

Observable subscribe

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
Specific observable subscribe specific observer 137.66ns 152.475 0.90 332.04ns
Specific observable subscribe dynamic observer 154.07ns 187.93 0.82 335.03ns
Dynamic observable subscribe specific observer 215.32ns 245.622 0.88 368.15ns
Dynamic observable subscribe dynamic observer 201.61ns 262.265 0.77 342.84ns

Observable subscribe #2

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
Specific observable subscribe lambda 136.50ns 165.806 0.82 328.11ns
Dynamic observable subscribe lambda 211.01ns 240.103 0.88 375.49ns
Specific observable subscribe lambda without subscription 137.13ns 158.273 0.87 329.43ns
Dynamic observable subscribe lambda without subscription 210.05ns 247.761 0.85 369.82ns
Specific observable subscribe specific subscriber 101.70ns 119.834 0.85 270.88ns
Dynamic observable subscribe specific subscriber 171.75ns 201.098 0.85 311.56ns
Specific observable subscribe dynamic observer 101.61ns 129.496 0.78 272.00ns
Dynamic observable subscribe dynamic observer 156.45ns 194.161 0.81 284.55ns

Observer construction

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
Specific observer construction 0.34ns 0.393222 0.85 0.34ns
Dynamic observer construction 33.16ns 40.2687 0.82 21.23ns
Specific observer construction + as_dynamic 31.44ns 36.8919 0.85 21.01ns

OnNext

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
Specific observer OnNext 0.34ns 0.420826 0.80 0.34ns
Dynamic observer OnNext 2.01ns 2.13876 0.94 2.01ns

Subscriber construction

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
Make subsriber 31.43ns 37.9611 0.83 58.70ns
Make copy of subscriber 16.74ns 22.1511 0.76 4.46ns
Transform subsriber to dynamic 44.27ns 46.3934 0.95 26.12ns

Subscription

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
composite_subscription create 31.21ns 37.3843 0.83 55.55ns
composite_subscription add 39.28ns 50.7217 0.77 17.74ns
composite_subscription unsubscribe 6.80ns 7.71033 0.88 11.04ns
composite_subscription unsubscribe only subscribed 8.36ns 7.73692 1.08 11.55ns

buffer

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
buffer 355.67ns 453.536 0.78 1929.46ns
sending of values from observable via buffer to subscriber 6.36ns 7.09052 0.90 31.60ns

chains creation test

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
long non-state chain creation + subscribe 353.93ns 447.503 0.79 689.96ns
long stateful chain creation + subscribe 490.02ns 608.197 0.81 1053.45ns

concat

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
concat 1469.57ns 1855.4 0.79 3654.27ns
concat_with 1776.84ns 2184.21 0.81 4152.55ns

distinct_until_changed

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
distinct_until_changed construction from observable via dot + subscribe 191.78ns 231.108 0.83 354.56ns
sending of values from observable via distinct_until_changed to subscriber 4.11ns 4.88634 0.84 2.34ns

foundamental sources

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
empty 141.99ns 168.086 0.84 759.98ns
error 188.78ns 219.218 0.86 841.37ns
never 103.64ns 124.395 0.83 280.84ns

from

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
from vector with int 161.47ns 215.52 0.75 773.73ns

immediate scheduler

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
no any re-schedule 27.98ns 31.8248 0.88 139.21ns
re-schedule 10 times 613.70ns 674.269 0.91 164.50ns

just

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
just send int 144.57ns 169.116 0.85 777.34ns
just send variadic 179.67ns 212.664 0.84 820.04ns

map

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
map construction from observable via dot + subscribe 157.99ns 198.782 0.79 342.73ns
sending of values from observable via map to subscriber 0.84ns 1.00377 0.83 2.68ns

merge

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
merge 1538.44ns 1882.68 0.82 3881.55ns
merge_with 1903.33ns 2326.65 0.82 4093.42ns

observe_on

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
observe_on construction from observable via dot + subscribe 770.87ns 972.681 0.79 2836.53ns
sending of values from observable via observe_on to subscriber 89.66ns 106.171 0.84 234.65ns

publish_subject callbacks

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
on_next 22.75ns 28.5676 0.80 12.32ns
on_error 2.43ns 2.92172 0.83 16.81ns
on_completed 0.67ns 0.798121 0.85 1.01ns

publish_subject routines

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
construct 168.13ns 192.275 0.87 171.34ns
get_observable 29.45ns 39.3637 0.75 48.43ns
get_subscriber 57.31ns 67.0873 0.85 23.08ns

repeat

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
repeat construction from observable via dot + subscribe 3982.66ns 4559.29 0.87 3200.64ns

scan

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
scan construction from observable via dot + subscribe 189.39ns 251.598 0.75 382.99ns
sending of values from observable via scan to subscriber 3.01ns 4.03265 0.75 2.35ns

skip

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
skip construction from observable via dot + subscribe 186.81ns 212.934 0.88 524.09ns
sending of values from observable via skip to subscriber 3.01ns 3.74051 0.80 2.35ns

switch_on_next

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
switch_on_next construction from observable via dot + subscribe 15349.20ns 10405.7 1.48 4824.22ns
sending of values from observable via switch_on_next to subscriber 1381.22ns 634.043 2.18 1079.87ns

take

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
take construction from observable via dot + subscribe 244.67ns 271.891 0.90 588.14ns
sending of values from observable via take to subscriber 3.70ns 3.95981 0.93 4.04ns

trampoline scheduler

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
no any re-schedule 41.66ns 46.4598 0.90 190.88ns
re-schedule 10 times 650.29ns 702.263 0.93 226.53ns
recursively schedule 10 times 1707.47ns 2263.02 0.75 6286.07ns

window

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
window 2109.29ns 2566.86 0.82 3233.44ns
sending of values from observable via window to subscriber 551.36ns 695.166 0.79 423.05ns

with_latest_from

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
with_latest_from construction from observable via dot + subscribe 853.17ns 1033.42 0.83 1473.95ns
sending of values from observable via with_latest_from to subscriber 18.07ns 22.8081 0.79 4.01ns

Windows MSVC

Observable construction

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
Specific observable construction 1.50ns 2.00162 0.75 0.67ns
Dynamic observable construction 83.52ns 97.0467 0.86 124.65ns
Specific observable construction + as_dynamic 83.22ns 85.8113 0.97 125.24ns

Observable lift

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
Specific observable lift specific observer 231.73ns 272.019 0.85 1212.73ns
Specific observable lift dynamic observer 262.93ns 303.0 0.87 1270.71ns
Dynamic observable lift specific observer 382.00ns 414.09 0.92 1425.11ns
Dynamic observable lift dynamic observer 318.77ns 379.608 0.84 1304.45ns

Observable subscribe

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
Specific observable subscribe specific observer 200.28ns 259.468 0.77 1173.74ns
Specific observable subscribe dynamic observer 207.54ns 292.174 0.71 1208.45ns
Dynamic observable subscribe specific observer 311.37ns 353.278 0.88 1357.89ns
Dynamic observable subscribe dynamic observer 262.73ns 299.979 0.88 1245.67ns

Observable subscribe #2

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
Specific observable subscribe lambda 197.22ns 225.286 0.88 1171.61ns
Dynamic observable subscribe lambda 337.29ns 366.846 0.92 1350.32ns
Specific observable subscribe lambda without subscription 197.40ns 221.728 0.89 1172.59ns
Dynamic observable subscribe lambda without subscription 306.35ns 325.912 0.94 1343.53ns
Specific observable subscribe specific subscriber 101.90ns 117.464 0.87 847.90ns
Dynamic observable subscribe specific subscriber 228.91ns 269.636 0.85 1035.60ns
Specific observable subscribe dynamic observer 101.19ns 118.632 0.85 887.67ns
Dynamic observable subscribe dynamic observer 152.57ns 187.134 0.82 920.46ns

Observer construction

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
Specific observer construction 1.50ns 2.04893 0.73 1.50ns
Dynamic observer construction 81.58ns 92.6306 0.88 112.51ns
Specific observer construction + as_dynamic 81.73ns 91.4281 0.89 112.19ns

OnNext

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
Specific observer OnNext 0.67ns 0.750856 0.89 0.67ns
Dynamic observer OnNext 1.84ns 2.30191 0.80 2.34ns

Subscriber construction

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
Make subsriber 87.36ns 102.222 0.85 343.47ns
Make copy of subscriber 16.74ns 17.6443 0.95 31.43ns
Transform subsriber to dynamic 96.16ns 113.226 0.85 151.67ns

Subscription

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
composite_subscription create 86.38ns 105.939 0.82 338.24ns
composite_subscription add 59.83ns 69.5825 0.86 63.27ns
composite_subscription unsubscribe 8.37ns 7.61529 1.10 25.58ns
composite_subscription unsubscribe only subscribed 8.23ns 7.19199 1.14 25.52ns

buffer

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
buffer 493.46ns 587.261 0.84 4518.50ns
sending of values from observable via buffer to subscriber 6.11ns 7.39166 0.83 90.90ns

chains creation test

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
long non-state chain creation + subscribe 353.38ns 440.754 0.80 1741.21ns
long stateful chain creation + subscribe 753.50ns 864.094 0.87 3156.25ns

concat

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
concat 2097.42ns 2523.36 0.83 10610.00ns
concat_with 2733.20ns 3184.0 0.86 11628.70ns

distinct_until_changed

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
distinct_until_changed construction from observable via dot + subscribe 261.90ns 308.295 0.85 1028.44ns
sending of values from observable via distinct_until_changed to subscriber 4.54ns 5.27899 0.86 3.91ns

foundamental sources

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
empty 142.53ns 168.736 0.84 2401.55ns
error 192.59ns 213.036 0.90 2510.40ns
never 102.91ns 120.061 0.86 887.73ns

from

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
from vector with int 210.22ns 276.278 0.76 2529.40ns

immediate scheduler

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
no any re-schedule 27.42ns 30.177 0.91 411.00ns
re-schedule 10 times 556.73ns 668.0 0.83 440.31ns

just

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
just send int 150.39ns 210.53 0.71 2416.09ns
just send variadic 185.13ns 214.009 0.87 2493.60ns

map

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
map construction from observable via dot + subscribe 164.53ns 193.707 0.85 997.04ns
sending of values from observable via map to subscriber 3.35ns 4.1643 0.80 7.52ns

merge

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
merge 2156.83ns 2538.73 0.85 10913.70ns
merge_with 2863.44ns 3302.56 0.87 11645.30ns

observe_on

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
observe_on construction from observable via dot + subscribe 1058.88ns 1259.4 0.84 5908.40ns
sending of values from observable via observe_on to subscriber 90.84ns 101.659 0.89 794.51ns

publish_subject callbacks

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
on_next 19.74ns 23.9916 0.82 32.83ns
on_error 3.05ns 4.24033 0.72 18.38ns
on_completed 2.10ns 2.76947 0.76 0.68ns

publish_subject routines

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
construct 288.06ns 336.75 0.86 602.03ns
get_observable 28.09ns 31.135 0.90 164.38ns
get_subscriber 50.21ns 63.4904 0.79 93.95ns

repeat

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
repeat construction from observable via dot + subscribe 5969.40ns 7105.5 0.84 11908.70ns

scan

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
scan construction from observable via dot + subscribe 263.77ns 316.988 0.83 1254.71ns
sending of values from observable via scan to subscriber 6.37ns 8.0805 0.79 8.98ns

skip

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
skip construction from observable via dot + subscribe 252.93ns 298.144 0.85 1545.40ns
sending of values from observable via skip to subscriber 4.28ns 4.51556 0.95 3.71ns

switch_on_next

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
switch_on_next construction from observable via dot + subscribe 3694.00ns 3649.5 1.01 12305.30ns
sending of values from observable via switch_on_next to subscriber 805.36ns 927.828 0.87 3079.00ns

take

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
take construction from observable via dot + subscribe 304.52ns 360.721 0.84 2162.42ns
sending of values from observable via take to subscriber 5.96ns 6.94572 0.86 5.79ns

trampoline scheduler

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
no any re-schedule 44.12ns 52.232 0.84 614.88ns
re-schedule 10 times 612.43ns 705.463 0.87 652.58ns
recursively schedule 10 times 3055.67ns 3841.88 0.80 19222.50ns

window

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
window 2926.11ns 3506.0 0.83 9669.67ns
sending of values from observable via window to subscriber 801.88ns 981.6 0.82 1615.31ns

with_latest_from

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
with_latest_from construction from observable via dot + subscribe 1358.20ns 1794.05 0.76 4660.50ns
sending of values from observable via with_latest_from to subscriber 29.18ns 31.7509 0.92 6.71ns

Please sign in to comment.