在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:developer-quest开源软件地址:https://gitee.com/mirrors/developer-quest开源软件介绍:Developer QuestBecome a tech lead, slay bugs, and don't get fired. All in Flutter. Research treeThe game progression is based on a "research tree" of tasks. The tree is defined in codein Performance testingAttach a real device and run the following command from the root of the repo: flutter drive --target=test_driver/performance.dart --profile This will do an automated run-through of the app, and will save the output to files.
If you want to get several runs at once, you can use something like the following command: DESC="my change" bash -c 'for i in {1..5}; do flutter drive --target=test_driver/performance.dart --profile; sleep 1; done' Why run several times when we get so many data points on each walkthrough? With several identicalwalkthroughs it's possible to visually check variance between runs. Even with box plots,these nuances get lost in the summary stats, so it's hard to see whether a change actuallybrought any performance improvement or not. Running several times also eliminatesthe effect of extremely bad luck, like for example when Android decides to update some app whiletest is running. Lock CPU and GPU speed for your performance test deviceRun the following command when your performance test device is attached via USB. ./tool/lock_android_scaling.sh WARNING:
Where to store the profiling dataYou probably don't want to check the |
请发表评论