Skip to content

Commit

Permalink
Update CMakeLists.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
victimsnino authored Jul 26, 2022
1 parent 0c00c77 commit e6746d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ else()
set(IS_SUBPROJECT OFF)
endif()

project(ReactivePlusPlus VERSION 0.0.4 LANGUAGES CXX)
project(ReactivePlusPlus VERSION 0.0.5 LANGUAGES CXX)

# ================== CONFIG ===================

Expand Down

1 comment on commit e6746d7

@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.40ns 0.374828 1.07 0.40ns
Dynamic observable construction 28.72ns 32.9168 0.87 25.33ns
Specific observable construction + as_dynamic 28.62ns 33.6375 0.85 25.49ns

Observable lift

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
Specific observable lift specific observer 77.95ns 87.5622 0.89 289.37ns
Specific observable lift dynamic observer 105.19ns 123.506 0.85 304.56ns
Dynamic observable lift specific observer 160.92ns 152.11 1.06 340.80ns
Dynamic observable lift dynamic observer 177.13ns 192.19 0.92 329.38ns

Observable subscribe

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
Specific observable subscribe specific observer 48.67ns 51.073 0.95 290.49ns
Specific observable subscribe dynamic observer 61.19ns 66.0743 0.93 294.94ns
Dynamic observable subscribe specific observer 111.01ns 125.735 0.88 336.28ns
Dynamic observable subscribe dynamic observer 115.92ns 139.095 0.83 315.85ns

Observable subscribe #2

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
Specific observable subscribe lambda 48.69ns 52.3742 0.93 290.46ns
Dynamic observable subscribe lambda 130.53ns 138.836 0.94 336.02ns
Specific observable subscribe lambda without subscription 48.70ns 51.5721 0.94 281.90ns
Dynamic observable subscribe lambda without subscription 130.94ns 131.703 0.99 334.51ns
Specific observable subscribe specific subscriber 16.07ns 19.5359 0.82 224.91ns
Dynamic observable subscribe specific subscriber 77.51ns 135.759 0.57 273.33ns
Specific observable subscribe dynamic observer 16.08ns 21.452 0.75 235.36ns
Dynamic observable subscribe dynamic observer 68.38ns 86.075 0.79 256.67ns

Observer construction

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
Specific observer construction 0.40ns 0.802029 0.50 0.40ns
Dynamic observer construction 28.69ns 30.3738 0.94 19.65ns
Specific observer construction + as_dynamic 28.64ns 34.0139 0.84 19.69ns

OnNext

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
Specific observer OnNext 0.44ns 0.646948 0.68 0.80ns
Dynamic observer OnNext 1.61ns 2.36291 0.68 1.61ns

Operators

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
map construction from observable via dot + subscribe 75.90ns 77.9163 0.97 237.12ns

Subscriber construction

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
Make subsriber 32.72ns 32.8878 0.99 65.69ns
Make copy of subscriber 16.08ns 19.8416 0.81 4.93ns
Transform subsriber to dynamic 46.99ns 44.8139 1.05 24.60ns

Subscription

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
composite_subscription create 34.11ns 35.1512 0.97 48.91ns
composite_subscription add 48.75ns 47.7212 1.02 20.46ns
composite_subscription unsubscribe 8.03ns 6.89566 1.16 13.66ns

foundamental sources

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
empty 16.10ns 19.9971 0.81 32.11ns
error 48.76ns 44.4646 1.10 73.60ns
never 16.08ns 19.8564 0.81 227.29ns

from

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
from vector with int 26.25ns 32.8605 0.80 54.23ns

just

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
just send int 16.08ns 18.5908 0.87 31.49ns
just send variadic 18.91ns 18.5222 1.02 38.36ns

merge

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
merge 16.79ns 21.2005 0.79 125.39ns
merge_with 76.69ns 74.8947 1.02 299.67ns

publish_subject callbacks

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
on_next 29.49ns 28.5705 1.03 8.89ns
on_error 2.02ns 2.08083 0.97 19.02ns
on_completed 1.67ns 2.08418 0.80 0.80ns

