I hereby claim:
- I am johngirvin on github.
- I am johngirvin (https://keybase.io/johngirvin) on keybase.
- I have a public key whose fingerprint is 48FE 6702 45C3 D8AB 149F 4981 ADF5 6C88 DC54 3F5A
To claim this, I am signing this object:
| import java.io.BufferedInputStream; | |
| import java.io.File; | |
| import java.io.FileInputStream; | |
| import java.io.FileNotFoundException; | |
| import java.io.FileOutputStream; | |
| import java.io.IOException; | |
| import java.util.ArrayList; | |
| import java.util.List; |
I hereby claim:
To claim this, I am signing this object:
https://github.com/johngirvin/Mobile-App-Performance
All tests run on iPhone 5s with iOS 8.3
Unity project uses benchmark code and data linked from Xamarin project
RoboVM 1.0.0: 0.872
RoboVM 1.2.0:
| #ifndef __BUNNYMARK_SCENE_H__ | |
| #define __BUNNYMARK_SCENE_H__ | |
| #include "cocos2d.h" | |
| USING_NS_CC; | |
| typedef struct { | |
| float x,xv,y,yv,r,rv; | |
| Sprite *sprite; |
| #include "BunnyMarkScene.h" | |
| USING_NS_CC; | |
| bool | |
| BunnyMarkScene::init() | |
| { | |
| if (!Scene::init()) { return false; } | |
| Size visibleSize = Director::getInstance()->getVisibleSize(); |
| #include "SDL.h" | |
| #include "windows.h" | |
| #include <ctime> | |
| #include <cstdarg> | |
| #include <vector> | |
| SDL_DisplayMode mode; | |
| SDL_Window *window; | |
| SDL_Renderer *renderer; |
| local bunnies = 0 | |
| local frames = 0 | |
| local frameTime = 0 | |
| local min_x = 13 | |
| local min_y = 19 | |
| local max_x = application:getLogicalWidth()-13 | |
| local max_y = application:getLogicalHeight()-19 |
| /******************************************************************************* | |
| * Copyright 2011 See AUTHORS file. | |
| * | |
| * Licensed under the Apache License, Version 2.0 (the "License"); | |
| * you may not use this file except in compliance with the License. | |
| * You may obtain a copy of the License at | |
| * | |
| * http://www.apache.org/licenses/LICENSE-2.0 | |
| * |
| using System; | |
| using System.Collections.Generic; | |
| using Microsoft.Xna.Framework; | |
| using Microsoft.Xna.Framework.Graphics; | |
| using MonoGame.Extended.Entities; | |
| using Niv.ECS.Components; | |
| using static Niv.Debug.Log; | |
| namespace Niv.ECS.Systems | |
| { |
| diff --git a/Source/MonoGame.Extended.Entities/Entities/TransformComponent2D.cs b/Source/MonoGame.Extended.Entities/Entities/TransformComponent2D.cs | |
| index 9f025a1..9a25f7f 100644 | |
| --- a/Source/MonoGame.Extended.Entities/Entities/TransformComponent2D.cs | |
| +++ b/Source/MonoGame.Extended.Entities/Entities/TransformComponent2D.cs | |
| @@ -167,7 +168,7 @@ namespace MonoGame.Extended.Entities | |
| if (Parent != null) | |
| { | |
| Parent.GetWorldMatrix(out matrix); | |
| - Matrix2D.Multiply(ref matrix, ref localMatrix, out matrix); | |
| + Matrix2D.Multiply(ref localMatrix, ref matrix, out matrix); |