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.21k stars 52 forks source link

chore(deps): remove useless dashmap dep and improve doc #328

Closed Totodore closed 4 months ago

Totodore commented 4 months ago

Improve PR #309

github-actions[bot] commented 4 months ago

🐰Bencher

ReportTue, June 4, 2024 at 14:57:10 UTC
ProjectSocketioxide
Branchchore-remove-dashmap-dep
Testbedubuntu-latest

⚠️ WARNING: The following Measure does not have a Threshold. Without a Threshold, no Alerts will ever be generated!

  • Latency (latency)

Click here to create a new Threshold
For more information, see the Threshold documentation.
To only post results if a Threshold exists, set the --ci-only-thresholds CLI flag.

Click to view all benchmark results
BenchmarkLatencyLatency Results
nanoseconds (ns)
engineio_packet/decode/Decode packet binary b64➖ (view plot)88.15
engineio_packet/decode/Decode packet message➖ (view plot)39.21
engineio_packet/decode/Decode packet noop➖ (view plot)35.41
engineio_packet/decode/Decode packet ping/pong➖ (view plot)31.26
engineio_packet/decode/Decode packet ping/pong upgrade➖ (view plot)35.17
engineio_packet/encode/Encode packet binary b64➖ (view plot)56.29
engineio_packet/encode/Encode packet message➖ (view plot)30.77
engineio_packet/encode/Encode packet noop➖ (view plot)29.67
engineio_packet/encode/Encode packet open➖ (view plot)287.84
engineio_packet/encode/Encode packet ping/pong➖ (view plot)29.46
engineio_packet/encode/Encode packet ping/pong upgrade➖ (view plot)29.50
extensions/concurrent_get➖ (view plot)6.82
extensions/concurrent_get_inserts➖ (view plot)14.88
extensions/concurrent_inserts➖ (view plot)21.07
socketio_packet/decode/Decode packet ack on /➖ (view plot)281.25
socketio_packet/decode/Decode packet ack on /custom_nsp➖ (view plot)310.44
socketio_packet/decode/Decode packet binary ack (b64) on /➖ (view plot)516.13
socketio_packet/decode/Decode packet binary ack (b64) on /custom_nsp➖ (view plot)549.34
socketio_packet/decode/Decode packet binary event (b64) on /➖ (view plot)668.64
socketio_packet/decode/Decode packet binary event (b64) on /custom_nsp➖ (view plot)651.05
socketio_packet/decode/Decode packet connect on /➖ (view plot)62.33
socketio_packet/decode/Decode packet connect on /custom_nsp➖ (view plot)79.80
socketio_packet/decode/Decode packet event on /➖ (view plot)356.35
socketio_packet/decode/Decode packet event on /custom_nsp➖ (view plot)375.60
socketio_packet/decode/Decode packet event with ack on /➖ (view plot)355.50
socketio_packet/decode/Decode packet event with ack on /custom_nsp➖ (view plot)379.63
socketio_packet/encode/Encode packet ack on /➖ (view plot)117.15
socketio_packet/encode/Encode packet ack on /custom_nsp➖ (view plot)120.22
socketio_packet/encode/Encode packet binary ack (b64) on /➖ (view plot)309.68
socketio_packet/encode/Encode packet binary ack (b64) on /custom_nsp➖ (view plot)313.65
socketio_packet/encode/Encode packet binary event (b64) on /➖ (view plot)397.22
socketio_packet/encode/Encode packet binary event (b64) on /custom_nsp➖ (view plot)422.54
socketio_packet/encode/Encode packet connect on /➖ (view plot)52.62
socketio_packet/encode/Encode packet connect on /custom_nsp➖ (view plot)55.13
socketio_packet/encode/Encode packet event on /➖ (view plot)120.95
socketio_packet/encode/Encode packet event on /custom_nsp➖ (view plot)124.82
socketio_packet/encode/Encode packet event with ack on /➖ (view plot)121.29
socketio_packet/encode/Encode packet event with ack on /custom_nsp➖ (view plot)124.03

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