# koala_projects **Repository Path**: rri_opensource/koala_projects ## Basic Information - **Project Name**: koala_projects - **Description**: Research and developments of Koala project - **Primary Language**: Unknown - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 10 - **Forks**: 67 - **Created**: 2025-02-17 - **Last Updated**: 2025-06-23 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README **Umbrella repo of `incremental engine` and `ArkUI` refactoring project** # Setup env Export these env variables: - `OPENLAB_USERNAME` - `OPENLAB_PASSWORD` Install: - `node.js` `18.20.4 LTS` - `meson` no older than `0.61` Make sure the workspace does not contain outdated artifacts of older builds. # How to build `arkoala.har` ``` $ npm install $ KOALA_BZ=1 npm run arkoala:har-arm32 $ file ./arkoala/har/app/arkoala/build/default/outputs/default/arkoala.har ``` # How to build `arkoala-arkts.har` ``` $ npm install $ cd arkoala-arkts $ KOALA_BZ=1 npm run trivial:all:har-arm32 $ file ./arkoala-arkts/har/app/arkoala/build/default/outputs/default/arkoala.har ``` # How to build `arkoala plugin` and patch `OHOS SDK` ``` $ npm install $ KOALA_BZ=1 npm run ohos-sdk $ export HOS_SDK_HOME=`pwd`/arkoala-arkts/ohos-sdk/ohos-sdk $ KOALA_BZ=1 npm run arkoala:plugin $ file ${HOS_SDK_HOME}/HarmonyOS-NEXT-DB1/openharmony/ets/build-tools/ets-loader/lib/fast_build/ets_ui/arkoala-plugin.js ``` # How to compare CJ and ArkTS incremetal engine performace ## Cangjie Go to `incremental-cj/runtime` and `sh CallsiteKey.sh`. Change directory to `incremental-cj/perf` and `cjpm run`. ``` First frame 0ms 100000 no change frames 4ms 100000 single state change frame 207ms ``` ## ArkTS Go to `incremental/benchmarks/memo-benchmark`. Run `npm run run:panda`. ``` First frame 2ms 100000 no change frames 23ms 100000 single state change frame 285ms ``` ## ArkTS with AOT Go to `incremental/benchmarks/memo-benchmark`. Run `npm run run:panda:aot`. ``` First frame 2ms 100000 no change frames 23ms 100000 single state change frame 219ms ```