Skip to content

Commit

Permalink
fix column width
Browse files Browse the repository at this point in the history
  • Loading branch information
victimsnino committed Nov 2, 2022
1 parent feeac6c commit 2ae50e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .clang-format
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ BreakBeforeBraces: Allman
BreakBeforeTernaryOperators: false
BreakConstructorInitializers: BeforeColon
BreakConstructorInitializersBeforeComma: false
ColumnLimit: 90
ColumnLimit: 120
CompactNamespaces: true
ConstructorInitializerAllOnOneLineOrOnePerLine: true
# ContinuationIndentWidth: 4
Expand Down

1 comment on commit 2ae50e7

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

BENCHMARK RESULTS (AUTOGENERATED)

ci-ubuntu-clang

Observable construction

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
Specific observable construction 0.33ns 0.34573 0.94 0.38ns
Dynamic observable construction 30.10ns 31.9896 0.94 26.35ns
Specific observable construction + as_dynamic 30.04ns 33.4811 0.90 26.75ns

Observable lift

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
Specific observable lift specific observer 105.42ns 106.334 0.99 339.82ns
Specific observable lift dynamic observer 133.68ns 117.0 1.14 348.03ns
Dynamic observable lift specific observer 183.38ns 181.407 1.01 375.07ns
Dynamic observable lift dynamic observer 202.23ns 195.988 1.03 401.71ns

Observable subscribe

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
Specific observable subscribe specific observer 74.68ns 63.2642 1.18 330.41ns
Specific observable subscribe dynamic observer 77.10ns 71.2794 1.08 336.39ns
Dynamic observable subscribe specific observer 140.04ns 123.195 1.14 390.71ns
Dynamic observable subscribe dynamic observer 159.01ns 178.227 0.89 385.26ns

Observable subscribe #2

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
Specific observable subscribe lambda 64.68ns 69.398 0.93 352.36ns
Dynamic observable subscribe lambda 131.86ns 132.624 0.99 461.54ns
Specific observable subscribe lambda without subscription 64.71ns 63.8432 1.01 334.89ns
Dynamic observable subscribe lambda without subscription 134.40ns 129.381 1.04 386.24ns
Specific observable subscribe specific subscriber 32.64ns 28.6088 1.14 267.28ns
Dynamic observable subscribe specific subscriber 89.87ns 128.869 0.70 311.71ns
Specific observable subscribe dynamic observer 33.40ns 29.4072 1.14 289.16ns
Dynamic observable subscribe dynamic observer 92.83ns 80.6504 1.15 328.38ns

Observer construction

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
Specific observer construction 0.37ns 0.32382 1.13 0.37ns
Dynamic observer construction 29.73ns 30.9369 0.96 22.50ns
Specific observer construction + as_dynamic 33.03ns 36.7727 0.90 22.17ns

OnNext

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
Specific observer OnNext 0.71ns 0.787149 0.90 0.76ns
Dynamic observer OnNext 2.10ns 2.12932 0.98 5.82ns

Subscriber construction

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
Make subsriber 35.48ns 38.6072 0.92 80.92ns
Make copy of subscriber 21.24ns 20.765 1.02 5.67ns
Transform subsriber to dynamic 48.51ns 45.5829 1.06 29.24ns

Subscription

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
composite_subscription create 38.13ns 39.3072 0.97 64.74ns
composite_subscription add 58.79ns 64.8213 0.91 101.93ns
composite_subscription unsubscribe 49.31ns 46.1343 1.07 25.19ns

buffer

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
buffer 298.31ns 249.982 1.19 2297.31ns
sending of values from observable via buffer to subscriber 10.88ns 6.73115 1.62 30.97ns

chains creation test

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
long non-state chain creation + subscribe 296.76ns 251.082 1.18 621.70ns
long stateful chain creation + subscribe 430.67ns 387.515 1.11 856.49ns

combine_latest

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
combine_latest construction from observable via dot + subscribe 987.34ns 871.344 1.13 1075.17ns
sending of values from observable via combine_latest to subscriber 33.84ns 34.9316 0.97 2.24ns

