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 9, 2022
1 parent 3606837 commit ab810b0
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.3 LANGUAGES CXX)
project(ReactivePlusPlus VERSION 0.0.4 LANGUAGES CXX)

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

Expand Down

1 comment on commit ab810b0

@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.335102 1.21 0.40ns
Dynamic observable construction 32.57ns 28.4754 1.14 29.56ns
Specific observable construction + as_dynamic 33.55ns 28.5418 1.18 28.97ns

Observable lift

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
Specific observable lift specific observer 83.63ns 70.6522 1.18 347.70ns
Specific observable lift dynamic observer 114.28ns 96.9161 1.18 366.50ns
Dynamic observable lift specific observer 201.45ns 161.012 1.25 404.08ns
Dynamic observable lift dynamic observer 202.94ns 164.775 1.23 389.19ns

Observable subscribe

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
Specific observable subscribe specific observer 52.30ns 44.5436 1.17 346.30ns
Specific observable subscribe dynamic observer 70.50ns 58.7505 1.20 356.97ns
Dynamic observable subscribe specific observer 140.62ns 115.194 1.22 396.01ns
Dynamic observable subscribe dynamic observer 128.06ns 108.545 1.18 380.96ns

Observable subscribe #2

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
Specific observable subscribe lambda 52.46ns 44.5078 1.18 352.57ns
Dynamic observable subscribe lambda 130.74ns 109.986 1.19 384.30ns
Specific observable subscribe lambda without subscription 45.19ns 44.6168 1.01 345.38ns
Dynamic observable subscribe lambda without subscription 132.00ns 110.2 1.20 394.59ns
Specific observable subscribe specific subscriber 19.96ns 16.7383 1.19 270.87ns
Dynamic observable subscribe specific subscriber 90.61ns 77.9927 1.16 316.79ns
Specific observable subscribe dynamic observer 19.94ns 16.7406 1.19 276.21ns
Dynamic observable subscribe dynamic observer 75.41ns 63.0257 1.20 315.52ns

Observer construction

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
Specific observer construction 0.77ns 0.670619 1.15 0.38ns
Dynamic observer construction 34.32ns 28.4481 1.21 25.80ns
Specific observer construction + as_dynamic 35.49ns 28.4319 1.25 25.00ns

OnNext

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
Specific observer OnNext 0.76ns 0.668911 1.14 0.80ns
Dynamic observer OnNext 1.93ns 1.67299 1.16 2.76ns

Operators

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
map construction from observable via dot + subscribe 82.89ns 76.8884 1.08 289.75ns

Subscriber construction

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
Make subsriber 38.08ns 32.4218 1.17 77.66ns
Make copy of subscriber 20.00ns 16.7793 1.19 5.62ns
Transform subsriber to dynamic 53.51ns 45.8511 1.17 31.03ns

Subscription

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
composite_subscription create 39.24ns 32.4588 1.21 63.49ns
composite_subscription add 54.92ns 48.1211 1.14 27.27ns
composite_subscription unsubscribe 7.18ns 6.03058 1.19 11.65ns

foundamental sources

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
empty 20.72ns 18.0675 1.15 41.80ns
error 60.30ns 50.3775 1.20 87.55ns
never 20.06ns 16.7413 1.20 262.10ns

from

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
from vector with int 35.46ns 29.8188 1.19 69.89ns

just

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
just send int 20.45ns 17.0952 1.20 43.49ns
just send variadic 22.54ns 19.1288 1.18 49.78ns

merge

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
merge 275.80ns 232.093 1.19 142.49ns
merge_with 335.76ns 288.717 1.16 337.14ns

publish_subject callbacks

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
on_next 27.26ns 24.3874 1.12 12.06ns
on_error 2.91ns 2.57008 1.13 21.99ns
on_completed 2.40ns 2.02173 1.19 0.81ns

publish_subject routines

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
construct 191.70ns 170.768 1.12 208.82ns
get_observable 30.64ns 26.4389 1.16 56.51ns
get_subscriber 70.97ns 64.3124 1.10 16.49ns

