You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Add benchmarks
* Update table formatting in README.md for improved readability
* Consolidate Flutter and Dart versions in README.md for better clarity
* Add benchmark information
* Add benchmark description
* Update example
* Add custom configuration for Spinify client in README.md and example
* Add subscription example and update README for clarity
* Clarify JSON codec support limitation in README
* Update README.md
* Update README.md
* Update package info
Websocket client for [Centrifugo server](https://github.com/centrifugal/centrifugo) and [Centrifuge library](https://github.com/centrifugal/centrifuge).
10
+
Spinify is a Dart and Flutter library that provides an efficient client implementation for [Centrifugo](https://centrifugal.dev/), a scalable real-time messaging server.
11
+
This library allows you to connect your Dart or Flutter applications to [Centrifugo server](https://github.com/centrifugal/centrifugo) and [Centrifuge library](https://github.com/centrifugal/centrifuge), enabling real-time updates, presence information, history fetching, and more.
12
+
13
+
## Features
14
+
15
+
-**Connection Management**: Establish, monitor, and close connections to Centrifugo servers.
16
+
-**Subscriptions**: Create, manage, and remove client-side and server-side subscriptions.
17
+
-**Event Streaming**: Stream channel events for real-time updates.
18
+
-**Data Publishing**: Publish messages to specific channels.
19
+
-**Asynchronous Messaging**: Send custom asynchronous messages to the server.
20
+
-**Presence Management**: Retrieve presence and presence statistics for channels.
21
+
-**History Retrieval**: Fetch publication history for specific channels.
This benchmark measures the performance of the [spinify](https://pub.dev/packages/spinify) and [centrifuge-dart](https://pub.dev/packages/centrifuge) libraries by sending and receiving a series of messages to a Centrifugo server and tracking key performance metrics such as throughput and latency.
102
+
103
+
Environment:
104
+
105
+
```
106
+
Windows 11 Pro 64-bit
107
+
CPU 13th Gen Intel Core i7-13700K
108
+
Chrome Version 131.0.6778.86 (Official Build) (64-bit)
109
+
Docker version 27.1.1
110
+
Docker image centrifugo/centrifugo:v5
111
+
Flutter 3.24.5 • Dart 3.5.4
112
+
Package spinify v0.1.0
113
+
Package centrifuge-dart v0.14.1
114
+
```
115
+
116
+
The benchmark sends 10,000 messages of a certain size one after the other and measure the time.
117
+
Each message is sent sequentially: the client waits for the server's response before sending the next message.
0 commit comments