concat

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
concat 2186.81ns 1850.07 1.18 3867.15ns
concat_with 2483.61ns 2841.34 0.87 4675.62ns

distinct_until_changed

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
distinct_until_changed construction from observable via dot + subscribe 122.78ns 112.847 1.09 292.01ns
sending of values from observable via distinct_until_changed to subscriber 2.98ns 2.98083 1.00 1.54ns

first

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
first construction from observable via dot + subscribe 156.91ns 130.847 1.20 748.99ns
sending of values from observable via first to subscriber 0.58ns 0.506736 1.14 0.58ns

foundamental sources

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
empty 75.39ns 65.4233 1.15 733.26ns
error 121.79ns 113.948 1.07 845.07ns
never 35.57ns 33.8852 1.05 290.42ns

from

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
from vector with int 118.19ns 84.5163 1.40 815.78ns

immediate scheduler

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
no any re-schedule 0.67ns 0.569234 1.18 131.88ns
re-schedule 10 times 10.66ns 10.1984 1.04 156.29ns

just

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
just send int 74.14ns 77.3467 0.96 779.26ns
just send variadic 158.04ns 103.188 1.53 848.76ns

last

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
last construction from observable via dot + subscribe 193.47ns 212.533 0.91 454.88ns
sending of values from observable via last to subscriber 3.42ns 3.3309 1.03 1.89ns

map

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
map construction from observable via dot + subscribe 78.29ns 87.9116 0.89 286.84ns
sending of values from observable via map to subscriber 0.91ns 0.908801 1.00 1.96ns

merge

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
merge 2038.22ns 1812.94 1.12 4096.80ns
merge_with 2418.03ns 2293.55 1.05 3951.67ns

observe_on

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
observe_on construction from observable via dot + subscribe 459.83ns 460.072 1.00 2976.12ns
sending of values from observable via observe_on to subscriber 65.14ns 52.885 1.23 246.05ns

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 505.09ns 443.201 1.14 635.20ns

publish_subject callbacks

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
on_next 26.19ns 31.0751 0.84 12.41ns
on_error 0.65ns 0.562302 1.16 19.33ns
on_completed 0.83ns 0.528 1.57 0.59ns

publish_subject routines

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
construct 208.55ns 238.294 0.88 214.74ns
get_observable 32.15ns 30.5236 1.05 56.48ns
get_subscriber 61.65ns 54.0429 1.14 14.77ns

repeat

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
repeat construction from observable via dot + subscribe 4632.34ns 4265.45 1.09 3581.15ns

scan

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
scan construction from observable via dot + subscribe 113.91ns 137.721 0.83 364.90ns
sending of values from observable via scan to subscriber 2.74ns 1.96249 1.40 2.19ns

single-threaded locks

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
no-lock increment 2.73ns 1.94466 1.41 .
mutex lock increment 22.07ns 19.5375 1.13 .
spin-lock increment 12.35ns 11.5625 1.07 .

skip

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
skip construction from observable via dot + subscribe 115.92ns 103.554 1.12 899.44ns
sending of values from observable via skip to subscriber 4.35ns 2.01299 2.16 2.29ns

switch_on_next

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
switch_on_next construction from observable via dot + subscribe 2644.02ns 2661.95 0.99 3466.54ns
sending of values from observable via switch_on_next to subscriber 633.81ns 633.412 1.00 919.52ns

take

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
take construction from observable via dot + subscribe 210.98ns 189.785 1.11 642.54ns
sending of values from observable via take to subscriber 2.50ns 2.7413 0.91 2.93ns

take_last

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
take_last construction from observable via dot + subscribe 256.68ns 246.242 1.04 617.75ns
sending of values from observable via take_last to subscriber 4.19ns 3.56476 1.18 4.80ns

take_until

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
take_until construction from observable via dot + subscribe 1217.89ns 1031.58 1.18 1598.07ns
sending of values from observable via take_until to subscriber 12.70ns 15.0375 0.84 2.28ns

trampoline scheduler

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
no any re-schedule 13.26ns 12.239 1.08 183.01ns
re-schedule 10 times 44.79ns 27.1998 1.65 198.07ns
recursively schedule 10 times 1596.49ns 1505.16 1.06 6502.24ns

