Completed
Performance: GetDirectBuffer Address
Class Central Classrooms beta
YouTube videos curated by Class Central.
Classroom Contents
Using the NDK Performantly - Best Practices and Optimization Techniques
Automatically move to the next video in the Classroom when playback concludes
- 1 Intro
- 2 About Me
- 3 What is the NDK: Architecture View
- 4 The NDK: An Abridged History
- 5 Our Assumptions
- 6 Benchmarking our Runtime
- 7 JNI Basics: Accessing Class Fields
- 8 Cache Field/Method IDs
- 9 Performance: Field/Method IDs (ns)
- 10 Dalvik VS ART: GetintField
- 11 JNI Tips Scorecard
- 12 Use GetStringchars
- 13 Performance: GetString(UTF)Chars
- 14 Performance: Longer GetString(UTF)Chars
- 15 ART: GetString Chars vs GetStringUTFChars
- 16 ART: IsMovableObject
- 17 Use GetString Region
- 18 Performance: Copying String Data
- 19 Sharing Structured Data
- 20 Performance: Overhead of a JNI Call
- 21 Use DirectByteBuffer
- 22 Performance: GetDirectBuffer Address
- 23 Exploring ByteBuffer, direct ByteBuffer
- 24 Reading our Integer
- 25 FastJNI Declaration
- 26 Performance: Read Integer from ByteBuffer
- 27 Bulk Fetching
- 28 Performance: Copy and Readinteger
- 29 Demo: Android Studio