Using the NDK Performantly - Best Practices and Optimization Techniques
Offered By: Android Developers via YouTube
Course Description
Overview
Syllabus
Intro
About Me
What is the NDK: Architecture View
The NDK: An Abridged History
Our Assumptions
Benchmarking our Runtime
JNI Basics: Accessing Class Fields
Cache Field/Method IDs
Performance: Field/Method IDs (ns)
Dalvik VS ART: GetintField
JNI Tips Scorecard
Use GetStringchars
Performance: GetString(UTF)Chars
Performance: Longer GetString(UTF)Chars
ART: GetString Chars vs GetStringUTFChars
ART: IsMovableObject
Use GetString Region
Performance: Copying String Data
Sharing Structured Data
Performance: Overhead of a JNI Call
Use DirectByteBuffer
Performance: GetDirectBuffer Address
Exploring ByteBuffer, direct ByteBuffer
Reading our Integer
FastJNI Declaration
Performance: Read Integer from ByteBuffer
Bulk Fetching
Performance: Copy and Readinteger
Demo: Android Studio
Taught by
Android Developers
Related Courses
Creative, Serious and Playful Science of Android AppsUniversity of Illinois at Urbana-Champaign via Coursera Pattern-Oriented Software Architectures: Programming Mobile Services for Android Handheld Systems
Vanderbilt University via Coursera Android. Programación de Aplicaciones
MirÃadax Programming Mobile Applications for Android Handheld Systems: Part 1
University of Maryland, College Park via Coursera Begin Programming: Build Your First Mobile Game
University of Reading via FutureLearn