window

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
window 2280.10ns 2441.88 0.93 3576.48ns
sending of values from observable via window to subscriber 707.11ns 544.707 1.30 437.57ns

with_latest_from

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
with_latest_from construction from observable via dot + subscribe 1215.27ns 1145.78 1.06 1376.54ns
sending of values from observable via with_latest_from to subscriber 30.16ns 27.1257 1.11 3.65ns

ci-ubuntu-gcc

Observable construction

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
Specific observable construction 0.41ns 0.342519 1.19 0.40ns
Dynamic observable construction 37.82ns 33.2636 1.14 27.94ns
Specific observable construction + as_dynamic 37.80ns 33.0659 1.14 27.63ns

Observable lift

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
Specific observable lift specific observer 111.93ns 107.187 1.04 399.90ns
Specific observable lift dynamic observer 147.31ns 136.238 1.08 416.39ns
Dynamic observable lift specific observer 198.42ns 237.441 0.84 465.93ns
Dynamic observable lift dynamic observer 232.34ns 230.905 1.01 442.67ns

Observable subscribe

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
Specific observable subscribe specific observer 74.93ns 65.8698 1.14 376.87ns
Specific observable subscribe dynamic observer 92.99ns 85.0986 1.09 403.03ns
Dynamic observable subscribe specific observer 147.48ns 147.326 1.00 430.06ns
Dynamic observable subscribe dynamic observer 152.46ns 163.679 0.93 415.49ns

Observable subscribe #2

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
Specific observable subscribe lambda 72.48ns 65.7335 1.10 392.39ns
Dynamic observable subscribe lambda 157.32ns 143.188 1.10 440.68ns
Specific observable subscribe lambda without subscription 71.63ns 59.7054 1.20 386.87ns
Dynamic observable subscribe lambda without subscription 156.95ns 142.119 1.10 448.65ns
Specific observable subscribe specific subscriber 34.53ns 33.9994 1.02 312.87ns
Dynamic observable subscribe specific subscriber 117.93ns 113.883 1.04 372.13ns
Specific observable subscribe dynamic observer 36.48ns 35.3497 1.03 332.25ns
Dynamic observable subscribe dynamic observer 99.50ns 96.8357 1.03 343.72ns

Observer construction

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
Specific observer construction 0.40ns 0.377314 1.07 0.40ns
Dynamic observer construction 37.80ns 32.3878 1.17 22.74ns
Specific observer construction + as_dynamic 37.37ns 31.5032 1.19 24.85ns

OnNext

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
Specific observer OnNext 0.40ns 0.374103 1.08 0.38ns
Dynamic observer OnNext 2.42ns 2.23963 1.08 2.38ns

Subscriber construction

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
Make subsriber 41.39ns 37.7695 1.10 66.99ns
Make copy of subscriber 20.18ns 19.2834 1.05 5.39ns
Transform subsriber to dynamic 51.30ns 49.5723 1.03 30.18ns

Subscription

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
composite_subscription create 40.96ns 39.6291 1.03 66.26ns
composite_subscription add 57.98ns 53.0565 1.09 113.80ns
composite_subscription unsubscribe 50.22ns 47.2 1.06 25.76ns

buffer

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
buffer 283.09ns 274.434 1.03 2397.25ns
sending of values from observable via buffer to subscriber 7.62ns 7.32455 1.04 32.81ns

chains creation test

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
long non-state chain creation + subscribe 303.12ns 325.123 0.93 825.33ns
long stateful chain creation + subscribe 489.93ns 498.931 0.98 1175.21ns

combine_latest

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
combine_latest construction from observable via dot + subscribe 1094.75ns 1104.02 0.99 1320.47ns
sending of values from observable via combine_latest to subscriber 32.97ns 36.3176 0.91 2.82ns

concat

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
concat 2273.50ns 2195.53 1.04 4166.96ns
concat_with 2588.50ns 2662.04 0.97 4529.85ns

distinct_until_changed

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
distinct_until_changed construction from observable via dot + subscribe 145.12ns 129.002 1.12 420.27ns
sending of values from observable via distinct_until_changed to subscriber 2.83ns 3.28108 0.86 1.62ns