Linux GCC

Observable construction

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
Specific observable construction 0.33ns 0.398688 0.84 0.34ns
Dynamic observable construction 18.49ns 22.269 0.83 23.07ns
Specific observable construction + as_dynamic 18.46ns 22.0557 0.84 22.82ns

Observable lift

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
Specific observable lift specific observer 26.42ns 32.5167 0.81 350.06ns
Specific observable lift dynamic observer 33.88ns 41.8565 0.81 366.67ns
Dynamic observable lift specific observer 62.74ns 72.4914 0.87 406.51ns
Dynamic observable lift dynamic observer 56.52ns 66.1039 0.86 385.87ns

Observable subscribe

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
Specific observable subscribe specific observer 22.13ns 26.8885 0.82 339.96ns
Specific observable subscribe dynamic observer 23.81ns 27.7087 0.86 343.60ns
Dynamic observable subscribe specific observer 55.77ns 65.784 0.85 392.22ns
Dynamic observable subscribe dynamic observer 41.22ns 48.8441 0.84 366.87ns

Observable subscribe #2

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
Specific observable subscribe lambda 22.00ns 26.3206 0.84 338.17ns
Dynamic observable subscribe lambda 57.88ns 62.7639 0.92 404.42ns
Specific observable subscribe lambda without subscription 23.10ns 27.1737 0.85 340.52ns
Dynamic observable subscribe lambda without subscription 55.36ns 65.6699 0.84 414.87ns
Specific observable subscribe specific subscriber 3.62ns 4.38279 0.82 287.32ns
Dynamic observable subscribe specific subscriber 27.91ns 35.2524 0.79 330.33ns
Specific observable subscribe dynamic observer 3.74ns 4.81085 0.78 286.62ns
Dynamic observable subscribe dynamic observer 13.95ns 20.355 0.69 309.50ns

Observer construction

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
Specific observer construction 0.34ns 0.38619 0.87 0.33ns
Dynamic observer construction 18.82ns 21.8082 0.86 20.49ns
Specific observer construction + as_dynamic 19.32ns 21.8195 0.89 21.49ns

OnNext

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
Specific observer OnNext 0.34ns 0.385868 0.87 0.34ns
Dynamic observer OnNext 2.01ns 2.29189 0.88 1.74ns

Operators

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
map construction from observable via dot + subscribe 15.13ns 17.8252 0.85 353.39ns

Subscriber construction

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
Make subsriber 23.04ns 26.3135 0.88 57.86ns
Make copy of subscriber 3.72ns 4.41875 0.84 4.50ns
Transform subsriber to dynamic 21.78ns 25.4311 0.86 29.04ns

Subscription

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
composite_subscription create 21.49ns 25.9399 0.83 54.99ns
composite_subscription add 21.83ns 24.1573 0.90 17.35ns
composite_subscription unsubscribe 6.89ns 8.11317 0.85 10.04ns

foundamental sources

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
empty 3.46ns 4.23514 0.82 46.36ns
error 35.87ns 43.1652 0.83 82.39ns
never 3.55ns 4.27384 0.83 292.26ns

from

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
from vector with int 23.99ns 28.3724 0.85 69.94ns

just

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
just send int 3.71ns 4.44159 0.83 50.87ns
just send variadic 4.36ns 5.26283 0.83 47.18ns

merge

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
merge 117.86ns 141.739 0.83 147.73ns
merge_with 164.03ns 196.682 0.83 359.52ns

publish_subject callbacks

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
on_next 16.75ns 19.7842 0.85 11.70ns
on_error 1.34ns 1.58899 0.84 16.81ns
on_completed 0.67ns 0.784394 0.86 1.34ns

publish_subject routines

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
construct 121.98ns 146.279 0.83 167.95ns
get_observable 5.73ns 6.79982 0.84 45.93ns
get_subscriber 12.17ns 14.4636 0.84 22.38ns

