Adds "Visit Scene Graph" tests

A new tests to measure the performance of visit

Signed-off-by: Ricardo Quesada <ricardoquesada@gmail.com>
Fixes .plist in SimpleGame

Product name is not a "version"

Signed-off-by: Ricardo Quesada <ricardoquesada@gmail.com>
fixes some macro names

kActionInvalidTag -> Action::INVALID_TAG
kNodeTagInvalid -> Node::INVALID_TAG

and it is no longer a `#define` but an `int`

Signed-off-by: Ricardo Quesada <ricardoquesada@gmail.com>
Project is Xcode 5 friendly

Adds defaults for provisioning profile. Needed for iOS on Xcode 5

Signed-off-by: Ricardo Quesada <ricardoquesada@gmail.com>
kazmath: removes unneeded `memcpy`

gains about 5% in improvement

Signed-off-by: Ricardo Quesada <ricardoquesada@gmail.com>
More reliable profiling.

clock is the first instruction to execute on `EndTimingBlock`

Signed-off-by: Ricardo Quesada <ricardoquesada@gmail.com>
receives a `const &` instead of `const *`

If is more accurate since a `NULL` AffineTransform is not allowed.

Signed-off-by: Ricardo Quesada <ricardoquesada@gmail.com>
`getNodeToParent()` returns a `const &`

This gives a little performance improvement.

Signed-off-by: Ricardo Quesada <ricardoquesada@gmail.com>
More accurate test

Name is recalculated. No time is "wasted" in calculating it.

And `Visit` test uses `Node` objects instead of `Sprite`s. So `draw` is not taken into account, just the visit.

Signed-off-by: Ricardo Quesada <ricardoquesada@gmail.com>
Merge pull request #3501 from ricardoquesada/perf_and_bug_fixes

More performance improvements