René's URL Explorer Experiment


Title: perf: reuse OpenAI client and add undici keep-alive Agent with connection warmup by Lellansin · Pull Request #100 · lessweb/deepcode-cli · GitHub

Open Graph Title: perf: reuse OpenAI client and add undici keep-alive Agent with connection warmup by Lellansin · Pull Request #100 · lessweb/deepcode-cli

X Title: perf: reuse OpenAI client and add undici keep-alive Agent with connection warmup by Lellansin · Pull Request #100 · lessweb/deepcode-cli

Description: Deep Code 是专为 deepseek-v4 模型优化的终端 AI 编码助手,支持深度思考、推理强度控制以及 Agent Skills。 - perf: reuse OpenAI client and add undici keep-alive Agent with connection warmup by Lellansin · Pull Request #100 · lessweb/deepcode-cli

Open Graph Description: 概述 优化 OpenAI API 客户端的 HTTP 连接复用,减少用户输入间隙的 TLS 握手开销。 背景 默认 undici 全局 fetch 的 TCP 连接保活时间仅 4 秒 CLI 场景下用户阅读 LLM 输出通常需要 10–30 秒,远超 4 秒阈值 每次新 prompt(含 chat、tool use)都需要重新完成 TCP+TLS 握手(实测 ~127ms),冷启动首字节延...

X Description: 概述 优化 OpenAI API 客户端的 HTTP 连接复用,减少用户输入间隙的 TLS 握手开销。 背景 默认 undici 全局 fetch 的 TCP 连接保活时间仅 4 秒 CLI 场景下用户阅读 LLM 输出通常需要 10–30 秒,远超 4 秒阈值 每次新 prompt(含 chat、tool use)都需要重新完成 TCP+TLS 握手(实测 ~127ms),冷启动首字节延...

