René's URL Explorer Experiment


Title: Reduce startup time with optional pre-extracted JNA binaries by dgant · Pull Request #103 · JavaBWAPI/JBWAPI · GitHub

Open Graph Title: Reduce startup time with optional pre-extracted JNA binaries by dgant · Pull Request #103 · JavaBWAPI/JBWAPI

X Title: Reduce startup time with optional pre-extracted JNA binaries by dgant · Pull Request #103 · JavaBWAPI/JBWAPI

Description: Most software stacks that run client bots (SC-Docker, Tournament Manager, SCHNAIL, for example) don't bother checking whether the client is connected before starting a game. There's not even an obviously good way to do this. Instead they just launch the client bot, wait a few seconds, then launch StarCraft and pray the client is ready. This usually works, but when it doesn't, the bot fails to connect. The game is ruined. This pull request aims to prevent failed connections by reducing the time required for client bots to be ready for connection, by allowing bots to include pre-extracted JNA binaries. You can include them side-by-side with your bot JAR to save time on extracting them before connecting. These changes were vibecoded but have undergone several rounds of iteration and testing. In fresh-JVM startup tests on Windows with Java 8 x86 and JNA 5.18.1, pre-extracted DLLs reduced median time-to-connection-ready by about 45%.

Open Graph Description: Most software stacks that run client bots (SC-Docker, Tournament Manager, SCHNAIL, for example) don't bother checking whether the client is connected before starting a game. There's not eve...

X Description: Most software stacks that run client bots (SC-Docker, Tournament Manager, SCHNAIL, for example) don't bother checking whether the client is connected before starting a game. There's...

Opengraph URL: https://github.com/JavaBWAPI/JBWAPI/pull/103

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.113.4

