Skip to content
This repository was archived by the owner on Aug 8, 2023. It is now read-only.

Drop support for armv7s? #4704

Closed
Closed

Description

@1ec5

We should consider dropping support for the armv7s architecture and measuring the impact on iPhone 5 devices. Based on what I’m seeing in #4641, I believe omitting support for this architecture (by setting ARCHS=$(ARCHS_STANDARD)) will contribute to a significant reduction in the built framework’s size and shave a bit of time off the build.

Major iOS frameworks have already dropped support for armv7s. As noted in this PSPDFKit knowledge base topic, Apple no longer requires or encourages building for that architecture, which is only applicable to iPhone 5 and 5c. Those models will fall back to the armv7 slice, which may be slower with floating-point-heavy operations.

/cc @mapbox/mobile

Activity

  1. self-assigned this
    on Apr 14, 2016
  2. added
    iOS
    performance
    on Apr 14, 2016
  3. added this to the ios-v3.3.0 milestone on Apr 14, 2016
  4. bleege commented on Apr 14, 2016

    @bleege
    Contributor

    Man, I'm so envious of a single hardware OEM business model. 😄

  5. friedbunny commented on Apr 14, 2016

    @friedbunny
    Contributor

    I ran the bench target in #4641 on my iPhone 5, five times per architecture:

    armv7 armv7s
    Avg FPS 58.7 59.1

    Raw benchmark results here.


    Retested armv7 with a release build (as armv7s already was):

    armv7 armv7s
    Avg FPS 59.2 59.1

    Raw benchmark results here.

  6. friedbunny commented on Apr 14, 2016

    @friedbunny
    Contributor

    Just realized the armv7 tests were run with a debug build (the default) of core, while armv7s was release — will rerun armv7 in release.

  7. friedbunny commented on Apr 14, 2016

    @friedbunny
    Contributor

    The initial 0.4 FPS gap looks like it can be attributed to the debug/release mistake, as the rerun tests indicate there is effectively no difference. 👍

  8. kkaefer commented on Apr 15, 2016

    @kkaefer
    Member

    Let's do this!

  9. added a commit that references this issue on Jun 1, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

iOSperformance

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions