{"id":19220092,"url":"https://github.com/nativescript-community/perfs-test","last_synced_at":"2025-10-06T14:59:21.487Z","repository":{"id":61814553,"uuid":"555427103","full_name":"nativescript-community/perfs-test","owner":"nativescript-community","description":null,"archived":false,"fork":false,"pushed_at":"2024-01-24T16:35:14.000Z","size":1816,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-13T01:11:15.697Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nativescript-community.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-10-21T14:57:04.000Z","updated_at":"2024-01-15T07:47:08.000Z","dependencies_parsed_at":"2024-01-20T16:24:29.053Z","dependency_job_id":"3a31cf4d-16c2-4446-a62f-0558830e269a","html_url":"https://github.com/nativescript-community/perfs-test","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/nativescript-community/perfs-test","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nativescript-community%2Fperfs-test","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nativescript-community%2Fperfs-test/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nativescript-community%2Fperfs-test/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nativescript-community%2Fperfs-test/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nativescript-community","download_url":"https://codeload.github.com/nativescript-community/perfs-test/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nativescript-community%2Fperfs-test/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278629050,"owners_count":26018482,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-06T02:00:05.630Z","response_time":65,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-09T14:33:59.307Z","updated_at":"2025-10-06T14:59:21.444Z","avatar_url":"https://github.com/nativescript-community.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Nativescript perf test apps\n\nYou can run each flavor using:\n\n```shell\nns run run.android.production\n```\nYou got env options that you can use like this `ns run run.android.production -- --env.option`\n\n* `usefork` : Use Akylas fork which has some optimisations and allow more options\n* `disablecss` : disable css to improve perfs (only with `usefork`)\n\n\nTo test app cold time start you can do this (replace for each flavor):\n```shell\nadb shell am start -S -W org.nativescript.vue.perfs/com.tns.NativeScriptActivity -c android.intent.category.LAUNCHER -a android.intent.action.MAIN\n```\n\nTo test app warm start time you can do this one (replace for each flavor):\n\n```shell\nadb shell am start -W org.nativescript.vue.perfs/com.tns.NativeScriptActivity -c android.intent.category.LAUNCHER -a android.intent.action.MAIN\n```\n\n\n## recording results\nYou can use the `app_compare.blend` to easily create an edit video using Blender\n\n\n\n## Results\n\nYou can directly compare those results to RN as RN does most of its loading after the activity gets displayed\n\n### A3 2017 [specs](https://www.gsmarena.com/samsung_galaxy_a3_(2017)-8336.php)\n\n\n### Vue (`--env.usefork --env.disablecss`)\n\n#### references\n\n* `app-release.apk`: \n* `vendor.js`: 418kb\n* `classes.dex`: 2.3mb\n\n#### Start times\n\n```\nStarting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=org.nativescript.vue.perfs/com.tns.NativeScriptActivity }\nStatus: ok\nLaunchState: COLD\nActivity: org.nativescript.vue.perfs/com.tns.NativeScriptActivity\nTotalTime: 4372\nWaitTime: 4379\nComplete\n```\n```\nStarting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=org.nativescript.vue.perfs/com.tns.NativeScriptActivity }\nStatus: ok\nLaunchState: WARM\nActivity: org.nativescript.vue.perfs/com.tns.NativeScriptActivity\nTotalTime: 3188\nWaitTime: 3189\nComplete\n```\n\n### Svelte (`--env.usefork --env.disablecss`)\n\n#### references\n\n* `app-release.apk`: 22.7mb (universal  arm64-v8a,armeabi-v7a,x86,x86_64)\n* `bundle.js`: 4kb\n* `vendor.js`: 656kb\n* `classes.dex`: 2.3mb\n* `metadata`: 1.3mb\n\n#### Start times\n\n```\nStopping: org.nativescript.svelte.perfs\nStarting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=org.nativescript.svelte.perfs/com.tns.NativeScriptActivity }\nStatus: ok\nLaunchState: COLD\nActivity: org.nativescript.svelte.perfs/com.tns.NativeScriptActivity\nTotalTime: 4149\nWaitTime: 4151\nComplete\n```\n```\nStarting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=org.nativescript.svelte.perfs/com.tns.NativeScriptActivity }\nStatus: ok\nLaunchState: WARM\nActivity: org.nativescript.svelte.perfs/com.tns.NativeScriptActivity\nTotalTime: 2943\nWaitTime: 2945\nComplete\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnativescript-community%2Fperfs-test","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnativescript-community%2Fperfs-test","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnativescript-community%2Fperfs-test/lists"}