first

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
first construction from observable via dot + subscribe 166.35ns 164.529 1.01 809.65ns
sending of values from observable via first to subscriber 1.23ns 0.769363 1.60 1.20ns

foundamental sources

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
empty 80.62ns 76.5154 1.05 892.00ns
error 136.02ns 128.618 1.06 1006.42ns
never 36.55ns 36.8933 0.99 340.63ns

from

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
from vector with int 95.86ns 93.5672 1.02 920.24ns

immediate scheduler

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
no any re-schedule 1.47ns 0.880449 1.67 157.18ns
re-schedule 10 times 24.89ns 19.8708 1.25 187.23ns

just

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
just send int 85.06ns 79.5531 1.07 926.33ns
just send variadic 138.53ns 115.029 1.20 975.48ns

last

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
last construction from observable via dot + subscribe 205.17ns 198.762 1.03 510.21ns
sending of values from observable via last to subscriber 2.46ns 3.43154 0.72 1.58ns

map

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
map construction from observable via dot + subscribe 93.54ns 97.8499 0.96 411.20ns
sending of values from observable via map to subscriber 1.58ns 0.867205 1.82 2.82ns

merge

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
merge 2230.19ns 2040.88 1.09 4293.18ns
merge_with 2578.07ns 2652.12 0.97 4694.95ns

observe_on

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
observe_on construction from observable via dot + subscribe 535.72ns 537.922 1.00 3010.85ns
sending of values from observable via observe_on to subscriber 85.51ns 72.8607 1.17 279.61ns

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 521.51ns 506.043 1.03 750.98ns

publish_subject callbacks

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
on_next 26.97ns 28.6202 0.94 12.52ns
on_error 0.80ns 0.764234 1.04 19.94ns
on_completed 1.59ns 0.775148 2.05 0.81ns

publish_subject routines

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
construct 262.03ns 227.952 1.15 201.98ns
get_observable 35.37ns 31.9685 1.11 57.17ns
get_subscriber 68.84ns 62.4911 1.10 27.49ns

repeat

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
repeat construction from observable via dot + subscribe 5038.50ns 4981.78 1.01 3609.68ns

scan

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
scan construction from observable via dot + subscribe 134.61ns 125.567 1.07 461.93ns
sending of values from observable via scan to subscriber 1.78ns 2.22665 0.80 1.92ns

single-threaded locks

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
no-lock increment 2.32ns 2.49574 0.93 .
mutex lock increment 20.31ns 23.6763 0.86 .
spin-lock increment 11.23ns 13.243 0.85 .

skip

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
skip construction from observable via dot + subscribe 138.45ns 135.348 1.02 602.28ns
sending of values from observable via skip to subscriber 2.77ns 3.26994 0.85 2.81ns

switch_on_next

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
switch_on_next construction from observable via dot + subscribe 2627.30ns 2781.4 0.94 5085.23ns
sending of values from observable via switch_on_next to subscriber 729.91ns 686.873 1.06 1285.19ns

take

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
take construction from observable via dot + subscribe 189.60ns 193.703 0.98 687.59ns
sending of values from observable via take to subscriber 4.03ns 4.25637 0.95 4.83ns

take_last

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
take_last construction from observable via dot + subscribe 244.24ns 245.401 1.00 807.07ns
sending of values from observable via take_last to subscriber 3.35ns 3.73558 0.90 7.09ns

take_until

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
take_until construction from observable via dot + subscribe 1300.01ns 1268.42 1.02 1869.01ns
sending of values from observable via take_until to subscriber 12.73ns 11.1775 1.14 2.15ns

trampoline scheduler

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
no any re-schedule 25.12ns 26.0129 0.97 230.84ns
re-schedule 10 times 60.61ns 52.8248 1.15 256.84ns
recursively schedule 10 times 1601.95ns 1652.43 0.97 7589.90ns

window

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
window 2520.76ns 2287.57 1.10 3635.66ns
sending of values from observable via window to subscriber 711.36ns 662.574 1.07 510.20ns

