jonsaw / amazon-cognito-identity-dart

Unofficial Amazon Cognito Identity Provider Dart SDK, to easily add user sign-up and sign-in to your mobile and web apps with AWS.
MIT License
204 stars 93 forks source link

Low performance, Authentication is slow #91

Open niklaslrks opened 3 years ago

niklaslrks commented 3 years ago

I have the feeling that authentication is taking longer than it should on my machine, especially in Web Apps. Sometimes it takes > 3 seconds for the method to complete and I can hear my CPU fans firing up like I was running a benchmark. When using the Android Emulator instead of chrome it is a lot faster (takes about a second) and the load simply seems to be lower (however that'd be possible). Are there any known performance issues and is there something to optimize the process?