react-profiling0
react-import-mapreact,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-controllerpull_requests
route-actionfiles
fetch-noncev2:bd3866f9-a078-7b58-c3d3-979368806022
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id99E0:32E0F9:65F61A:83E323:6B062457
html-safe-nonce6135555c7a8cda34cba2c7b27889eb4bb6e756cdb850210ceb3751089d6bb32a
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5OUUwOjMyRTBGOTo2NUY2MUE6ODNFMzIzOjZCMDYyNDU3IiwidmlzaXRvcl9pZCI6IjY5MzkyNjYyMTk2OTg5NTUzNTEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac8dd507b6366fa0bf8813bb9945f50058a7df718037d7064f6e695a88d6c780e3
hovercard-subject-tagpull_request:5148096394
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/JavaBWAPI/JBWAPI/pull/103/files
twitter:imagehttps://avatars.githubusercontent.com/u/116363?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/116363?s=400&v=4
og:image:altMost software stacks that run client bots (SC-Docker, Tournament Manager, SCHNAIL, for example) don't bother checking whether the client is connected before starting a game. There's not eve...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None9e10bb0ecc0bd0f8692aa89586ee9b54e498d7ab9f244a44cdb5b93653a125ce
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/JavaBWAPI/JBWAPI git https://github.com/JavaBWAPI/JBWAPI.git
octolytics-dimension-user_id46279254
octolytics-dimension-user_loginJavaBWAPI
octolytics-dimension-repository_id149718845
octolytics-dimension-repository_nwoJavaBWAPI/JBWAPI
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id149718845
octolytics-dimension-repository_network_root_nwoJavaBWAPI/JBWAPI
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release32e57d5cc2ce6ce92ec6dceb65858344750c27c2
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/JavaBWAPI/JBWAPI/pull/103/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FJavaBWAPI%2FJBWAPI%2Fpull%2F103%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FJavaBWAPI%2FJBWAPI%2Fpull%2F103%2Ffiles
Sign uphttps://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=JavaBWAPI%2FJBWAPI
Reloadhttps://github.com/JavaBWAPI/JBWAPI/pull/103/files
Reloadhttps://github.com/JavaBWAPI/JBWAPI/pull/103/files
Reloadhttps://github.com/JavaBWAPI/JBWAPI/pull/103/files
JavaBWAPIhttps://github.com/JavaBWAPI
JBWAPIhttps://github.com/JavaBWAPI/JBWAPI
Codehttps://github.com/JavaBWAPI/JBWAPI
Issues11 (11)https://github.com/JavaBWAPI/JBWAPI/issues
Pull requests4 (4)https://github.com/JavaBWAPI/JBWAPI/pulls
Actionshttps://github.com/JavaBWAPI/JBWAPI/actions
Security and qualityhttps://github.com/JavaBWAPI/JBWAPI/security
Insightshttps://github.com/JavaBWAPI/JBWAPI/insights
Sign up for GitHub https://github.com/signup?return_to=%2FJavaBWAPI%2FJBWAPI%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2FJavaBWAPI%2FJBWAPI%2Fissues%2Fnew%2Fchoose
dganthttps://github.com/dgant
JavaBWAPI:develophttps://github.com/JavaBWAPI/JBWAPI/tree/develop
dgant:codex/pre-extracted-jna-binarieshttps://github.com/dgant/JBWAPI/tree/codex/pre-extracted-jna-binaries
Conversation 0 https://github.com/JavaBWAPI/JBWAPI/pull/103
Commits 3 https://github.com/JavaBWAPI/JBWAPI/pull/103/commits
Checks 4 https://github.com/JavaBWAPI/JBWAPI/pull/103/checks
Files changed https://github.com/JavaBWAPI/JBWAPI/pull/103/files
Please reload this pagehttps://github.com/JavaBWAPI/JBWAPI/pull/103/files
Reduce startup time with optional pre-extracted JNA binaries https://github.com/JavaBWAPI/JBWAPI/pull/103/files#top
Show all changes 3 commits https://github.com/JavaBWAPI/JBWAPI/pull/103/files
6b58b5f Reduce startup time with optional pre-extracted JNA binaries dgant Nov 4, 2026 https://github.com/JavaBWAPI/JBWAPI/pull/103/commits/6b58b5ff1c6a336e814a0ae988ee71fe9bdedbda
e429061 Clarify optional JNA DLL placement in README dgant Nov 4, 2026 https://github.com/JavaBWAPI/JBWAPI/pull/103/commits/e42906116aae66ce0894c9018154c217b21dd22e
4c82983 Document percentage startup savings from pre-extracted JNA dgant Nov 4, 2026 https://github.com/JavaBWAPI/JBWAPI/pull/103/commits/4c829839096f79687328b776cb58044d38e2b1f8
Clear filters https://github.com/JavaBWAPI/JBWAPI/pull/103/files
Please reload this pagehttps://github.com/JavaBWAPI/JBWAPI/pull/103/files
Please reload this pagehttps://github.com/JavaBWAPI/JBWAPI/pull/103/files
README.md https://github.com/JavaBWAPI/JBWAPI/pull/103/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5
pom.xml https://github.com/JavaBWAPI/JBWAPI/pull/103/files#diff-9c5fb3d1b7e3b0f54bc5c4182965c4fe1f9023d449017cece3005d3f90e8e4d8
Client.java https://github.com/JavaBWAPI/JBWAPI/pull/103/files#diff-f98efeec01b00bded0385743eacc60af48835073e0a8bb20242694368e6fc914
JnaNativeLoader.java https://github.com/JavaBWAPI/JBWAPI/pull/103/files#diff-c31384572af39ca10ff894823900ef3e36c6157f96b3104c9dc87243c70e7354
JnaNativeLoaderTest.java https://github.com/JavaBWAPI/JBWAPI/pull/103/files#diff-9338e33a89681f12d7e30fe07a4877c953033eb534859f8f4a63d46e0affbda7
README.mdhttps://github.com/JavaBWAPI/JBWAPI/pull/103/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5
View file https://github.com/JavaBWAPI/JBWAPI/blob/4c829839096f79687328b776cb58044d38e2b1f8/README.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/JavaBWAPI/JBWAPI/pull/103/{{ revealButtonHref }}
https://github.com/JavaBWAPI/JBWAPI/pull/103/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5
https://github.com/JavaBWAPI/JBWAPI/pull/103/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5
pom.xmlhttps://github.com/JavaBWAPI/JBWAPI/pull/103/files#diff-9c5fb3d1b7e3b0f54bc5c4182965c4fe1f9023d449017cece3005d3f90e8e4d8
View file https://github.com/JavaBWAPI/JBWAPI/blob/4c829839096f79687328b776cb58044d38e2b1f8/pom.xml
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/JavaBWAPI/JBWAPI/pull/103/{{ revealButtonHref }}
https://github.com/JavaBWAPI/JBWAPI/pull/103/files#diff-9c5fb3d1b7e3b0f54bc5c4182965c4fe1f9023d449017cece3005d3f90e8e4d8
https://github.com/JavaBWAPI/JBWAPI/pull/103/files#diff-9c5fb3d1b7e3b0f54bc5c4182965c4fe1f9023d449017cece3005d3f90e8e4d8
src/main/java/bwapi/Client.javahttps://github.com/JavaBWAPI/JBWAPI/pull/103/files#diff-f98efeec01b00bded0385743eacc60af48835073e0a8bb20242694368e6fc914
View file https://github.com/JavaBWAPI/JBWAPI/blob/4c829839096f79687328b776cb58044d38e2b1f8/src/main/java/bwapi/Client.java
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/JavaBWAPI/JBWAPI/pull/103/{{ revealButtonHref }}
https://github.com/JavaBWAPI/JBWAPI/pull/103/files#diff-f98efeec01b00bded0385743eacc60af48835073e0a8bb20242694368e6fc914
https://github.com/JavaBWAPI/JBWAPI/pull/103/files#diff-f98efeec01b00bded0385743eacc60af48835073e0a8bb20242694368e6fc914
src/main/java/bwapi/JnaNativeLoader.javahttps://github.com/JavaBWAPI/JBWAPI/pull/103/files#diff-c31384572af39ca10ff894823900ef3e36c6157f96b3104c9dc87243c70e7354
View file https://github.com/JavaBWAPI/JBWAPI/blob/4c829839096f79687328b776cb58044d38e2b1f8/src/main/java/bwapi/JnaNativeLoader.java
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/JavaBWAPI/JBWAPI/pull/103/{{ revealButtonHref }}
Please reload this pagehttps://github.com/JavaBWAPI/JBWAPI/pull/103/files
Please reload this pagehttps://github.com/JavaBWAPI/JBWAPI/pull/103/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlno-cache

Viewport: width=device-width


URLs of crawlers that visited me.