publish_subject routines

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
construct 173.10ns 194.397 0.89 150.67ns
get_observable 33.78ns 26.6171 1.27 45.02ns
get_subscriber 67.10ns 64.7166 1.04 13.05ns

Linux GCC

Observable construction

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
Specific observable construction 0.34ns 0.401956 0.83 0.33ns
Dynamic observable construction 18.55ns 22.5139 0.82 23.43ns
Specific observable construction + as_dynamic 18.78ns 20.9471 0.90 23.08ns

Observable lift

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
Specific observable lift specific observer 29.80ns 33.3831 0.89 345.01ns
Specific observable lift dynamic observer 32.76ns 37.0324 0.88 362.01ns
Dynamic observable lift specific observer 74.39ns 88.0276 0.85 399.75ns
Dynamic observable lift dynamic observer 67.93ns 82.0326 0.83 389.00ns

Observable subscribe

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
Specific observable subscribe specific observer 24.08ns 27.9851 0.86 333.12ns
Specific observable subscribe dynamic observer 24.31ns 29.931 0.81 340.55ns
Dynamic observable subscribe specific observer 53.06ns 65.3497 0.81 386.50ns
Dynamic observable subscribe dynamic observer 40.79ns 47.057 0.87 361.97ns

Observable subscribe #2

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
Specific observable subscribe lambda 23.59ns 28.0399 0.84 333.13ns
Dynamic observable subscribe lambda 59.36ns 69.5474 0.85 411.27ns
Specific observable subscribe lambda without subscription 23.97ns 28.3071 0.85 338.31ns
Dynamic observable subscribe lambda without subscription 50.85ns 61.0729 0.83 407.59ns
Specific observable subscribe specific subscriber 3.70ns 4.35106 0.85 277.74ns
Dynamic observable subscribe specific subscriber 31.26ns 37.5249 0.83 327.04ns
Specific observable subscribe dynamic observer 3.68ns 4.42911 0.83 289.42ns
Dynamic observable subscribe dynamic observer 15.33ns 18.3691 0.83 304.53ns

Observer construction

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
Specific observer construction 0.34ns 0.408003 0.82 0.34ns
Dynamic observer construction 19.06ns 23.2462 0.82 20.92ns
Specific observer construction + as_dynamic 19.30ns 23.1967 0.83 20.46ns

OnNext

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
Specific observer OnNext 0.34ns 0.400504 0.84 0.34ns
Dynamic observer OnNext 2.01ns 2.41363 0.83 1.75ns

Operators

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
map construction from observable via dot + subscribe 14.95ns 17.8943 0.84 347.32ns

Subscriber construction

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
Make subsriber 21.26ns 25.7074 0.83 57.91ns
Make copy of subscriber 3.72ns 4.48752 0.83 4.50ns
Transform subsriber to dynamic 21.94ns 26.1958 0.84 29.04ns

Subscription

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
composite_subscription create 21.34ns 25.5587 0.83 54.40ns
composite_subscription add 21.82ns 26.151 0.83 17.54ns
composite_subscription unsubscribe 8.36ns 9.83899 0.85 10.06ns

foundamental sources

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
empty 3.47ns 4.16226 0.83 46.41ns
error 36.22ns 43.0533 0.84 82.50ns
never 3.57ns 4.29747 0.83 282.26ns

from

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
from vector with int 22.48ns 27.1164 0.83 70.01ns

just

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
just send int 3.63ns 4.37687 0.83 50.87ns
just send variadic 4.08ns 4.90344 0.83 46.87ns

merge

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
merge 3.94ns 4.71802 0.83 147.68ns
merge_with 42.95ns 51.479 0.83 358.42ns

publish_subject callbacks

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
on_next 17.04ns 20.4935 0.83 11.71ns
on_error 1.34ns 1.57579 0.85 17.13ns
on_completed 1.34ns 1.61147 0.83 1.34ns

publish_subject routines

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
construct 122.10ns 147.724 0.83 172.44ns
get_observable 5.22ns 6.25265 0.83 45.57ns
get_subscriber 11.92ns 14.3988 0.83 22.40ns

