NativeScript / NativeScript/ios
IOS 7.1.0 startup time slower than 6.5.4
Nadie ha tomado este issue todavía.
- Lenguaje dominante
- JavaScript
- Estrellas
- 150
- Forks
- 43
- Merge medio
- 3 d 10 h
- PR fusionados (30 d)
- 22
Descripción
With the release of 7.1.0, we've finally been able to test our mobile app on ios-v8. We've found that the startup is significantly slower, to the point that if we start our app via push, apple may kill it due to it taking too long.
My coworker has made a test repo showing this difference, along with much higher CPU usage: https://github.com/IanNMarshall/ns-performance-test
Without any flags (uglify, release, etc.) here is the startup time difference using Time Profiler:

And using release flags:

The times are close, but in our app (and likely anything larger than a demo), the difference grows:

I hope we are just missing something, as I was really hoping to see a significant boost across the board moving to v8. Our tests included codecache, and I'm aware the first startup is meant to be slower in that case, the slowness persists to subsequent app loads as well.
Guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Línea de trabajo
Comienza con el repositorio ns-performance-test enlazado y compara el perfilado del startup de iOS 7.1.0 con el de 6.5.4, incluidos los flags de release y los escenarios de codecache. El issue estará terminado cuando la regresión de startup y CPU se haya identificado y corregido o explicado claramente, y también se hayan comprobado las cargas posteriores de la app.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- ios, javascript
- Área
- mobile-dev, performance
- Tipo de issue
- Error
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 20/100