Totodore / socketioxide

A socket.io server implementation in Rust that integrates with the Tower ecosystem and the Tokio stack.
https://docs.rs/socketioxide
MIT License
1.13k stars 49 forks source link

chore(deps): use `futures_core` and `futures_util` rather than whole `futures` crate #305

Closed Totodore closed 2 months ago

github-actions[bot] commented 2 months ago

🐰Bencher

ReportSat, April 20, 2024 at 05:53:06 UTC
ProjectSocketioxide
Branchchore-deps-move-to-futures-core
Testbedubuntu-latest
BenchmarkLatencyLatency Results
nanoseconds (ns)
engineio_packet/decode/Decode packet binary b64➖ (view plot)79.521
engineio_packet/decode/Decode packet message➖ (view plot)23.335
engineio_packet/decode/Decode packet noop➖ (view plot)13.937
engineio_packet/decode/Decode packet ping/pong➖ (view plot)13.878
engineio_packet/decode/Decode packet ping/pong upgrade➖ (view plot)13.774
engineio_packet/encode/Encode packet binary b64➖ (view plot)53.298
engineio_packet/encode/Encode packet message➖ (view plot)38.079
engineio_packet/encode/Encode packet noop➖ (view plot)23.171
engineio_packet/encode/Encode packet open➖ (view plot)326.140
engineio_packet/encode/Encode packet ping/pong➖ (view plot)22.912
engineio_packet/encode/Encode packet ping/pong upgrade➖ (view plot)23.156
extensions/concurrent_get➖ (view plot)25.932
extensions/concurrent_get_inserts➖ (view plot)31.274
extensions/concurrent_inserts➖ (view plot)22.817
socketio_packet/decode/Decode packet ack on /➖ (view plot)275.090
socketio_packet/decode/Decode packet ack on /custom_nsp➖ (view plot)292.400
socketio_packet/decode/Decode packet binary ack (b64) on /➖ (view plot)485.190
socketio_packet/decode/Decode packet binary ack (b64) on /custom_nsp➖ (view plot)510.090
socketio_packet/decode/Decode packet binary event (b64) on /➖ (view plot)572.080
socketio_packet/decode/Decode packet binary event (b64) on /custom_nsp➖ (view plot)601.750
socketio_packet/decode/Decode packet connect on /➖ (view plot)47.386
socketio_packet/decode/Decode packet connect on /custom_nsp➖ (view plot)63.664
socketio_packet/decode/Decode packet event on /➖ (view plot)343.700
socketio_packet/decode/Decode packet event on /custom_nsp➖ (view plot)365.470
socketio_packet/decode/Decode packet event with ack on /➖ (view plot)343.870
socketio_packet/decode/Decode packet event with ack on /custom_nsp➖ (view plot)364.880
socketio_packet/encode/Encode packet ack on /➖ (view plot)126.580
socketio_packet/encode/Encode packet ack on /custom_nsp➖ (view plot)131.800
socketio_packet/encode/Encode packet binary ack (b64) on /➖ (view plot)325.290
socketio_packet/encode/Encode packet binary ack (b64) on /custom_nsp➖ (view plot)330.380
socketio_packet/encode/Encode packet binary event (b64) on /➖ (view plot)424.340
socketio_packet/encode/Encode packet binary event (b64) on /custom_nsp➖ (view plot)437.070
socketio_packet/encode/Encode packet connect on /➖ (view plot)54.744
socketio_packet/encode/Encode packet connect on /custom_nsp➖ (view plot)56.838
socketio_packet/encode/Encode packet event on /➖ (view plot)128.550
socketio_packet/encode/Encode packet event on /custom_nsp➖ (view plot)131.950
socketio_packet/encode/Encode packet event with ack on /➖ (view plot)129.220
socketio_packet/encode/Encode packet event with ack on /custom_nsp➖ (view plot)131.810

Bencher - Continuous Benchmarking
View Public Perf Page
Docs | Repo | Chat | Help