| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:ccb086a6-a112-12dd-73c6-5000ac48137e |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 8B7A:215B92:14C46D1:1BA6148:6B01323E |
| html-safe-nonce | e34f4de7fb62317fae89dd40b9764b9a0785cae33a0a6efb258c5afe93a6125f |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4QjdBOjIxNUI5MjoxNEM0NkQxOjFCQTYxNDg6NkIwMTMyM0UiLCJ2aXNpdG9yX2lkIjoiNjI0NDU0MzA3MDQ1MzQ0NTE4MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 7b53e7ad1c98cd71c4f6eb0532c7068e4c08f5fd2f8a5760334bfc9e579773d5 |
| hovercard-subject-tag | pull_request:5214001291 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///pull_requests/show/files |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/NativeScript/android/pull/2093/files |
| twitter:image | https://avatars.githubusercontent.com/u/4061767?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/4061767?s=400&v=4 |
| og:image:alt | Description
Stacked on #2092 (base perf/jni-hot-paths). This is the first, low-risk step on the object-lifecycle work measured in that PR. The larger redesign (replacing the four Java id maps with ... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/NativeScript/android git https://github.com/NativeScript/android.git |
| octolytics-dimension-user_id | 7392261 |
| octolytics-dimension-user_login | NativeScript |
| octolytics-dimension-repository_id | 29137950 |
| octolytics-dimension-repository_nwo | NativeScript/android |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 29137950 |
| octolytics-dimension-repository_network_root_nwo | NativeScript/android |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 8c77c9e8439031ad54c75a250694842892f693e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/NativeScript/android/pull/2093/files#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FNativeScript%2Fandroid%2Fpull%2F2093%2Ffiles |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FNativeScript%2Fandroid%2Fpull%2F2093%2Ffiles |
| Sign up | https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=NativeScript%2Fandroid |
| Reload | https://github.com/NativeScript/android/pull/2093/files |
| Reload | https://github.com/NativeScript/android/pull/2093/files |
| Reload | https://github.com/NativeScript/android/pull/2093/files |
| NativeScript | https://github.com/NativeScript |
| android | https://github.com/NativeScript/android |
| Code | https://github.com/NativeScript/android |
| Issues106 (106) | https://github.com/NativeScript/android/issues |
| Pull requests24 (24) | https://github.com/NativeScript/android/pulls |
| Actions | https://github.com/NativeScript/android/actions |
| Projects | https://github.com/NativeScript/android/projects |
| Wiki | https://github.com/NativeScript/android/wiki |
| Security and quality | https://github.com/NativeScript/android/security |
| Insights | https://github.com/NativeScript/android/insights |
| Sign up for GitHub
| https://github.com/signup?return_to=%2FNativeScript%2Fandroid%2Fissues%2Fnew%2Fchoose |
| terms of service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://github.com/login?return_to=%2FNativeScript%2Fandroid%2Fissues%2Fnew%2Fchoose |
| edusperoni | https://github.com/edusperoni |
| perf/jni-hot-paths | https://github.com/NativeScript/android/tree/perf/jni-hot-paths |
| perf/object-lifecycle | https://github.com/NativeScript/android/tree/perf/object-lifecycle |
|
Conversation
3
| https://github.com/NativeScript/android/pull/2093 |
|
Commits
5
| https://github.com/NativeScript/android/pull/2093/commits |
|
Checks
8
| https://github.com/NativeScript/android/pull/2093/checks |
|
Files changed
| https://github.com/NativeScript/android/pull/2093/files |
| Please reload this page | https://github.com/NativeScript/android/pull/2093/files |
|
perf: cheaper object construction; drop markingMode full
| https://github.com/NativeScript/android/pull/2093/files#top |
|
Show all changes
5 commits
| https://github.com/NativeScript/android/pull/2093/files |
|
2645124
test: benchmark the object lifecycle phases and many live wrappers
edusperoni Nov 8, 2026
| https://github.com/NativeScript/android/pull/2093/commits/2645124d0f94e08b49b3a4a00c0937fcb448366a |
|
a01579a
perf: trim per-construction work in RegisterInstance
edusperoni Nov 8, 2026
| https://github.com/NativeScript/android/pull/2093/commits/a01579a777a793b1124205ef3d09ec0d0e635f0e |
|
6ceea84
refactor: remove the markingMode "full" machinery
edusperoni Nov 8, 2026
| https://github.com/NativeScript/android/pull/2093/commits/6ceea84e5a939034d830bcf84238a8b24e544035 |
|
76d59fc
refactor: pass the native startup options by name
edusperoni Nov 8, 2026
| https://github.com/NativeScript/android/pull/2093/commits/76d59fc67421ea7c8144a7a11159f02f5462f175 |
|
16ac56f
test: keep the 50k wrappers pinned while their benchmark is timed
edusperoni Nov 8, 2026
| https://github.com/NativeScript/android/pull/2093/commits/16ac56f2af065538c06512ea67cbbf3286b17602 |
|
Clear filters
| https://github.com/NativeScript/android/pull/2093/files |
| Please reload this page | https://github.com/NativeScript/android/pull/2093/files |
| Please reload this page | https://github.com/NativeScript/android/pull/2093/files |
|
package.json
| https://github.com/NativeScript/android/pull/2093/files#diff-e1bde78daeb897f26e83bbd47bbfcc07e8232922538308886294fae1e9df33ec |
|
jniBenchmarks.js
| https://github.com/NativeScript/android/pull/2093/files#diff-a21c35e53018a8758692863d0121c2e0dcee0e46ff518cf18830c2eb7be789fb |
|
testGC.js
| https://github.com/NativeScript/android/pull/2093/files#diff-20bba87551a65fc6f1bda40b02771863735355a913719d4ad323000319577fc4 |
|
CMakeLists.txt
| https://github.com/NativeScript/android/pull/2093/files#diff-9aa48152a82c07a60ab6e09923a9b266e2985f78e579653848df730cd8ec5e4c |
|
CallbackHandlers.cpp
| https://github.com/NativeScript/android/pull/2093/files#diff-a784229ab7689cd9ce3d502557091158b2943269fad47c1891a15a07c355500e |
|
DirectBuffer.cpp
| https://github.com/NativeScript/android/pull/2093/files#diff-8034f0212b363d64206a3800f1dd3fd41e60f132d538cd99c7a0e14fcf4a2130 |
|
DirectBuffer.h
| https://github.com/NativeScript/android/pull/2093/files#diff-39764aaeeefd8683488c8dfa7c156ad55e09704d97860b639990182d123b2941 |
|
JsArgConverter.cpp
| https://github.com/NativeScript/android/pull/2093/files#diff-9b41f905739990783e7f543f4c38aab34593873cf03762c959d6c3c7b6e991b7 |
|
MethodCache.cpp
| https://github.com/NativeScript/android/pull/2093/files#diff-a66a356aeaaeaeb65c73d7d5cec58ad7f02506b4bae581ec8b8c03de93a682b9 |
|
ObjectManager.cpp
| https://github.com/NativeScript/android/pull/2093/files#diff-0591ab8dc271af7e8ef11fabf0642e44b932f38003bd07a3696de149a02b2c9b |
|
ObjectManager.h
| https://github.com/NativeScript/android/pull/2093/files#diff-d491cf1566875df8740b3e9d732ac891286a776623aad17b249b36781ac7047d |
|
Runtime.cpp
| https://github.com/NativeScript/android/pull/2093/files#diff-b9490640f5d26f7cd6b9a176a2142b8e985a6aac9e2d64287de37fc694e80cc3 |
|
Runtime.h
| https://github.com/NativeScript/android/pull/2093/files#diff-87f802d33bb6047fdb5ef6dc8d73551485ecb092edff4de77ecc9affc3e9341c |
|
com_tns_Runtime.cpp
| https://github.com/NativeScript/android/pull/2093/files#diff-12525df874d33d128becf0dc90001af73fcb89c72d20a9f185d5070848daef23 |
|
AppConfig.java
| https://github.com/NativeScript/android/pull/2093/files#diff-28ca67ca4d113035ce897a844df426c1e1fdd804d4c0d0dea8584cdcced29108 |
|
MarkingMode.java
| https://github.com/NativeScript/android/pull/2093/files#diff-1c0b41132cdea4adfed9cfab880193f4fa124e1b56feb443a3506b908d467245 |
|
Runtime.java
| https://github.com/NativeScript/android/pull/2093/files#diff-cf9bb4e9ca1a476cacd6e270fc8bcd12c71f89d52d272915bc99df57b3581f59 |
| test-app/app/src/main/assets/app/package.json | https://github.com/NativeScript/android/pull/2093/files#diff-e1bde78daeb897f26e83bbd47bbfcc07e8232922538308886294fae1e9df33ec |
|
View file
| https://github.com/NativeScript/android/blob/16ac56f2af065538c06512ea67cbbf3286b17602/test-app/app/src/main/assets/app/package.json |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/NativeScript/android/pull/2093/{{ revealButtonHref }} |
|
| https://github.com/NativeScript/android/pull/2093/files#diff-e1bde78daeb897f26e83bbd47bbfcc07e8232922538308886294fae1e9df33ec |
|
| https://github.com/NativeScript/android/pull/2093/files#diff-e1bde78daeb897f26e83bbd47bbfcc07e8232922538308886294fae1e9df33ec |
| test-app/app/src/main/assets/app/tests/benchmarks/jniBenchmarks.js | https://github.com/NativeScript/android/pull/2093/files#diff-a21c35e53018a8758692863d0121c2e0dcee0e46ff518cf18830c2eb7be789fb |
|
View file
| https://github.com/NativeScript/android/blob/16ac56f2af065538c06512ea67cbbf3286b17602/test-app/app/src/main/assets/app/tests/benchmarks/jniBenchmarks.js |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/NativeScript/android/pull/2093/{{ revealButtonHref }} |
|
| https://github.com/NativeScript/android/pull/2093/files#diff-a21c35e53018a8758692863d0121c2e0dcee0e46ff518cf18830c2eb7be789fb |
|
| https://github.com/NativeScript/android/pull/2093/files#diff-a21c35e53018a8758692863d0121c2e0dcee0e46ff518cf18830c2eb7be789fb |
|
| https://github.com/NativeScript/android/pull/2093/files#diff-a21c35e53018a8758692863d0121c2e0dcee0e46ff518cf18830c2eb7be789fb |
|
| https://github.com/NativeScript/android/pull/2093/files#diff-a21c35e53018a8758692863d0121c2e0dcee0e46ff518cf18830c2eb7be789fb |
| test-app/app/src/main/assets/app/tests/testGC.js | https://github.com/NativeScript/android/pull/2093/files#diff-20bba87551a65fc6f1bda40b02771863735355a913719d4ad323000319577fc4 |
|
View file
| https://github.com/NativeScript/android/blob/16ac56f2af065538c06512ea67cbbf3286b17602/test-app/app/src/main/assets/app/tests/testGC.js |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/NativeScript/android/pull/2093/{{ revealButtonHref }} |
|
| https://github.com/NativeScript/android/pull/2093/files#diff-20bba87551a65fc6f1bda40b02771863735355a913719d4ad323000319577fc4 |
| test-app/runtime/CMakeLists.txt | https://github.com/NativeScript/android/pull/2093/files#diff-9aa48152a82c07a60ab6e09923a9b266e2985f78e579653848df730cd8ec5e4c |
|
View file
| https://github.com/NativeScript/android/blob/16ac56f2af065538c06512ea67cbbf3286b17602/test-app/runtime/CMakeLists.txt |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/NativeScript/android/pull/2093/{{ revealButtonHref }} |
|
| https://github.com/NativeScript/android/pull/2093/files#diff-9aa48152a82c07a60ab6e09923a9b266e2985f78e579653848df730cd8ec5e4c |
|
| https://github.com/NativeScript/android/pull/2093/files#diff-9aa48152a82c07a60ab6e09923a9b266e2985f78e579653848df730cd8ec5e4c |
| test-app/runtime/src/main/cpp/CallbackHandlers.cpp | https://github.com/NativeScript/android/pull/2093/files#diff-a784229ab7689cd9ce3d502557091158b2943269fad47c1891a15a07c355500e |
|
View file
| https://github.com/NativeScript/android/blob/16ac56f2af065538c06512ea67cbbf3286b17602/test-app/runtime/src/main/cpp/CallbackHandlers.cpp |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/NativeScript/android/pull/2093/{{ revealButtonHref }} |
|
| https://github.com/NativeScript/android/pull/2093/files#diff-a784229ab7689cd9ce3d502557091158b2943269fad47c1891a15a07c355500e |
|
| https://github.com/NativeScript/android/pull/2093/files#diff-a784229ab7689cd9ce3d502557091158b2943269fad47c1891a15a07c355500e |
| test-app/runtime/src/main/cpp/DirectBuffer.cpp | https://github.com/NativeScript/android/pull/2093/files#diff-8034f0212b363d64206a3800f1dd3fd41e60f132d538cd99c7a0e14fcf4a2130 |
|
View file
| https://github.com/NativeScript/android/blob/e325aaed7909580f6a92fb90fc8f758b96753410/test-app/runtime/src/main/cpp/DirectBuffer.cpp |
|
Open in desktop
| https://desktop.github.com |
| Please reload this page | https://github.com/NativeScript/android/pull/2093/files |
| test-app/runtime/src/main/cpp/DirectBuffer.h | https://github.com/NativeScript/android/pull/2093/files#diff-39764aaeeefd8683488c8dfa7c156ad55e09704d97860b639990182d123b2941 |
|
View file
| https://github.com/NativeScript/android/blob/e325aaed7909580f6a92fb90fc8f758b96753410/test-app/runtime/src/main/cpp/DirectBuffer.h |
|
Open in desktop
| https://desktop.github.com |
| Please reload this page | https://github.com/NativeScript/android/pull/2093/files |
| test-app/runtime/src/main/cpp/JsArgConverter.cpp | https://github.com/NativeScript/android/pull/2093/files#diff-9b41f905739990783e7f543f4c38aab34593873cf03762c959d6c3c7b6e991b7 |
|
View file
| https://github.com/NativeScript/android/blob/16ac56f2af065538c06512ea67cbbf3286b17602/test-app/runtime/src/main/cpp/JsArgConverter.cpp |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/NativeScript/android/pull/2093/{{ revealButtonHref }} |
|
| https://github.com/NativeScript/android/pull/2093/files#diff-9b41f905739990783e7f543f4c38aab34593873cf03762c959d6c3c7b6e991b7 |
|
| https://github.com/NativeScript/android/pull/2093/files#diff-9b41f905739990783e7f543f4c38aab34593873cf03762c959d6c3c7b6e991b7 |
| test-app/runtime/src/main/cpp/MethodCache.cpp | https://github.com/NativeScript/android/pull/2093/files#diff-a66a356aeaaeaeb65c73d7d5cec58ad7f02506b4bae581ec8b8c03de93a682b9 |
|
View file
| https://github.com/NativeScript/android/blob/16ac56f2af065538c06512ea67cbbf3286b17602/test-app/runtime/src/main/cpp/MethodCache.cpp |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/NativeScript/android/pull/2093/{{ revealButtonHref }} |
|
| https://github.com/NativeScript/android/pull/2093/files#diff-a66a356aeaaeaeb65c73d7d5cec58ad7f02506b4bae581ec8b8c03de93a682b9 |
|
| https://github.com/NativeScript/android/pull/2093/files#diff-a66a356aeaaeaeb65c73d7d5cec58ad7f02506b4bae581ec8b8c03de93a682b9 |
|
| https://github.com/NativeScript/android/pull/2093/files#diff-a66a356aeaaeaeb65c73d7d5cec58ad7f02506b4bae581ec8b8c03de93a682b9 |
|
| https://github.com/NativeScript/android/pull/2093/files#diff-a66a356aeaaeaeb65c73d7d5cec58ad7f02506b4bae581ec8b8c03de93a682b9 |
| Please reload this page | https://github.com/NativeScript/android/pull/2093/files |
| Please reload this page | https://github.com/NativeScript/android/pull/2093/files |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |