Skip to content

Flutter dart:grpc implementation that uses the Cronet native library.

License

Notifications You must be signed in to change notification settings

dart-lang/grpc_cronet

package:grpc_cronet CI pub package package publisher

Flutter dart:grpc implementation that uses the Cronet native library.

Uses Chromium Cronet libraries patched in https://chromium-review.googlesource.com/c/chromium/src/+/3761158.

Performance

As number of concurrent requests increases use of cronet for grpc client shows significant improvements over dart:io one. This is what example/route_guide flutter cronet client vs dart cli dart:io client shows:

number of concurrent requests dart:io(ms) (less is better) cronet (ms) (less is better) speed-up factor
100 615 382 1.61
500 7,947 2,081 3.82
1000 28,406 4,703 6.04

Status: Experimental

NOTE: This package is currently experimental and published under the labs.dart.dev pub publisher in order to solicit feedback.

For packages in the labs.dart.dev publisher we generally plan to either graduate the package into a supported publisher (dart.dev, tools.dart.dev) after a period of feedback and iteration, or discontinue the package. These packages have a much higher expected rate of API and breaking changes.

Your feedback is valuable and will help us evolve this package. For general feedback, suggestions and bugs, please file an issue in the bug tracker.

About

Flutter dart:grpc implementation that uses the Cronet native library.

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Contributors 4

  •  
  •  
  •  
  •