18
2012 © Trivadis BASEL BERN LAUSANNE ZÜRICH DÜSSELDORF FRANKFURT A.M. FREIBURG I.BR. HAMBURG MÜNCHEN STUTTGART WIEN Introducing Monocle Profiling Flash/AIR mobile app Adobe User Group Geneva University of Geneva 14th November 2012 Laurent Jayr Application Development Consultant 29.09.2012 Mobile Application Development with AIR 1

Introducing Adobe Monocle

Embed Size (px)

DESCRIPTION

Introducing Monocle New profiling tool for Flash / AIR content

Citation preview

Page 1: Introducing Adobe Monocle

2012 © Trivadis

BASEL BERN LAUSANNE ZÜRICH DÜSSELDORF FRANKFURT A.M. FREIBURG I.BR. HAMBURG MÜNCHEN STUTTGART WIEN

Introducing Monocle

Profiling Flash/AIR mobile app

Adobe User Group Geneva

University of Geneva

14th November 2012

Laurent Jayr Application Development Consultant

29.09.2012

Mobile Application Development with AIR 1

Page 2: Introducing Adobe Monocle

2012 © Trivadis

1. Introduction

2. Flash / AIR mobile platform in 2012

3. Monocle: a real profiler

4. Monocle for mobile in action

2

Page 3: Introducing Adobe Monocle

2012 © Trivadis

Let’s start with a demonstration…

3

Page 4: Introducing Adobe Monocle

2012 © Trivadis

How does this demo work?

4

• Peer-to-Peer channel available

since Flash Player version 10.1

Page 5: Introducing Adobe Monocle

2012 © Trivadis

How does this demo work?

• Peer-to-Peer channel available

since Flash Player version 10.1

• With multicasting, data is

broadcasted across all P2P

mesh (audio, video, binary files,

pure data…)

5

Page 6: Introducing Adobe Monocle

2012 © Trivadis

6

1. Introduction

2. Flash / AIR mobile platform in 2012

3. Monocle: a real profiler

4. Monocle for mobile in action

Page 7: Introducing Adobe Monocle

2012 © Trivadis

The Flash / AIR mobile platform in 2011

7

Mobile Flash Player (inside browser)

• Android + BlackBerry Playbook

• not allowed for iOS

Mobile AIR runtime (outside browser)

• Android

• iOS

• BlackBerry Playbook

• Connected TV…

Browser

Mobile APP

Page 8: Introducing Adobe Monocle

2012 © Trivadis

The Flash / AIR mobile platform in 2012

8

Mobile Flash Player (inside browser)

Adobe has removed FP from Android

focus on AIR mobile runtime

Mobile AIR runtime (outside browser)

• Android

• iOS

• BlackBerry Playbook

• Connected TV

• BB10 (confirmed)

• WP8 Metro? (to be confirmed)

Browser

Mobile APP

Page 9: Introducing Adobe Monocle

2012 © Trivadis

What about Flex?

9

Flex framework has moved to open source

• Apache licence

• First release (Flex SDK 4.8) in july 2012

• Although it is still related to AIR, Flex Mobile is no longer under Adobe

development strategy, but instead by the Apache community

• Flex Apache community pretty active, with a lot of commits in Oct. 2012

• Mailing list : http://incubator.apache.org/flex/mailing-lists.html

Page 10: Introducing Adobe Monocle

2012 © Trivadis

Adobe long-term strategy

10

2- Focus on gaming / premium video with Flash / AIR

• For desktop (Windows, MacOS,…)

• For mobile with AIR (iOS, Android, BB10…)

1- Focus on HTML5

• For desktop (new Edge brand)

• For mobile (PhoneGap / Cordova)

Main last enhancements:

• Native Extensions (mobile)

• Workers (multi-threading)

• ASC2.0 new compiler

Under specifications:

• ASNext (AS4 language)

Page 11: Introducing Adobe Monocle

2012 © Trivadis

Adobe long-term strategy

11

New tools and frameworks

• Starling: 2D framework (Stage3D/GPU)

• Feathers UI: UI set based on Starling for creating

fast and smooth mobile UI (should be supported by

Adobe?)

• Monocle project : the next-generation profiler for

Flash content (FP + AIR Mobile)

Monocle project FeathersUI

Page 12: Introducing Adobe Monocle

2012 © Trivadis

1. Introduction

2. Flash / AIR mobile platform in 2012

3. Monocle: a real profiler

4. Monocle for mobile in action

12

Page 13: Introducing Adobe Monocle

2012 © Trivadis

Monocle… what is this?

13

Flash Player 11.4 & AIR 3.4 : telemetry features introduction

• Telemetry is a technology that allows data measurements to be made at a distance

• The word is derived from two Greek roots: tele = remote and metron = measure

The Telemetry feature works deep inside the internals of the Flash runtime and sends

data to Monocle, which parses it and displays it in a clear and concise way

Page 14: Introducing Adobe Monocle

2012 © Trivadis

Why Monocle?

14

Benefits

• No debugger : Monocle does not require any debugger version of the Flash player

Profiling in real context, even as a release build

• Profiling at full speed (different than inside a debugger player running slower)

Remote profiling

A powerful feature: running the content to be profiled on a different machine than the machine

running Monocle

A few scenarios possible:

1. A desktop machine is running the content (with Flash Player), with another computer

running Monocle. This can be useful to debug a remote project.

2. A mobile device is running the content (with Adobe AIR), with another computer

running Monocle. This is a typical workflow when developing for mobile devices.

You can direct Telemetry to any accessible machine by entering a hostname or IP address.

Page 15: Introducing Adobe Monocle

2012 © Trivadis

Enable advanced Telemetry on SWFs

15

Flash Builder 4.7 comes with a new option in the compiler settings

allowing you to enable Telemetry

Page 16: Introducing Adobe Monocle

2012 © Trivadis

1. Introduction

2. Flash / AIR mobile platform in 2012

3. Monocle: a real profiler

4. Monocle for mobile in action

16

Page 17: Introducing Adobe Monocle

2012 © Trivadis

Monocle for mobile in action

17

Page 18: Introducing Adobe Monocle

2012 © Trivadis

BASEL BERN LAUSANNE ZÜRICH DÜSSELDORF FRANKFURT A.M. FREIBURG I.BR. HAMBURG MÜNCHEN STUTTGART WIEN

Thank you ! Trivadis AG

Laurent Jayr

[email protected]

www.trivadis.com

29.09.2012

18