credentials / irma_mobile

IRMA app for iOS and Android
Apache License 2.0
25 stars 11 forks source link

Slow #76

Open stevenvegt opened 5 years ago

stevenvegt commented 5 years ago

The app is really slow. Checking my pin, opening the lock screen. Starting up the camera etc. App version 5.5.3 (35) Device: iPhone 5s with iOS 12.2

ehotting commented 5 years ago

Same. I use the app almost every day, and recently the app became considerably slower. Slowness is so bad that I distract my audience a few seconds while the app struggles, during demo's.

5.5.2 (30) - iPhone 7, iOS 12.2

ghost commented 5 years ago

rebuild with flutter. thats the problem. your crossing too many process boundaries and using CoreJS

ghost commented 5 years ago

Flutter also has FFI. So you can call golang direct . Huge perf increases.

Google Dart FFI.

Then you take any golang code and compile it as a c shared lib. Then you can call it dite t from flutter.

You can even do this with video conferencing. Flutter provides a gltexture that is 100% GPU and a shared buffer you can access from golang.

It's early days a dart FFI just landed we use gomobile for flutter intensively and with dart FFI are changing over to using that for performance and easy developer experience

davidv1992 commented 5 years ago

Sorry for the late response. We are working towards a new version of the app that should be considerably faster, but in the mean time there is little we can do to improve the situation.