Archive for category AS3

Object Creation: Part II

As a followup to the previous article about object creation and a comment about an alternate object creation strategy, today’s article will expand the coverage of object creation. I will also discuss the performance (and generated bytecode) for creating non-empty objects to see if there are any redeeming factors to the “curly braces” (o = {}) approach.

Read the rest of this entry »

Tags: , , , , , ,

2 Comments

Object Creation

A comment posted before the Flash Player 10.1 series of articles asked about the performance differences between creating an object with o = new Object() and with o = {}. Below I’ll look into the generated bytecode for these two approaches and test their relative performance to see if either approach is faster than the other.

Read the rest of this entry »

Tags: , , , ,

4 Comments

Conditionals Performance

Now that the Flash Player 10.1 testing is through I can return to a comment asking about the performance difference between if-else chains and the ternary (? :) operator. Further, I’ll discuss switch statements to see if there is any difference in performance for these commonly-used methods of flow control.

Read the rest of this entry »

Tags: , , , , , ,

2 Comments

Flash Player 10.1 Performance: Part 6

Today’s article is the conclusion of my series on Flash Player 10.0 versus Flash Player 10.1 performance. If you haven’t yet read the first, second, third, fourth, and fifth articles, that’s a good place to start. If you have, read on for the finale!

Read the rest of this entry »

Tags:

1 Comment

Flash Player 10.1 Performance: Part 5

Part five of this series on Flash Player 10.0 versus Flash Player 10.1 performance continues re-testing performance articles just like the first, second, third, and fourth articles did. Read on for more performance comparisons!

Read the rest of this entry »

Tags:

No Comments

Flash Player 10.1 Performance: Part 4

This fourth article in the series will be much like its predecessors: re-testing previous performance articles with Flash Player 10.1 and comparing the results to those that I got with Flash Player 10.0. While it mostly stands on its own, you should read up on the first, second, and third articles too. If you already have, read on for more performance comparisons!

Read the rest of this entry »

Tags:

1 Comment

Flash Player 10.1 Performance: Part 3

Today’s article is the third in a series re-testing previous performance articles with Flash Player 10.1 and comparing the results to those that I got with Flash Player 10.0. If you haven’t already read the first or second part of the series, you should check them out first. If you have, read on for more performance comparisons!

Read the rest of this entry »

Tags:

2 Comments

Flash Player 10.1 Performance: Part 2

Today’s article is the second in a series re-testing previous performance articles with Flash Player 10.1 and comparing the results to those that I got with Flash Player 10.0. If you haven’t already read the first part of the series, that’s probably a good place to start. If you have, read on for more performance comparisons!

Read the rest of this entry »

Tags:

1 Comment

Flash Player 10.1 Performance: Part 1

I’ve posted a lot of articles about AS3 performance on this site. As a result of coding for Adobe’s Flash Player VM, all of these numbers may have changed with the release of Flash Player 10.1 and its attendant optimizations.

Read the rest of this entry »

Tags:

5 Comments

AS3 vs. JavaScript Performance Followup (June 2010)

Version 5.0 of Safari was released on just a couple weeks ago on June 8 and Google Chrome was updated just a week before that. More importantly, to this site anyways, is the release of Flash Player 10.1 on June 10. Today’s article shows an updated performance comparison to check up on the progress being made in both JavaScript (Safari, Chrome) and AS3 (Flash Player).

Read the rest of this entry »

Tags:

9 Comments