with_latest_from

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
with_latest_from construction from observable via dot + subscribe 1193.21ns 1233.97 0.97 6515.03ns
sending of values from observable via with_latest_from to subscriber 34.63ns 35.477 0.98 4.85ns

ci-windows

Observable construction

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
Specific observable construction 1.50ns 1.50365 1.00 0.67ns
Dynamic observable construction 79.70ns 81.3902 0.98 122.62ns
Specific observable construction + as_dynamic 79.83ns 81.2744 0.98 127.53ns

Observable lift

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
Specific observable lift specific observer 145.20ns 153.244 0.95 1215.18ns
Specific observable lift dynamic observer 180.68ns 179.311 1.01 2209.05ns
Dynamic observable lift specific observer 283.66ns 283.742 1.00 1394.47ns
Dynamic observable lift dynamic observer 237.35ns 238.735 0.99 1309.20ns

Observable subscribe

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
Specific observable subscribe specific observer 110.98ns 113.111 0.98 1170.59ns
Specific observable subscribe dynamic observer 130.35ns 131.575 0.99 1237.00ns
Dynamic observable subscribe specific observer 227.19ns 234.256 0.97 1486.90ns
Dynamic observable subscribe dynamic observer 177.54ns 179.338 0.99 1245.45ns

Observable subscribe #2

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
Specific observable subscribe lambda 111.31ns 113.7 0.98 1247.86ns
Dynamic observable subscribe lambda 227.03ns 229.154 0.99 1345.90ns
Specific observable subscribe lambda without subscription 111.32ns 112.975 0.99 1170.70ns
Dynamic observable subscribe lambda without subscription 227.55ns 279.339 0.81 1348.75ns
Specific observable subscribe specific subscriber 30.80ns 34.2286 0.90 842.07ns
Dynamic observable subscribe specific subscriber 146.37ns 146.197 1.00 1017.38ns
Specific observable subscribe dynamic observer 30.78ns 30.8449 1.00 875.97ns
Dynamic observable subscribe dynamic observer 87.47ns 79.9577 1.09 909.62ns

Observer construction

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
Specific observer construction 1.51ns 1.50364 1.00 1.51ns
Dynamic observer construction 81.40ns 83.0312 0.98 165.72ns
Specific observer construction + as_dynamic 81.23ns 82.8758 0.98 129.61ns

OnNext

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
Specific observer OnNext 0.67ns 0.668842 1.00 0.67ns
Dynamic observer OnNext 2.01ns 2.00718 1.00 2.35ns

Subscriber construction

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
Make subsriber 84.12ns 86.2323 0.98 347.03ns
Make copy of subscriber 17.25ns 16.7098 1.03 31.42ns
Transform subsriber to dynamic 96.56ns 112.134 0.86 150.47ns

Subscription

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
composite_subscription create 84.22ns 86.1 0.98 341.42ns
composite_subscription add 71.13ns 70.9651 1.00 159.92ns
composite_subscription unsubscribe 64.88ns 62.9785 1.03 123.76ns

buffer

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
buffer 351.35ns 354.851 0.99 4468.33ns
sending of values from observable via buffer to subscriber 7.09ns 7.09105 1.00 96.49ns

chains creation test

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
long non-state chain creation + subscribe 269.28ns 273.0 0.99 1879.27ns
long stateful chain creation + subscribe 667.33ns 663.639 1.01 3158.75ns

combine_latest

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
combine_latest construction from observable via dot + subscribe 1644.07ns 1750.07 0.94 2986.25ns
sending of values from observable via combine_latest to subscriber 47.22ns 47.002 1.00 4.67ns

concat

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
concat 3225.33ns 2964.9 1.09 10731.30ns
concat_with 3875.62ns 3421.38 1.13 13469.00ns

distinct_until_changed

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
distinct_until_changed construction from observable via dot + subscribe 183.56ns 183.507 1.00 1026.42ns
sending of values from observable via distinct_until_changed to subscriber 3.55ns 3.71807 0.95 4.29ns

first

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
first construction from observable via dot + subscribe 128.46ns 128.196 1.00 3582.20ns
sending of values from observable via first to subscriber 2.36ns 2.73368 0.86 1.81ns