Opengraph URL: https://github.com/lessweb/deepcode-cli/pull/100

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/checks(.:format)
route-controllerpull_requests
route-actionchecks
fetch-noncev2:66630d75-6eb7-b08d-dbe6-8a863318a8e9
current-catalog-service-hash87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a
request-id8158:1EE4:EC804:144E49:6A4D21BD
html-safe-nonce1de2454834110f1bb837c35e9271e60eb795646e9902be3b9e1017480a7ef7bc
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MTU4OjFFRTQ6RUM4MDQ6MTQ0RTQ5OjZBNEQyMUJEIiwidmlzaXRvcl9pZCI6IjI2Njc4Mzk3NTExMDUzNTYyMjEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac711b23bff1c3bbfd316364fecafe3162469661cfad97580ea26e2d12c01bf7b1
hovercard-subject-tagpull_request:3716110063
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,checks,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/checks
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/lessweb/deepcode-cli/pull/100/checks
twitter:imagehttps://opengraph.githubassets.com/674cf7e785707414ed4d8c03bfaa8f5eb64701aeb1a8ac87e228ba0764a95d25/lessweb/deepcode-cli/pull/100
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/674cf7e785707414ed4d8c03bfaa8f5eb64701aeb1a8ac87e228ba0764a95d25/lessweb/deepcode-cli/pull/100
og:image:alt概述 优化 OpenAI API 客户端的 HTTP 连接复用,减少用户输入间隙的 TLS 握手开销。 背景 默认 undici 全局 fetch 的 TCP 连接保活时间仅 4 秒 CLI 场景下用户阅读 LLM 输出通常需要 10–30 秒,远超 4 秒阈值 每次新 prompt(含 chat、tool use)都需要重新完成 TCP+TLS 握手(实测 ~127ms),冷启动首字节延...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameLellansin
hostnamegithub.com
expected-hostnamegithub.com
None92571a8944142227b7e19cd10918b1ddd06e5066c1ad5bc7e4769cf6140a87e6
turbo-cache-controlno-cache
go-importgithub.com/lessweb/deepcode-cli git https://github.com/lessweb/deepcode-cli.git
octolytics-dimension-user_id118287711
octolytics-dimension-user_loginlessweb
octolytics-dimension-repository_id1223512305
octolytics-dimension-repository_nwolessweb/deepcode-cli
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id1223512305
octolytics-dimension-repository_network_root_nwolessweb/deepcode-cli
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release93f17a978ee60bc4668e1d7b90e6bd2d622261fd
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/lessweb/deepcode-cli/pull/100/checks#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Flessweb%2Fdeepcode-cli%2Fpull%2F100%2Fchecks
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
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
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://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/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Flessweb%2Fdeepcode-cli%2Fpull%2F100%2Fchecks
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%2Fchecks&source=header-repo&source_repo=lessweb%2Fdeepcode-cli
Reloadhttps://github.com/lessweb/deepcode-cli/pull/100/checks
Reloadhttps://github.com/lessweb/deepcode-cli/pull/100/checks
Reloadhttps://github.com/lessweb/deepcode-cli/pull/100/checks
Please reload this pagehttps://github.com/lessweb/deepcode-cli/pull/100/checks
lessweb https://github.com/lessweb
deepcode-clihttps://github.com/lessweb/deepcode-cli
Notifications https://github.com/login?return_to=%2Flessweb%2Fdeepcode-cli
Fork 150 https://github.com/login?return_to=%2Flessweb%2Fdeepcode-cli
Star 1.7k https://github.com/login?return_to=%2Flessweb%2Fdeepcode-cli
Code https://github.com/lessweb/deepcode-cli
Issues 43 https://github.com/lessweb/deepcode-cli/issues
Pull requests 22 https://github.com/lessweb/deepcode-cli/pulls
Actions https://github.com/lessweb/deepcode-cli/actions
Projects https://github.com/lessweb/deepcode-cli/projects
Security and quality 0 https://github.com/lessweb/deepcode-cli/security
Insights https://github.com/lessweb/deepcode-cli/pulse
Code https://github.com/lessweb/deepcode-cli
Issues https://github.com/lessweb/deepcode-cli/issues
Pull requests https://github.com/lessweb/deepcode-cli/pulls
Actions https://github.com/lessweb/deepcode-cli/actions
Projects https://github.com/lessweb/deepcode-cli/projects
Security and quality https://github.com/lessweb/deepcode-cli/security
Insights https://github.com/lessweb/deepcode-cli/pulse
qorzjhttps://github.com/qorzj
lessweb:mainhttps://github.com/lessweb/deepcode-cli/tree/main
Lellansin:dev/optimize-keepalive-client-reusehttps://github.com/Lellansin/deepcode-cli/tree/dev/optimize-keepalive-client-reuse
Conversationhttps://github.com/lessweb/deepcode-cli/pull/100
Commits9 (9)https://github.com/lessweb/deepcode-cli/pull/100/commits
Checkshttps://github.com/lessweb/deepcode-cli/pull/100/checks
Files changedhttps://github.com/lessweb/deepcode-cli/pull/100/files
perf: reuse OpenAI client and add undici keep-alive Agent with connection warmuphttps://github.com/lessweb/deepcode-cli/pull/100/checks#top
qorzjhttps://github.com/qorzj
lessweb:mainhttps://github.com/lessweb/deepcode-cli/tree/main
Lellansin:dev/optimize-keepalive-client-reusehttps://github.com/Lellansin/deepcode-cli/tree/dev/optimize-keepalive-client-reuse
Please reload this pagehttps://github.com/lessweb/deepcode-cli/pull/100/checks
Sign in for the full log viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Flessweb%2Fdeepcode-cli%2Fpull%2F100%2Fchecks
CI on: pull_request https://github.com/lessweb/deepcode-cli/actions/runs/26160393918
Node 20 / ubuntu-latest https://github.com/lessweb/deepcode-cli/actions/runs/26160393918/job/76950482829?pr=100
Node 22 / ubuntu-latest https://github.com/lessweb/deepcode-cli/actions/runs/26160393918/job/76950482845?pr=100
Node 24 / ubuntu-latest https://github.com/lessweb/deepcode-cli/actions/runs/26160393918/job/76950482848?pr=100
Node 20 / windows-latest https://github.com/lessweb/deepcode-cli/actions/runs/26160393918/job/76950482853?pr=100
Node 22 / windows-latest https://github.com/lessweb/deepcode-cli/actions/runs/26160393918/job/76950482825?pr=100
Node 24 / windows-latest https://github.com/lessweb/deepcode-cli/actions/runs/26160393918/job/76950482880?pr=100
Node 20 / macos-latest https://github.com/lessweb/deepcode-cli/actions/runs/26160393918/job/76950482922?pr=100
Node 22 / macos-latest https://github.com/lessweb/deepcode-cli/actions/runs/26160393918/job/76950482867?pr=100
Node 24 / macos-latest https://github.com/lessweb/deepcode-cli/actions/runs/26160393918/job/76950482841?pr=100
Complete job https://github.com/lessweb/deepcode-cli/pull/100/checks#annotation:15:2
https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
https://github.com/lessweb/deepcode-cli/actions/runs/26160393918/job/76950482825
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

Viewport: width=device-width


URLs of crawlers that visited me.