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
Netty Best Practices for Optimal PerformanceMeta via YouTube Gazelle-JNI: Offloading Spark SQL to Native Engines for Execution Acceleration
Databricks via YouTube Tracking App Behaviors With - Nothing Changed - Phone For Evasive Android Malware
Black Hat via YouTube Beyond JVM - How the Platform is Evolving for New Languages and Features
GOTO Conferences via YouTube Foreign Function and Memory API in Java 17 - Replacing JNI
Okta via YouTube