Windows MSVC

Observable construction

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
Specific observable construction 1.51ns 1.88883 0.80 0.67ns
Dynamic observable construction 81.97ns 134.602 0.61 122.88ns
Specific observable construction + as_dynamic 95.06ns 84.9018 1.12 123.18ns

Observable lift

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
Specific observable lift specific observer 150.26ns 152.783 0.98 1210.38ns
Specific observable lift dynamic observer 175.85ns 187.659 0.94 1270.05ns
Dynamic observable lift specific observer 274.37ns 311.564 0.88 1416.00ns
Dynamic observable lift dynamic observer 228.79ns 246.945 0.93 1312.20ns

Observable subscribe

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
Specific observable subscribe specific observer 105.59ns 107.795 0.98 1316.14ns
Specific observable subscribe dynamic observer 121.71ns 118.122 1.03 1211.91ns
Dynamic observable subscribe specific observer 223.93ns 280.87 0.80 1359.26ns
Dynamic observable subscribe dynamic observer 170.78ns 164.489 1.04 1242.76ns

Observable subscribe #2

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
Specific observable subscribe lambda 108.19ns 122.639 0.88 1185.77ns
Dynamic observable subscribe lambda 223.67ns 265.627 0.84 1359.63ns
Specific observable subscribe lambda without subscription 107.63ns 98.4286 1.09 1180.77ns
Dynamic observable subscribe lambda without subscription 223.54ns 195.956 1.14 1348.15ns
Specific observable subscribe specific subscriber 16.77ns 21.1462 0.79 846.13ns
Dynamic observable subscribe specific subscriber 132.39ns 125.412 1.06 1023.96ns
Specific observable subscribe dynamic observer 16.76ns 20.4383 0.82 883.33ns
Dynamic observable subscribe dynamic observer 66.42ns 64.8859 1.02 919.43ns

Observer construction

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
Specific observer construction 0.67ns 0.725277 0.93 1.52ns
Dynamic observer construction 81.98ns 98.671 0.83 125.86ns
Specific observer construction + as_dynamic 82.30ns 75.7573 1.09 114.81ns

OnNext

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
Specific observer OnNext 0.67ns 0.803684 0.84 0.67ns
Dynamic observer OnNext 2.09ns 2.33215 0.90 2.02ns

Operators

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
map construction from observable via dot + subscribe 79.61ns 82.2107 0.97 1004.62ns

Subscriber construction

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
Make subsriber 89.06ns 105.068 0.85 347.60ns
Make copy of subscriber 16.79ns 17.7185 0.95 33.27ns
Transform subsriber to dynamic 97.51ns 111.127 0.88 154.09ns

Subscription

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
composite_subscription create 89.00ns 98.9331 0.90 341.32ns
composite_subscription add 61.10ns 55.4965 1.10 64.37ns
composite_subscription unsubscribe 8.35ns 6.76034 1.24 23.51ns

foundamental sources

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
empty 18.81ns 19.8026 0.95 191.98ns
error 50.70ns 66.8934 0.76 244.38ns
never 16.94ns 18.7603 0.90 839.00ns

from

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
from vector with int 86.08ns 91.3226 0.94 266.13ns

just

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
just send int 24.28ns 25.3538 0.96 192.19ns
just send variadic 24.10ns 23.3535 1.03 192.36ns

merge

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
merge 387.69ns 473.214 0.82 687.53ns
merge_with 651.07ns 699.628 0.93 1421.88ns

publish_subject callbacks

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
on_next 20.40ns 21.1563 0.96 32.55ns
on_error 2.37ns 2.3434 1.01 17.36ns
on_completed 2.40ns 2.08591 1.15 1.36ns

publish_subject routines

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
construct 299.02ns 341.95 0.87 586.39ns
get_observable 27.06ns 28.1576 0.96 166.28ns
get_subscriber 50.33ns 57.0266 0.88 92.74ns

Please sign in to comment.