| 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:dfbff79f-1867-8c0f-87dc-52bf6d726846 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | BD98:3A4875:1386C8F:19FE1E9:6B01287F |
| html-safe-nonce | f3e36f34194f6046b7bdc79f6fbd2fa7dc8c5656243dd68791d11425fd198dd7 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRDk4OjNBNDg3NToxMzg2QzhGOjE5RkUxRTk6NkIwMTI4N0YiLCJ2aXNpdG9yX2lkIjoiNjcxMjg5NDkwMDMwMTUzOTQ1NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | df8cae2c9740409769baa24e5f936cdbdf8dd42e58b7cfe467e7869362287653 |
| hovercard-subject-tag | pull_request:5205478391 |
| 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/2092/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
Cuts the fixed per-call cost of the JS ⇄ Java bridge. Prompted by reading Expo's new Kolibri JNI layer. Most of Kolibri doesn't carry over, because it gets its speed from compil... |
| 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/2092/files#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FNativeScript%2Fandroid%2Fpull%2F2092%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%2F2092%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/2092/files |
| Reload | https://github.com/NativeScript/android/pull/2092/files |
| Reload | https://github.com/NativeScript/android/pull/2092/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 |
| main | https://github.com/NativeScript/android/tree/main |
| perf/jni-hot-paths | https://github.com/NativeScript/android/tree/perf/jni-hot-paths |
|
Conversation
3
| https://github.com/NativeScript/android/pull/2092 |
|
Commits
12
| https://github.com/NativeScript/android/pull/2092/commits |
|
Checks
8
| https://github.com/NativeScript/android/pull/2092/checks |
|
Files changed
| https://github.com/NativeScript/android/pull/2092/files |
| Please reload this page | https://github.com/NativeScript/android/pull/2092/files |
|
perf: cut JNI bridge per-call overhead
| https://github.com/NativeScript/android/pull/2092/files#top |
|
Show all changes
12 commits
| https://github.com/NativeScript/android/pull/2092/files |
|
3a4392b
test: add JNI bridge micro-benchmarks to the test app
edusperoni Nov 7, 2026
| https://github.com/NativeScript/android/pull/2092/commits/3a4392b4f76606a816b677eac2d99ee33d3bfb04 |
|
6d9ffb7
test: add filter/scale knobs and more JNI benchmarks
edusperoni Nov 7, 2026
| https://github.com/NativeScript/android/pull/2092/commits/6d9ffb74f09b8216c7cbda97e36f397d48205a89 |
|
638defb
perf: cache MetadataNode's interface flag instead of re-reading it pe…
edusperoni Nov 7, 2026
| https://github.com/NativeScript/android/pull/2092/commits/638defb478cb748f27572d626d5db23803b8deae |
|
1f8a038
perf: cache the thread's JNIEnv instead of calling GetEnv per JEnv
edusperoni Nov 7, 2026
| https://github.com/NativeScript/android/pull/2092/commits/1f8a03849be3acbe795ad99b6b43513ab7d907bc |
|
cce0e70
perf: read memoized metadata node types without the reader's lock
edusperoni Nov 7, 2026
| https://github.com/NativeScript/android/pull/2092/commits/cce0e709c48f998a1956a28ca760a4657c488d37 |
|
037451c
perf: resolve the cast-marker and null-node private keys once per iso…
edusperoni Nov 7, 2026
| https://github.com/NativeScript/android/pull/2092/commits/037451c509aaa81c44969f117c8b04e68a431807 |
|
4632c04
perf: pass Java -> JS call arguments as parallel primitive arrays
edusperoni Nov 7, 2026
| https://github.com/NativeScript/android/pull/2092/commits/4632c04a5cfd06922726bcef903da657e2e78589 |
|
3ad624a
perf: convert char returns directly and skip the String check where i…
edusperoni Nov 7, 2026
| https://github.com/NativeScript/android/pull/2092/commits/3ad624aa15e7f920e803463402abb9252feb9832 |
|
a953720
perf: trim per-callback work on the Java -> JS path
edusperoni Nov 7, 2026
| https://github.com/NativeScript/android/pull/2092/commits/a95372062af0771b6e0db842e0af3e241bd73a65 |
|
aedccc7
perf: convert JS string arguments through a stack buffer
edusperoni Nov 7, 2026
| https://github.com/NativeScript/android/pull/2092/commits/aedccc7303597abbbb098f36e6d7016d30dc0d51 |
|
0582f28
perf: read the cached private keys with one GetPrivate
edusperoni Nov 7, 2026
| https://github.com/NativeScript/android/pull/2092/commits/0582f287664240d95f47f57a649fb0a5e5bdf3d8 |
|
e325aae
perf: resolve the calling thread's own runtime without the global lock
edusperoni Nov 8, 2026
| https://github.com/NativeScript/android/pull/2092/commits/e325aaed7909580f6a92fb90fc8f758b96753410 |
|
Clear filters
| https://github.com/NativeScript/android/pull/2092/files |
| Please reload this page | https://github.com/NativeScript/android/pull/2092/files |
| Please reload this page | https://github.com/NativeScript/android/pull/2092/files |
|
boot.js
| https://github.com/NativeScript/android/pull/2092/files#diff-ab8a88370e9c654438b62484e6313470690c23aaa07a8303cefaea2036f2036c |
|
jniBenchmarks.js
| https://github.com/NativeScript/android/pull/2092/files#diff-a21c35e53018a8758692863d0121c2e0dcee0e46ff518cf18830c2eb7be789fb |
|
JniBench.java
| https://github.com/NativeScript/android/pull/2092/files#diff-a6c74c8ce4483e4d29fcc4025edff4e9811cf19a962996d79bb3cf77fd313bee |
|
ArgConverter.cpp
| https://github.com/NativeScript/android/pull/2092/files#diff-86196b2a12999ec659c091aaa11bf59cae203ca3bbf677eb4669bc53df6218a7 |
|
ArgConverter.h
| https://github.com/NativeScript/android/pull/2092/files#diff-2386842e1037b1a0d29524b3318830437c7b9f365803e8851816071da4264bab |
|
CallbackHandlers.cpp
| https://github.com/NativeScript/android/pull/2092/files#diff-a784229ab7689cd9ce3d502557091158b2943269fad47c1891a15a07c355500e |
|
CallbackHandlers.h
| https://github.com/NativeScript/android/pull/2092/files#diff-1f7b413d95b12ea3b982950185ce4f7e56c5c02952d656a5dcc0ff8878e37722 |
|
FieldAccessor.cpp
| https://github.com/NativeScript/android/pull/2092/files#diff-5e991aad04b31c0e151e4adbed673d0ce073d20e3ce3050c59f864907f96bccf |
|
JEnv.cpp
| https://github.com/NativeScript/android/pull/2092/files#diff-73f675d8548b1b431bfd52b52b051f173bdf8408f03caf73f00891debdb15641 |
|
JEnv.h
| https://github.com/NativeScript/android/pull/2092/files#diff-1302cc560063ed1fce2de90c87f9f5ef8dc8b0a210e3571878dc655933951032 |
|
JsArgConverter.cpp
| https://github.com/NativeScript/android/pull/2092/files#diff-9b41f905739990783e7f543f4c38aab34593873cf03762c959d6c3c7b6e991b7 |
|
JsArgConverter.h
| https://github.com/NativeScript/android/pull/2092/files#diff-bdd1e3debf725d5c60ef05e04e14346e55e103c6650314a49c83bf3d0c40cce6 |
|
JsArgToArrayConverter.cpp
| https://github.com/NativeScript/android/pull/2092/files#diff-2893b81a974ae0a84357d112dd872c8c7f3f3c74342ed15f25596e8f928e6ebf |
|
MetadataNode.cpp
| https://github.com/NativeScript/android/pull/2092/files#diff-6f6c5b64f60875e24b75b8a21b3164f114822aa7e5add5755f072f36403f7f8b |
|
MetadataNode.h
| https://github.com/NativeScript/android/pull/2092/files#diff-ac7f7c34025389ca6f1145667245073945ad1bc6b2b1285a05bf4d084924f091 |
|
MetadataReader.cpp
| https://github.com/NativeScript/android/pull/2092/files#diff-c10689703cc3f34ede1d9fe01cad25579a071758c828e86ad0cad3d9e179bb1e |
|
MetadataTreeNode.h
| https://github.com/NativeScript/android/pull/2092/files#diff-32e749c6e2ad676917cd98a97040c945ca2eca5f9dcb91eeb7eb3754621b4151 |
|
MethodCache.cpp
| https://github.com/NativeScript/android/pull/2092/files#diff-a66a356aeaaeaeb65c73d7d5cec58ad7f02506b4bae581ec8b8c03de93a682b9 |
|
NumericCasts.cpp
| https://github.com/NativeScript/android/pull/2092/files#diff-25c9bd49693c635de1cb8fb71c55fa3b985ee49f4eec70c13210c78862ca1a61 |
|
NumericCasts.h
| https://github.com/NativeScript/android/pull/2092/files#diff-c812a9c81a0a7e54d796f3e377eb8851335169df30074fd0d591fff76f16f8c1 |
|
Runtime.cpp
| https://github.com/NativeScript/android/pull/2092/files#diff-b9490640f5d26f7cd6b9a176a2142b8e985a6aac9e2d64287de37fc694e80cc3 |
|
Runtime.h
| https://github.com/NativeScript/android/pull/2092/files#diff-87f802d33bb6047fdb5ef6dc8d73551485ecb092edff4de77ecc9affc3e9341c |
|
V8GlobalHelpers.cpp
| https://github.com/NativeScript/android/pull/2092/files#diff-5308898b177c89b88359a383b6949a600174634b0ddb8bc064b682676c239020 |
|
V8GlobalHelpers.h
| https://github.com/NativeScript/android/pull/2092/files#diff-6cc5ccc306e93d633282f5e6ee0a3658f88019263b9078b642c86eb942c0dcf7 |
|
V8StringConstants.cpp
| https://github.com/NativeScript/android/pull/2092/files#diff-c8b460c2ca71019e700b24a2d30c7828e2718a2ad541fcdaf58ab14efd311cd8 |
|
V8StringConstants.h
| https://github.com/NativeScript/android/pull/2092/files#diff-8162bcde4fb321e221b9d5bccd6bfa615ffac3c67b894b50c7a66a7f7ac1b8eb |
|
WorkerWrapper.cpp
| https://github.com/NativeScript/android/pull/2092/files#diff-1344a5b85b9f266cab5024f2d52426ba56e3832c074d2c139fb560bcaaabfdc7 |
|
com_tns_Runtime.cpp
| https://github.com/NativeScript/android/pull/2092/files#diff-12525df874d33d128becf0dc90001af73fcb89c72d20a9f185d5070848daef23 |
|
Runtime.java
| https://github.com/NativeScript/android/pull/2092/files#diff-cf9bb4e9ca1a476cacd6e270fc8bcd12c71f89d52d272915bc99df57b3581f59 |
| test-app/app/src/main/assets/app/boot.js | https://github.com/NativeScript/android/pull/2092/files#diff-ab8a88370e9c654438b62484e6313470690c23aaa07a8303cefaea2036f2036c |
|
View file
| https://github.com/NativeScript/android/blob/e325aaed7909580f6a92fb90fc8f758b96753410/test-app/app/src/main/assets/app/boot.js |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/NativeScript/android/pull/2092/{{ revealButtonHref }} |
|
| https://github.com/NativeScript/android/pull/2092/files#diff-ab8a88370e9c654438b62484e6313470690c23aaa07a8303cefaea2036f2036c |
| test-app/app/src/main/assets/app/tests/benchmarks/jniBenchmarks.js | https://github.com/NativeScript/android/pull/2092/files#diff-a21c35e53018a8758692863d0121c2e0dcee0e46ff518cf18830c2eb7be789fb |
|
View file
| https://github.com/NativeScript/android/blob/e325aaed7909580f6a92fb90fc8f758b96753410/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/2092/{{ revealButtonHref }} |
| coderabbitai | https://github.com/apps/coderabbitai |
| Nov 8, 2026 | https://github.com/NativeScript/android/pull/2092/files#r4508125985 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/NativeScript/android/pull/2092/files |
| Please reload this page | https://github.com/NativeScript/android/pull/2092/files |
| Please reload this page | https://github.com/NativeScript/android/pull/2092/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 |