Giter VIP home page Giter VIP logo

harrycheung / mobile-app-performance Goto Github PK

View Code? Open in Web Editor NEW
90.0 90.0 26.0 48.03 MB

Source for this

Home Page: https://medium.com/@harrycheung/cross-platform-mobile-performance-testing-d0454f5cd4e9

License: GNU General Public License v3.0

Java 10.88% C++ 2.69% Objective-C 33.06% Objective-C++ 2.18% Swift 11.98% JavaScript 24.11% CSS 0.76% HTML 0.28% Ruby 5.97% C# 7.46% Makefile 0.64%

mobile-app-performance's People

Contributors

badlogic avatar fokkezb avatar harrycheung avatar johngirvin avatar josephlord avatar nadavrot avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

mobile-app-performance's Issues

Use struct for Point in Xamarin to mimic Swift

I noticed that Point.swift used struct instead of class, while Point.cs uses class when it can use struct. It appears that when applying that optimization to Swift, the same optimization was missed for the C# version. I think that if Swift is able to gain the performance benefits that come from using value types, then C#/Xamarin should as well.

The change should be fairly simple, probably just changing the type declaration to use struct instead of class:

public struct Point 
{
    ....
}

datetime.utcnow

I'm actually just interested in your helper method. In your article you said that UTC now is very expensive / slow. what makes your helper method faster? I'm intrigued.

Add support for NativeScript

Hi! I noticed your note about adding support for React Native when it's released. I wonder if you'd be interested in including NativeScript the up and coming (and stable) JS runtime for iOS and android. It is supposed to be pretty performant and anecdotally it feels hugely better than Cordova and a bit better than Xamarin, but I'd love to see this numerically.

If it's of interest, I'd be happy to prepare a PR, if you can give me some guidance on what the app must do and how the tests are executed?

Testing iPhone6, different results.

I've tested your Swift version on iPhone6 (and iPhone 4s), but get different results than you. My result on
iPhone 6 on 8.3 was 1.571 sec. When running on the IOS Simulator I get similar results: .201 sec.

Any idea why there is such a big difference?

Xamarin Forms

Hi nice metrics, though it would be useful if Xamarin Classic and Forms could both be seen side by side?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.