Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ehakram/FrameRateBooster
Optimizer for Unity's Mono assemblies
https://github.com/ehakram/FrameRateBooster
Last synced: 3 months ago
JSON representation
Optimizer for Unity's Mono assemblies
- Host: GitHub
- URL: https://github.com/ehakram/FrameRateBooster
- Owner: ehakram
- License: mit
- Created: 2020-06-18T15:54:44.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-06-06T15:38:30.000Z (over 2 years ago)
- Last Synced: 2024-05-15T14:03:50.841Z (6 months ago)
- Language: C#
- Size: 430 KB
- Stars: 64
- Watchers: 7
- Forks: 5
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Frame Rate Booster
Optimizer for Unity's Mono assembliesThis is the public repository of the Frame Rate Booster asset for Unity: https://assetstore.unity.com/packages/tools/utilities/frame-rate-booster-120660
## How it works
Unity has a lot of methods/properties that unnecessarly call the constructor on structures like Vector3 or Color. Frame Rate Booster (FRB for short) will modify your build to replace those methods/properties with optimized equivalents. To go deeper in the technical details, read this forum thread: https://forum.unity.com/threads/vector3-and-other-structs-optimization-of-operators.477338/Those are micro-improvements, but can have real impact because applied on code called very frequently.
FRB is made of mainly two parts:
* Optimizations: contains the optimized alternative to Unity's code.
* Optimizer: the editor code that will do the actual replacement## Room for improvement
A lot can still be done. All contributions are welcome. Example of possible improvements:
* Implement optimizations on other strucs, like: Bounds, Matrix4x4, Plane, Rect, RectInt, etc...
* Make FRB compatible with Android builds. I guess that means making the optimizer unpak the apk file, apply the optimizations on its assemblies, then repack it.## If you feel generous ...
... let me take advantage of that :D[![paypal](https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG.gif)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=RYMFB6RRH7E3L¤cy_code=EUR&source=url)