foundamental sources

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
empty 68.14ns 63.128 1.08 2394.36ns
error 113.20ns 111.876 1.01 2475.80ns
never 30.84ns 30.6909 1.00 957.74ns

from

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
from vector with int 151.01ns 150.816 1.00 2457.27ns

immediate scheduler

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
no any re-schedule 1.76ns 1.79268 0.98 407.14ns
re-schedule 10 times 102.14ns 97.7844 1.04 436.95ns

just

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
just send int 68.29ns 68.5526 1.00 2826.82ns
just send variadic 101.85ns 98.378 1.04 2487.55ns

last

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
last construction from observable via dot + subscribe 223.04ns 223.7 1.00 1449.94ns
sending of values from observable via last to subscriber 3.20ns 3.59409 0.89 5.86ns

map

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
map construction from observable via dot + subscribe 88.01ns 87.8964 1.00 997.15ns
sending of values from observable via map to subscriber 4.02ns 4.01388 1.00 7.70ns

merge

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
merge 3010.50ns 3535.0 0.85 10929.70ns
merge_with 3691.50ns 3348.62 1.10 11647.30ns

observe_on

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
observe_on construction from observable via dot + subscribe 642.64ns 618.024 1.04 5495.40ns
sending of values from observable via observe_on to subscriber 63.77ns 63.9163 1.00 870.06ns

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 634.35ns 641.825 0.99 1846.46ns

publish_subject callbacks

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
on_next 19.84ns 20.1336 0.99 32.51ns
on_error 2.72ns 2.70482 1.01 18.42ns
on_completed 2.28ns 2.27279 1.00 1.35ns

publish_subject routines

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
construct 353.20ns 354.483 1.00 590.40ns
get_observable 26.07ns 26.151 1.00 163.29ns
get_subscriber 50.21ns 50.1717 1.00 94.26ns

repeat

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
repeat construction from observable via dot + subscribe 6824.50ns 6074.8 1.12 11232.00ns

scan

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
scan construction from observable via dot + subscribe 182.56ns 181.279 1.01 1241.05ns
sending of values from observable via scan to subscriber 6.16ns 6.16346 1.00 9.32ns

single-threaded locks

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
no-lock increment 1.88ns 1.88067 1.00 .
mutex lock increment 25.88ns 25.788 1.00 .
spin-lock increment 9.03ns 9.03988 1.00 .

skip

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
skip construction from observable via dot + subscribe 177.47ns 177.733 1.00 1592.88ns
sending of values from observable via skip to subscriber 3.48ns 3.5394 0.98 4.05ns

switch_on_next

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
switch_on_next construction from observable via dot + subscribe 3769.38ns 3533.5 1.07 12048.00ns
sending of values from observable via switch_on_next to subscriber 868.74ns 856.281 1.01 3101.22ns

take

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
take construction from observable via dot + subscribe 224.42ns 225.737 0.99 2212.00ns
sending of values from observable via take to subscriber 5.78ns 5.75663 1.00 5.57ns

take_last

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
take_last construction from observable via dot + subscribe 321.76ns 322.797 1.00 2450.64ns
sending of values from observable via take_last to subscriber 4.23ns 4.25903 0.99 20.27ns

take_until

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
take_until construction from observable via dot + subscribe 1694.35ns 1598.8 1.06 5193.67ns
sending of values from observable via take_until to subscriber 11.55ns 11.5428 1.00 6.40ns

trampoline scheduler

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
no any re-schedule 20.39ns 19.4552 1.05 621.84ns
re-schedule 10 times 121.57ns 242.232 0.50 665.15ns
recursively schedule 10 times 2584.45ns 2639.55 0.98 19055.00ns

window

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
window 2931.67ns 2936.89 1.00 9662.33ns
sending of values from observable via window to subscriber 840.16ns 841.344 1.00 1611.62ns

with_latest_from

Table
Test Name Current, ns Prev, ns Ratio RxCpp current, ns
with_latest_from construction from observable via dot + subscribe 1963.38ns 2032.75 0.97 3760.67ns
sending of values from observable via with_latest_from to subscriber 42.10ns 38.1275 1.10 7.23ns

Please sign in to comment.