Windows MSVC

Observable construction

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
Specific observable construction 2.02ns 1.82029 1.11 0.73ns
Dynamic observable construction 93.34ns 82.1221 1.14 143.56ns
Specific observable construction + as_dynamic 92.43ns 86.1376 1.07 165.50ns

Observable lift

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
Specific observable lift specific observer 157.47ns 145.086 1.09 1532.11ns
Specific observable lift dynamic observer 197.38ns 205.135 0.96 1510.05ns
Dynamic observable lift specific observer 310.23ns 299.964 1.03 1596.61ns
Dynamic observable lift dynamic observer 262.08ns 287.419 0.91 1498.78ns

Observable subscribe

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
Specific observable subscribe specific observer 123.59ns 123.284 1.00 1370.55ns
Specific observable subscribe dynamic observer 134.53ns 160.031 0.84 1384.05ns
Dynamic observable subscribe specific observer 237.61ns 256.241 0.93 1644.50ns
Dynamic observable subscribe dynamic observer 185.89ns 190.51 0.98 1539.45ns

Observable subscribe #2

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
Specific observable subscribe lambda 107.78ns 110.802 0.97 1197.71ns
Dynamic observable subscribe lambda 248.82ns 237.991 1.05 1579.00ns
Specific observable subscribe lambda without subscription 120.48ns 118.559 1.02 1361.52ns
Dynamic observable subscribe lambda without subscription 242.75ns 228.478 1.06 1529.72ns
Specific observable subscribe specific subscriber 19.03ns 19.6369 0.97 1000.10ns
Dynamic observable subscribe specific subscriber 148.89ns 150.446 0.99 1067.00ns
Specific observable subscribe dynamic observer 19.38ns 19.1269 1.01 1022.70ns
Dynamic observable subscribe dynamic observer 74.98ns 62.1896 1.21 1065.04ns

Observer construction

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
Specific observer construction 0.76ns 0.735056 1.04 1.95ns
Dynamic observer construction 88.83ns 88.2208 1.01 134.42ns
Specific observer construction + as_dynamic 90.87ns 93.0658 0.98 130.91ns

OnNext

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
Specific observer OnNext 0.66ns 0.714517 0.92 0.72ns
Dynamic observer OnNext 2.17ns 2.408 0.90 2.70ns

Operators

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
map construction from observable via dot + subscribe 85.74ns 80.4579 1.07 1174.24ns

Subscriber construction

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
Make subsriber 103.76ns 97.5543 1.06 388.44ns
Make copy of subscriber 20.12ns 20.4445 0.98 40.54ns
Transform subsriber to dynamic 100.61ns 109.31 0.92 149.66ns

Subscription

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
composite_subscription create 101.94ns 96.6893 1.05 396.84ns
composite_subscription add 65.03ns 78.2071 0.83 74.45ns
composite_subscription unsubscribe 7.09ns 7.60401 0.93 27.25ns

foundamental sources

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
empty 17.21ns 15.6573 1.10 218.11ns
error 50.22ns 55.7648 0.90 239.82ns
never 17.74ns 18.9166 0.94 976.83ns

from

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
from vector with int 88.99ns 98.9222 0.90 306.38ns

just

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
just send int 22.32ns 23.4179 0.95 192.28ns
just send variadic 24.76ns 25.7064 0.96 209.70ns

merge

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
merge 37.80ns 38.0524 0.99 813.52ns
merge_with 385.58ns 330.729 1.17 1708.27ns

publish_subject callbacks

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
on_next 23.62ns 24.1287 0.98 35.71ns
on_error 3.69ns 2.43313 1.52 20.66ns
on_completed 2.27ns 2.34545 0.97 0.77ns

publish_subject routines

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
construct 369.33ns 352.614 1.05 716.14ns
get_observable 28.25ns 31.4086 0.90 191.95ns
get_subscriber 56.33ns 65.565 0.86 99.90ns

Please sign in to comment.