Avatar for the nautechsystems user
nautechsystems
nautilus_trader
BlogDocsChangelog

Refine private WebSocket messages processing for Bybit

#2170Merged
Comparing
sunlei/bybit-refine-ws-msg
(
8bd8274
) with
develop
(
4b2ce68
)
CodSpeed Performance Gauge
-44%
Improvements
0
Regressions
1
Untouched
52
New
0
Dropped
0
Ignored
0

Benchmarks

Failed

test_condition_noneRegression
tests/performance_tests/test_perf_correctness.py::test_condition_none
CodSpeed Performance Gauge
-44%
12.3 µs
22.1 µs

Passed

test_make_builtin_uuid
tests/performance_tests/test_perf_uuid.py::test_make_builtin_uuid
CodSpeed Performance Gauge
+17%
54.3 µs
46.3 µs
test_make_nautilus_uuid
tests/performance_tests/test_perf_uuid.py::test_make_nautilus_uuid
CodSpeed Performance Gauge
+9%
18.1 µs
16.6 µs
test_instrument_id_to_str
tests/performance_tests/test_perf_objects.py::test_instrument_id_to_str
CodSpeed Performance Gauge
+8%
19.6 µs
18.1 µs
test_live_clock_timestamp_ms
tests/performance_tests/test_perf_clock.py::test_live_clock_timestamp_ms
CodSpeed Performance Gauge
+6%
14.7 µs
13.9 µs
test_live_clock_timestamp_us
tests/performance_tests/test_perf_clock.py::test_live_clock_timestamp_us
CodSpeed Performance Gauge
+1%
14.1 µs
13.9 µs
test_get_rate
tests/performance_tests/test_perf_xrate_calculator.py::test_get_rate
CodSpeed Performance Gauge
+1%
64.2 µs
63.7 µs
test_market_order_creation
tests/performance_tests/test_perf_order.py::TestOrderPerformance::test_market_order_creation
CodSpeed Performance Gauge
+1%
131.1 µs
130.3 µs
test_create_quote_tick
tests/performance_tests/test_perf_objects.py::test_create_quote_tick
CodSpeed Performance Gauge
+1%
45.5 µs
45.2 µs
test_nautilus_uuid_value
tests/performance_tests/test_perf_uuid.py::test_nautilus_uuid_value
CodSpeed Performance Gauge
+1%
16.2 µs
16.1 µs
test_logging
tests/performance_tests/test_perf_logger.py::test_logging
CodSpeed Performance Gauge
+1%
290.3 ms
288.7 ms
test_is_stop_filled
tests/performance_tests/test_perf_fill_model.py::test_is_stop_filled
CodSpeed Performance Gauge
+1%
16.3 µs
16.2 µs
test_create_quote_tick_raw
tests/performance_tests/test_perf_objects.py::test_create_quote_tick_raw
CodSpeed Performance Gauge
0%
23.9 µs
23.7 µs
test_live_clock_timestamp_ns
tests/performance_tests/test_perf_clock.py::test_live_clock_timestamp_ns
CodSpeed Performance Gauge
0%
14 µs
13.9 µs
test_is_limit_filled
tests/performance_tests/test_perf_fill_model.py::test_is_limit_filled
CodSpeed Performance Gauge
0%
16.3 µs
16.2 µs
test_venue_equality
tests/performance_tests/test_perf_identifiers.py::test_venue_equality
CodSpeed Performance Gauge
0%
13.4 µs
13.3 µs
test_create_instrument_id
tests/performance_tests/test_perf_objects.py::test_create_instrument_id
CodSpeed Performance Gauge
0%
13.4 µs
13.4 µs
test_live_clock_unix_timestamp
tests/performance_tests/test_perf_clock.py::test_live_clock_unix_timestamp
CodSpeed Performance Gauge
0%
13.4 µs
13.4 µs
test_create_trade_tick_from_raw
tests/performance_tests/test_perf_objects.py::test_create_trade_tick_from_raw
CodSpeed Performance Gauge
0%
29 µs
28.9 µs
test_submit_order
tests/performance_tests/test_perf_live_execution.py::TestLiveExecutionPerformance::test_submit_order
CodSpeed Performance Gauge
0%
399.9 µs
399.6 µs
test_trade_tick_data_wrangler_process
tests/performance_tests/test_perf_wranglers.py::test_trade_tick_data_wrangler_process
CodSpeed Performance Gauge
0%
1.1 s
1.1 s
test_nautilus_convert_to_snake_case
tests/performance_tests/test_perf_core.py::test_nautilus_convert_to_snake_case
CodSpeed Performance Gauge
0%
17.7 µs
17.7 µs
test_condition_type_or_none
tests/performance_tests/test_perf_correctness.py::test_condition_type_or_none
CodSpeed Performance Gauge
0%
12.4 µs
12.4 µs
test_symbol_equality
tests/performance_tests/test_perf_identifiers.py::test_symbol_equality
CodSpeed Performance Gauge
0%
13.3 µs
13.3 µs
test_create_bar
tests/performance_tests/test_perf_objects.py::test_create_bar
CodSpeed Performance Gauge
0%
15.3 µs
15.3 µs
test_iteratively_advance_time
tests/performance_tests/test_perf_clock.py::test_iteratively_advance_time
CodSpeed Performance Gauge
0%
26.9 ms
26.9 ms
test_create_trade_tick
tests/performance_tests/test_perf_objects.py::test_create_trade_tick
CodSpeed Performance Gauge
0%
45.2 µs
45.3 µs
test_np_mean
tests/performance_tests/test_perf_stats.py::test_np_mean
CodSpeed Performance Gauge
0%
90.1 µs
90.3 µs
test_nautilus_uuid_from_value
tests/performance_tests/test_perf_uuid.py::test_nautilus_uuid_from_value
CodSpeed Performance Gauge
0%
57.4 µs
57.5 µs
test_create_symbol
tests/performance_tests/test_perf_objects.py::test_create_symbol
CodSpeed Performance Gauge
0%
19 µs
19 µs
test_quote_tick_data_wrangler_process_tick_data
tests/performance_tests/test_perf_wranglers.py::test_quote_tick_data_wrangler_process_tick_data
CodSpeed Performance Gauge
0%
17.6 ms
17.7 ms
test_live_clock_utc_now
tests/performance_tests/test_perf_clock.py::test_live_clock_utc_now
CodSpeed Performance Gauge
0%
53.4 µs
53.5 µs
test_condition_valid_string
tests/performance_tests/test_perf_correctness.py::test_condition_valid_string
CodSpeed Performance Gauge
0%
16.6 µs
16.6 µs
test_serialize_submit_order
tests/performance_tests/test_perf_serialization.py::TestSerializationPerformance::test_serialize_submit_order
CodSpeed Performance Gauge
0%
102.6 µs
103 µs
test_limit_order_creation
tests/performance_tests/test_perf_order.py::TestOrderPerformance::test_limit_order_creation
CodSpeed Performance Gauge
-1%
140.4 µs
141.2 µs
test_submit_order_end_to_end
tests/performance_tests/test_perf_live_execution.py::TestLiveExecutionPerformance::test_submit_order_end_to_end
CodSpeed Performance Gauge
-1%
198.6 ms
200 ms
test_advance_time
tests/performance_tests/test_perf_clock.py::test_advance_time
CodSpeed Performance Gauge
-1%
15.2 µs
15.3 µs
test_order_id_generator
tests/performance_tests/test_perf_order.py::TestOrderPerformance::test_order_id_generator
CodSpeed Performance Gauge
-1%
66.5 µs
67 µs
test_execute_command
tests/performance_tests/test_perf_live_execution.py::TestLiveExecutionPerformance::test_execute_command
CodSpeed Performance Gauge
-1%
168.9 µs
170.5 µs
test_order_denied_to_dict
tests/performance_tests/test_perf_events.py::test_order_denied_to_dict
CodSpeed Performance Gauge
-1%
33.6 µs
34 µs
test_np_std
tests/performance_tests/test_perf_stats.py::test_np_std
CodSpeed Performance Gauge
-1%
141.7 µs
143.5 µs
test_order_denied_to_dict_then_msgspec_to_json
tests/performance_tests/test_perf_events.py::test_order_denied_to_dict_then_msgspec_to_json
CodSpeed Performance Gauge
-1%
43.2 µs
43.8 µs
test_pyo3_delta_to_legacy_cython
tests/performance_tests/test_perf_pyo3_conversion.py::test_pyo3_delta_to_legacy_cython
CodSpeed Performance Gauge
-3%
20.5 µs
21.1 µs
test_pyo3_bar_to_legacy_cython
tests/performance_tests/test_perf_pyo3_conversion.py::test_pyo3_bar_to_legacy_cython
CodSpeed Performance Gauge
-3%
20.5 µs
21.2 µs
test_pyo3_trade_to_legacy_cython
tests/performance_tests/test_perf_pyo3_conversion.py::test_pyo3_trade_to_legacy_cython
CodSpeed Performance Gauge
-3%
20.5 µs
21.2 µs
test_pyo3_quote_to_legacy_cython
tests/performance_tests/test_perf_pyo3_conversion.py::test_pyo3_quote_to_legacy_cython
CodSpeed Performance Gauge
-3%
20.4 µs
21.1 µs
test_fast_std
tests/performance_tests/test_perf_stats.py::test_fast_std
CodSpeed Performance Gauge
-4%
24.4 µs
25.3 µs
test_fast_mean
tests/performance_tests/test_perf_stats.py::test_fast_mean
CodSpeed Performance Gauge
-4%
22.7 µs
23.5 µs
test_pyo3_deltas_to_legacy_cython_list
tests/performance_tests/test_perf_pyo3_conversion.py::test_pyo3_deltas_to_legacy_cython_list
CodSpeed Performance Gauge
-5%
10.9 ms
11.6 ms
test_pyo3_trades_to_legacy_cython_list
tests/performance_tests/test_perf_pyo3_conversion.py::test_pyo3_trades_to_legacy_cython_list
CodSpeed Performance Gauge
-5%
11 ms
11.6 ms
test_pyo3_bars_to_legacy_cython_list
tests/performance_tests/test_perf_pyo3_conversion.py::test_pyo3_bars_to_legacy_cython_list
CodSpeed Performance Gauge
-7%
11.5 ms
12.3 ms
test_pyo3_quotes_to_legacy_cython_list
tests/performance_tests/test_perf_pyo3_conversion.py::test_pyo3_quotes_to_legacy_cython_list
CodSpeed Performance Gauge
-7%
10.7 ms
11.5 ms
test_condition_true
tests/performance_tests/test_perf_correctness.py::test_condition_true
CodSpeed Performance Gauge
-12%
12.1 µs
13.8 µs

Commits

Click on a commit to change the comparison range
Base
develop
4b2ce68
-44%
Refine private WebSocket messages processing for Bybit
8bd8274
6 months ago
by sunlei
© 2025 CodSpeed Technology
Home Terms Privacy Docs