nautechsystems
nautilus_trader
BlogDocsChangelog

Port OrderEmulator to Rust

#2171Merged
Comparing
Pushkarm029:order_emulator
(
3a4ff61
) with
develop
(
4b2ce68
)
CodSpeed Performance Gauge
-42%
Regressions
1
Untouched
52

Benchmarks

Failed

test_symbol_equality
tests/performance_tests/test_perf_identifiers.py
Regression
CodSpeed Performance Gauge
-42%
13.3 µs23.1 µs

Passed

test_make_builtin_uuid
tests/performance_tests/test_perf_uuid.py
CodSpeed Performance Gauge
+18%
54.3 µs46.2 µs
test_make_nautilus_uuid
tests/performance_tests/test_perf_uuid.py
CodSpeed Performance Gauge
+9%
18.1 µs16.7 µs
test_instrument_id_to_str
tests/performance_tests/test_perf_objects.py
CodSpeed Performance Gauge
+7%
19.6 µs18.3 µs
test_live_clock_timestamp_ms
tests/performance_tests/test_perf_clock.py
CodSpeed Performance Gauge
+5%
14.7 µs14 µs
test_pyo3_deltas_to_legacy_cython_list
tests/performance_tests/test_perf_pyo3_conversion.py
CodSpeed Performance Gauge
+2%
10.9 ms10.8 ms
test_pyo3_trades_to_legacy_cython_list
tests/performance_tests/test_perf_pyo3_conversion.py
CodSpeed Performance Gauge
+2%
11 ms10.8 ms
test_live_clock_timestamp_us
tests/performance_tests/test_perf_clock.py
CodSpeed Performance Gauge
+1%
14.1 µs13.9 µs
test_nautilus_uuid_value
tests/performance_tests/test_perf_uuid.py
CodSpeed Performance Gauge
+1%
16.2 µs16.1 µs
test_pyo3_quotes_to_legacy_cython_list
tests/performance_tests/test_perf_pyo3_conversion.py
CodSpeed Performance Gauge
0%
10.7 ms10.7 ms
test_np_std
tests/performance_tests/test_perf_stats.py
CodSpeed Performance Gauge
0%
141.7 µs141.2 µs
test_live_clock_unix_timestamp
tests/performance_tests/test_perf_clock.py
CodSpeed Performance Gauge
0%
13.4 µs13.4 µs
test_create_trade_tick_from_raw
tests/performance_tests/test_perf_objects.py
CodSpeed Performance Gauge
0%
29 µs28.9 µs
test_is_limit_filled
tests/performance_tests/test_perf_fill_model.py
CodSpeed Performance Gauge
0%
16.3 µs16.2 µs
test_condition_valid_string
tests/performance_tests/test_perf_correctness.py
CodSpeed Performance Gauge
0%
16.6 µs16.6 µs
test_nautilus_convert_to_snake_case
tests/performance_tests/test_perf_core.py
CodSpeed Performance Gauge
0%
17.7 µs17.6 µs
test_submit_order
tests/performance_tests/test_perf_live_execution.py::TestLiveExecutionPerformance
CodSpeed Performance Gauge
0%
399.9 µs399.5 µs
test_pyo3_bars_to_legacy_cython_list
tests/performance_tests/test_perf_pyo3_conversion.py
CodSpeed Performance Gauge
0%
11.5 ms11.5 ms
test_np_mean
tests/performance_tests/test_perf_stats.py
CodSpeed Performance Gauge
0%
90.1 µs90.1 µs
test_create_quote_tick
tests/performance_tests/test_perf_objects.py
CodSpeed Performance Gauge
0%
45.5 µs45.5 µs
test_pyo3_quote_to_legacy_cython
tests/performance_tests/test_perf_pyo3_conversion.py
CodSpeed Performance Gauge
0%
20.4 µs20.4 µs
test_pyo3_delta_to_legacy_cython
tests/performance_tests/test_perf_pyo3_conversion.py
CodSpeed Performance Gauge
0%
20.5 µs20.5 µs
test_create_instrument_id
tests/performance_tests/test_perf_objects.py
CodSpeed Performance Gauge
0%
13.4 µs13.4 µs
test_condition_type_or_none
tests/performance_tests/test_perf_correctness.py
CodSpeed Performance Gauge
0%
12.4 µs12.4 µs
test_live_clock_timestamp_ns
tests/performance_tests/test_perf_clock.py
CodSpeed Performance Gauge
0%
14 µs14 µs
test_iteratively_advance_time
tests/performance_tests/test_perf_clock.py
CodSpeed Performance Gauge
0%
26.9 ms26.9 ms
test_create_trade_tick
tests/performance_tests/test_perf_objects.py
CodSpeed Performance Gauge
0%
45.2 µs45.2 µs
test_pyo3_bar_to_legacy_cython
tests/performance_tests/test_perf_pyo3_conversion.py
CodSpeed Performance Gauge
0%
20.5 µs20.5 µs
test_trade_tick_data_wrangler_process
tests/performance_tests/test_perf_wranglers.py
CodSpeed Performance Gauge
0%
1.1 s1.1 s
test_is_stop_filled
tests/performance_tests/test_perf_fill_model.py
CodSpeed Performance Gauge
0%
16.3 µs16.3 µs
test_market_order_creation
tests/performance_tests/test_perf_order.py::TestOrderPerformance
CodSpeed Performance Gauge
0%
131.1 µs131.4 µs
test_quote_tick_data_wrangler_process_tick_data
tests/performance_tests/test_perf_wranglers.py
CodSpeed Performance Gauge
0%
17.6 ms17.6 ms
test_condition_none
tests/performance_tests/test_perf_correctness.py
CodSpeed Performance Gauge
0%
12.3 µs12.3 µs
test_get_rate
tests/performance_tests/test_perf_xrate_calculator.py
CodSpeed Performance Gauge
0%
64.2 µs64.3 µs
test_pyo3_trade_to_legacy_cython
tests/performance_tests/test_perf_pyo3_conversion.py
CodSpeed Performance Gauge
0%
20.5 µs20.5 µs
test_create_symbol
tests/performance_tests/test_perf_objects.py
CodSpeed Performance Gauge
0%
19 µs19 µs
test_live_clock_utc_now
tests/performance_tests/test_perf_clock.py
CodSpeed Performance Gauge
0%
53.4 µs53.5 µs
test_create_bar
tests/performance_tests/test_perf_objects.py
CodSpeed Performance Gauge
-1%
15.3 µs15.4 µs
test_advance_time
tests/performance_tests/test_perf_clock.py
CodSpeed Performance Gauge
-1%
15.2 µs15.3 µs
test_logging
tests/performance_tests/test_perf_logger.py
CodSpeed Performance Gauge
-1%
290.3 ms292.1 ms
test_nautilus_uuid_from_value
tests/performance_tests/test_perf_uuid.py
CodSpeed Performance Gauge
-1%
57.4 µs57.8 µs
test_submit_order_end_to_end
tests/performance_tests/test_perf_live_execution.py::TestLiveExecutionPerformance
CodSpeed Performance Gauge
-1%
198.6 ms200 ms
test_condition_true
tests/performance_tests/test_perf_correctness.py
CodSpeed Performance Gauge
-1%
12.1 µs12.2 µs
test_order_id_generator
tests/performance_tests/test_perf_order.py::TestOrderPerformance
CodSpeed Performance Gauge
-1%
66.5 µs67.2 µs
test_create_quote_tick_raw
tests/performance_tests/test_perf_objects.py
CodSpeed Performance Gauge
-1%
23.9 µs24.2 µs
test_limit_order_creation
tests/performance_tests/test_perf_order.py::TestOrderPerformance
CodSpeed Performance Gauge
-2%
140.4 µs142.7 µs
test_order_denied_to_dict_then_msgspec_to_json
tests/performance_tests/test_perf_events.py
CodSpeed Performance Gauge
-2%
43.2 µs43.9 µs
test_execute_command
tests/performance_tests/test_perf_live_execution.py::TestLiveExecutionPerformance
CodSpeed Performance Gauge
-2%
168.9 µs171.6 µs
test_serialize_submit_order
tests/performance_tests/test_perf_serialization.py::TestSerializationPerformance
CodSpeed Performance Gauge
-2%
102.6 µs104.6 µs
test_order_denied_to_dict
tests/performance_tests/test_perf_events.py
CodSpeed Performance Gauge
-2%
33.6 µs34.4 µs
test_fast_mean
tests/performance_tests/test_perf_stats.py
CodSpeed Performance Gauge
-4%
22.7 µs23.6 µs
test_fast_std
tests/performance_tests/test_perf_stats.py
CodSpeed Performance Gauge
-5%
24.4 µs25.6 µs
test_venue_equality
tests/performance_tests/test_perf_identifiers.py
CodSpeed Performance Gauge
-10%
13.4 µs14.8 µs

Commits

Click on a commit to change the comparison range
Base
develop
4b2ce68
-42.25%
format Signed-off-by: Pushkar Mishra <pushkarmishra029@gmail.com>
3a4ff61
9 months ago
by Pushkarm029
© 2025 CodSpeed Technology
Home Terms Privacy Docs