• dearblue's avatar
    (Proof of Concept) mruby tuning profiles [ci skip] · a14ae801
    dearblue authored
    Not only mruby, it is one of the difficult things to adjust the performance vs. memory efficiency of the software.
    If the approximate target device is divided and the adjustment value for it is prepared by default, it is a good indicator to do fine adjustment.
    
    This PR divides into four profiles.
    
    ***Caution: There is no basis for the definitions in the patch.***
    
    - `MRB_CONSTRAINED_BASELINE_PROFILE` - for microprocessors. Reduce memory consumption.
    - `MRB_BASELINE_PROFILE` - Default value of mruby.
    - `MRB_MAIN_PROFILE` - For desktop computers. Assume that a huge amount of RAM, 10 MiB or more, is on board.
    - `MRB_HIGH_PROFILE` - for servers. Assume that mruby VM has a long life.
    
    As you can see the profile name has been ~~stolen~~ imitated from H.264.
    a14ae801
mrbconf.h 5.73 KB