Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

✨ Initial support for low powered devices with other architectures #567

Conversation

neon-mmd
Copy link
Owner

@neon-mmd neon-mmd commented May 6, 2024

What does this PR do?

This PR provides initial support for low powered devices with other architectures by providing different cargo profiles to fit different needs.

The profiles that are provided are as follows:

  • bsr(1 and 2): This profile allows devices low storage space to compile/build the app with smaller binary size.
  • lcpb(1,2 and 3): This profile allows devices with low powered CPU devices to compile/build the app with less CPU usage.
  • bsr_and_lcpb(1,2,3,4,5 and 6): This profile provides a hybrid solution for devices with both low storage space and low powered CPU.

Why is this change important?

The reason behind including these changes is to lay the initial groundwork of foundational support for low powered devices with other architectures, and which can be in future leveraged to expand support of the app to other architectures with further improvements and features provided in the code geared towards this.

How to test this PR locally?

It can be tested by installing and running Websurfx as mentioned in the docs and on the readme and by launching the browser and thoroughly testing. By first building the app with one profiles provided by this PR by running the following command:

cargo build --profile "<the profile name>"

Author's checklist

  • Provide different cargo profiles for supporting low powered devices with different architectures.
  • Bump the app version to v1.17.0.

Related issues

Closes #566

…tectures (#566)

- Add 2 profiles with binary size reduction feature to allow devices
  with low storage to compile/build the app with smaller size.
- Add 3 profiles to allow devices with low powered cpus or other
  architectures like arm to compile apps using less cpu usage.
- Add 6 profiles with hybrid of both for both low powered cpu and low
  storage devices.
@neon-mmd neon-mmd added this to the Complete v2.0.0 release milestone May 6, 2024
Copy link
Collaborator

@alamin655 alamin655 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved! Let's merge this in. 👍

@alamin655 alamin655 merged commit 4847a6e into rolling Sep 2, 2024
8 checks passed
@mergify mergify bot deleted the FEAT/566_initial-support-for-low-powered-devices-with-other-architectures branch September 2, 2024 13:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

✨ Initial support for low powered devices with other architectures
2 participants