{"id":603,"date":"2025-04-16T10:21:08","date_gmt":"2025-04-16T02:21:08","guid":{"rendered":"http:\/\/120.55.184.7\/?p=603"},"modified":"2025-05-08T14:15:50","modified_gmt":"2025-05-08T06:15:50","slug":"pprof-%e6%80%a7%e8%83%bd%e5%88%86%e6%9e%90%e5%b7%a5%e5%85%b7","status":"publish","type":"post","link":"https:\/\/beijian99.top\/?p=603","title":{"rendered":"pprof \u6027\u80fd\u5206\u6790\u5de5\u5177"},"content":{"rendered":"\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"320\" src=\"https:\/\/beijian99.top\/wp-content\/uploads\/2025\/04\/image-73.png\" alt=\"\" class=\"wp-image-978\" srcset=\"https:\/\/beijian99.top\/wp-content\/uploads\/2025\/04\/image-73.png 800w, https:\/\/beijian99.top\/wp-content\/uploads\/2025\/04\/image-73-300x120.png 300w, https:\/\/beijian99.top\/wp-content\/uploads\/2025\/04\/image-73-768x307.png 768w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><\/figure>\n\n\n\n<p>pprof \u662f Go \u8bed\u8a00\u5185\u7f6e\u7684\u6027\u80fd\u5206\u6790\u5de5\u5177\uff0c\u7528\u4e8e\u5206\u6790\u548c\u4f18\u5316 Go \u7a0b\u5e8f\u7684\u6027\u80fd\u3002\u5b83\u53ef\u4ee5\u5e2e\u52a9\u5f00\u53d1\u8005\u8bc6\u522b CPU \u74f6\u9888\u3001\u5185\u5b58\u6cc4\u6f0f\u3001goroutine \u963b\u585e\u7b49\u95ee\u9898\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">1. pprof \u7b80\u4ecb<\/h2>\n\n\n\n<p>pprof \u63d0\u4f9b\u4e86\u4ee5\u4e0b\u51e0\u79cd\u5206\u6790\u7c7b\u578b\uff1a<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>CPU \u5206\u6790\uff1a\u8bc6\u522b\u6d88\u8017 CPU \u65f6\u95f4\u6700\u591a\u7684\u51fd\u6570<\/li>\n\n\n\n<li>\u5185\u5b58\u5206\u6790\uff1a\u8bc6\u522b\u5185\u5b58\u5206\u914d\u60c5\u51b5<\/li>\n\n\n\n<li>\u963b\u585e\u5206\u6790\uff1a\u8bc6\u522b\u540c\u6b65\u539f\u8bed\u5bfc\u81f4\u7684\u963b\u585e<\/li>\n\n\n\n<li>Goroutine \u5206\u6790\uff1a\u67e5\u770b\u6240\u6709 goroutine \u7684\u5806\u6808\u8ddf\u8e2a<\/li>\n\n\n\n<li>\u4e92\u65a5\u9501\u5206\u6790\uff1a\u8bc6\u522b\u9501\u7ade\u4e89\u60c5\u51b5<\/li>\n\n\n\n<li>\u7ebf\u7a0b\u521b\u5efa\u5206\u6790\uff1a\u8bc6\u522b\u7ebf\u7a0b\u521b\u5efa\u60c5\u51b5<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">2. \u57fa\u672c\u4f7f\u7528<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">2.1 \u5bfc\u5165 pprof<\/h3>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nimport _ &quot;net\/http\/pprof&quot;\n<\/pre><\/div>\n\n\n<p>\u53ea\u9700\u5bfc\u5165\u8fd9\u4e2a\u5305\uff0c\u5b83\u5c31\u4f1a\u81ea\u52a8\u6ce8\u518c HTTP \u5904\u7406\u5668\u5230\u9ed8\u8ba4\u7684 HTTP \u670d\u52a1\u4e0a\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">2.2 \u542f\u52a8 HTTP \u670d\u52a1<\/h3>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\ngo func() {\n    log.Println(http.ListenAndServe(&quot;localhost:6060&quot;, nil))\n}()\n<\/pre><\/div>\n\n\n<h3 class=\"wp-block-heading\">2.3 \u8bbf\u95ee\u5206\u6790\u6570\u636e<\/h3>\n\n\n\n<p>\u542f\u52a8\u7a0b\u5e8f\u540e\uff0c\u53ef\u4ee5\u901a\u8fc7\u6d4f\u89c8\u5668\u8bbf\u95ee\uff1a<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>http:\/\/localhost:6060\/debug\/pprof\/<\/code> &#8211; \u67e5\u770b\u6240\u6709\u53ef\u7528 profile<\/li>\n\n\n\n<li><code>http:\/\/localhost:6060\/debug\/pprof\/heap<\/code> &#8211; \u5185\u5b58\u5206\u6790<\/li>\n\n\n\n<li><code>http:\/\/localhost:6060\/debug\/pprof\/profile?seconds=30<\/code> &#8211; CPU \u5206\u6790\uff08\u6301\u7eed30\u79d2\uff09<\/li>\n\n\n\n<li><code>http:\/\/localhost:6060\/debug\/pprof\/block<\/code> &#8211; \u963b\u585e\u5206\u6790<\/li>\n\n\n\n<li><code>http:\/\/localhost:6060\/debug\/pprof\/goroutine?debug=2<\/code> &#8211; goroutine \u5206\u6790<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">3. \u8be6\u7ec6\u4f7f\u7528\u65b9\u5f0f<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">3.1 CPU \u5206\u6790<\/h3>\n\n\n\n<p><strong>\u91c7\u96c6\u65b9\u5f0f\uff1a<\/strong><\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>\u901a\u8fc7 HTTP \u63a5\u53e3\uff1a<\/li>\n<\/ol>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n   go tool pprof http:\/\/localhost:6060\/debug\/pprof\/profile?seconds=30\n<\/pre><\/div>\n\n\n<ol start=\"2\" class=\"wp-block-list\">\n<li>\u4ee3\u7801\u4e2d\u624b\u52a8\u91c7\u96c6\uff1a<\/li>\n<\/ol>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: go; title: ; notranslate\" title=\"\">\n   f, err := os.Create(&quot;cpu.prof&quot;)\n   if err != nil {\n       log.Fatal(err)\n   }\n   pprof.StartCPUProfile(f)\n   defer pprof.StopCPUProfile()\n<\/pre><\/div>\n\n\n<p><strong>\u5206\u6790\u547d\u4ee4\uff1a<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>top<\/code> &#8211; \u67e5\u770b\u6700\u8017 CPU \u7684\u51fd\u6570<\/li>\n\n\n\n<li><code>list \u51fd\u6570\u540d<\/code> &#8211; \u67e5\u770b\u51fd\u6570\u7684\u5177\u4f53\u8017\u65f6<\/li>\n\n\n\n<li><code>web<\/code> &#8211; \u751f\u6210\u8c03\u7528\u56fe\uff08\u9700\u8981\u5b89\u88c5 graphviz\uff09<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">3.2 \u5185\u5b58\u5206\u6790<\/h3>\n\n\n\n<p><strong>\u91c7\u96c6\u65b9\u5f0f\uff1a<\/strong><\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>\u901a\u8fc7 HTTP \u63a5\u53e3\uff1a<\/li>\n<\/ol>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n   go tool pprof http:\/\/localhost:6060\/debug\/pprof\/heap\n<\/pre><\/div>\n\n\n<ol start=\"2\" class=\"wp-block-list\">\n<li>\u4ee3\u7801\u4e2d\u624b\u52a8\u91c7\u96c6\uff1a<\/li>\n<\/ol>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: go; title: ; notranslate\" title=\"\">\n   f, err := os.Create(&quot;mem.prof&quot;)\n   if err != nil {\n       log.Fatal(err)\n   }\n   pprof.WriteHeapProfile(f)\n   f.Close()\n<\/pre><\/div>\n\n\n<p><strong>\u5206\u6790\u547d\u4ee4\uff1a<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>top<\/code> &#8211; \u67e5\u770b\u5185\u5b58\u5206\u914d\u6700\u591a\u7684\u51fd\u6570<\/li>\n\n\n\n<li><code>top -cum<\/code> &#8211; \u67e5\u770b\u7d2f\u8ba1\u5185\u5b58\u5206\u914d<\/li>\n\n\n\n<li><code>list \u51fd\u6570\u540d<\/code> &#8211; \u67e5\u770b\u51fd\u6570\u7684\u5185\u5b58\u5206\u914d\u60c5\u51b5<\/li>\n\n\n\n<li><code>web<\/code> &#8211; \u751f\u6210\u5185\u5b58\u5206\u914d\u56fe<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">3.3 Goroutine \u5206\u6790<\/h3>\n\n\n\n<p><strong>\u91c7\u96c6\u65b9\u5f0f\uff1a<\/strong><\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\ngo tool pprof http:\/\/localhost:6060\/debug\/pprof\/goroutine\n<\/pre><\/div>\n\n\n<p><strong>\u5206\u6790\u547d\u4ee4\uff1a<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>top<\/code> &#8211; \u67e5\u770b goroutine \u6570\u91cf\u6700\u591a\u7684\u8c03\u7528\u6808<\/li>\n\n\n\n<li><code>traces<\/code> &#8211; \u67e5\u770b\u6240\u6709 goroutine \u7684\u5806\u6808\u8ddf\u8e2a<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">3.4 \u963b\u585e\u5206\u6790<\/h3>\n\n\n\n<p><strong>\u91c7\u96c6\u65b9\u5f0f\uff1a<\/strong><\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\ngo tool pprof http:\/\/localhost:6060\/debug\/pprof\/block\n<\/pre><\/div>\n\n\n<p><strong>\u5206\u6790\u547d\u4ee4\uff1a<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>top<\/code> &#8211; \u67e5\u770b\u963b\u585e\u65f6\u95f4\u6700\u957f\u7684\u64cd\u4f5c<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">4. \u9ad8\u7ea7\u7528\u6cd5<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">4.1 \u706b\u7130\u56fe\u751f\u6210<\/h3>\n\n\n\n<ol class=\"wp-block-list\">\n<li>\u5b89\u88c5 go-torch\uff1a<\/li>\n<\/ol>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n   go get github.com\/uber\/go-torch\n<\/pre><\/div>\n\n\n<ol start=\"2\" class=\"wp-block-list\">\n<li>\u751f\u6210\u706b\u7130\u56fe\uff1a<\/li>\n<\/ol>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n   go-torch -u http:\/\/localhost:6060 -p &gt; torch.svg\n<\/pre><\/div>\n\n\n<h3 class=\"wp-block-heading\">4.2 \u57fa\u51c6\u6d4b\u8bd5\u96c6\u6210<\/h3>\n\n\n\n<p>\u5728\u57fa\u51c6\u6d4b\u8bd5\u4e2d\u4f7f\u7528 pprof\uff1a<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: go; title: ; notranslate\" title=\"\">\nfunc BenchmarkSomething(b *testing.B) {\n    f, _ := os.Create(&quot;bench.prof&quot;)\n    pprof.StartCPUProfile(f)\n    defer pprof.StopCPUProfile()\n\n    for i := 0; i &lt; b.N; i++ {\n        \/\/ \u6d4b\u8bd5\u4ee3\u7801\n    }\n}\n<\/pre><\/div>\n\n\n<h3 class=\"wp-block-heading\">4.3 \u81ea\u5b9a\u4e49\u5206\u6790\u7aef\u70b9<\/h3>\n\n\n\n<p>\u53ef\u4ee5\u81ea\u5b9a\u4e49 pprof \u7684 HTTP \u7aef\u70b9\uff1a<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: go; title: ; notranslate\" title=\"\">\nmux := http.NewServeMux()\nmux.HandleFunc(&quot;\/custom\/pprof\/&quot;, pprof.Index)\nmux.HandleFunc(&quot;\/custom\/pprof\/cmdline&quot;, pprof.Cmdline)\nmux.HandleFunc(&quot;\/custom\/pprof\/profile&quot;, pprof.Profile)\nmux.HandleFunc(&quot;\/custom\/pprof\/symbol&quot;, pprof.Symbol)\nmux.HandleFunc(&quot;\/custom\/pprof\/trace&quot;, pprof.Trace)\n<\/pre><\/div>\n\n\n<h2 class=\"wp-block-heading\">5. \u5b9e\u9645\u6848\u4f8b\u5206\u6790<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">5.1 \u5185\u5b58\u6cc4\u6f0f\u5206\u6790<\/h3>\n\n\n\n<ol class=\"wp-block-list\">\n<li>\u83b7\u53d6 heap profile\uff1a<\/li>\n<\/ol>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n   go tool pprof -http=:8080 http:\/\/localhost:6060\/debug\/pprof\/heap\n<\/pre><\/div>\n\n\n<ol start=\"2\" class=\"wp-block-list\">\n<li>\u5728\u6d4f\u89c8\u5668\u4e2d\u67e5\u770b\u5185\u5b58\u5206\u914d\u60c5\u51b5\uff0c\u91cd\u70b9\u5173\u6ce8\u6301\u7eed\u589e\u957f\u7684\u5bf9\u8c61<\/li>\n<\/ol>\n\n\n\n<h3 class=\"wp-block-heading\">5.2 CPU \u70ed\u70b9\u5206\u6790<\/h3>\n\n\n\n<ol class=\"wp-block-list\">\n<li>\u91c7\u96c6 30 \u79d2 CPU profile\uff1a<\/li>\n<\/ol>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n   go tool pprof http:\/\/localhost:6060\/debug\/pprof\/profile?seconds=30\n<\/pre><\/div>\n\n\n<ol start=\"2\" class=\"wp-block-list\">\n<li>\u4f7f\u7528 <code>top<\/code> \u548c <code>list<\/code> \u547d\u4ee4\u5b9a\u4f4d\u70ed\u70b9\u51fd\u6570<\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\">6. \u6700\u4f73\u5b9e\u8df5<\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li>\u5728\u751f\u4ea7\u73af\u5883\u4e2d\u8c28\u614e\u4f7f\u7528 pprof\uff0c\u56e0\u4e3a\u5b83\u4f1a\u5f71\u54cd\u6027\u80fd<\/li>\n\n\n\n<li>\u5206\u6790\u65f6\u8bbe\u7f6e\u5408\u7406\u7684\u91c7\u6837\u65f6\u95f4\uff08\u901a\u5e38 30-60 \u79d2\uff09<\/li>\n\n\n\n<li>\u6bd4\u8f83\u4e0d\u540c\u65f6\u95f4\u70b9\u7684 profile \u4ee5\u8bc6\u522b\u8d8b\u52bf<\/li>\n\n\n\n<li>\u7ed3\u5408\u65e5\u5fd7\u548c\u5176\u4ed6\u76d1\u63a7\u5de5\u5177\u4e00\u8d77\u5206\u6790<\/li>\n\n\n\n<li>\u5728\u6027\u80fd\u6d4b\u8bd5\u73af\u5883\u4e2d\u5148\u8fdb\u884c\u5206\u6790\uff0c\u518d\u5e94\u7528\u5230\u751f\u4ea7\u73af\u5883<\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\">7. \u6ce8\u610f\u4e8b\u9879<\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li>pprof \u9ed8\u8ba4\u91c7\u6837\u9891\u7387\u662f 100Hz\uff08\u6bcf\u79d2100\u6b21\uff09<\/li>\n\n\n\n<li>\u5185\u5b58\u5206\u6790\u663e\u793a\u7684\u662f\u5206\u914d\u60c5\u51b5\uff0c\u4e0d\u4e00\u5b9a\u662f\u5185\u5b58\u4f7f\u7528\u60c5\u51b5<\/li>\n\n\n\n<li>CPU \u5206\u6790\u5728\u7a0b\u5e8f\u7e41\u5fd9\u65f6\u6700\u6709\u6548<\/li>\n\n\n\n<li>\u67d0\u4e9b\u5206\u6790\uff08\u5982\u963b\u585e\u5206\u6790\uff09\u9700\u8981\u5148\u8bbe\u7f6e\u91c7\u6837\u7387\uff1a<\/li>\n<\/ol>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n   runtime.SetBlockProfileRate(1) \/\/ \u6bcf\u7eb3\u79d2\u91c7\u6837\u4e00\u6b21\u963b\u585e\u4e8b\u4ef6\n<\/pre><\/div>","protected":false},"excerpt":{"rendered":"<p>pprof \u662f Go \u8bed\u8a00\u5185\u7f6e\u7684\u6027\u80fd\u5206\u6790\u5de5\u5177\uff0c\u7528\u4e8e\u5206\u6790\u548c\u4f18\u5316 Go \u7a0b\u5e8f\u7684\u6027\u80fd\u3002\u5b83\u53ef\u4ee5\u5e2e\u52a9\u5f00\u53d1\u8005\u8bc6\u522b CPU  [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":978,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[121,131],"tags":[151],"class_list":["post-603","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-golang","category-131","tag-pprof"],"_links":{"self":[{"href":"https:\/\/beijian99.top\/index.php?rest_route=\/wp\/v2\/posts\/603","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/beijian99.top\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/beijian99.top\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/beijian99.top\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/beijian99.top\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=603"}],"version-history":[{"count":3,"href":"https:\/\/beijian99.top\/index.php?rest_route=\/wp\/v2\/posts\/603\/revisions"}],"predecessor-version":[{"id":979,"href":"https:\/\/beijian99.top\/index.php?rest_route=\/wp\/v2\/posts\/603\/revisions\/979"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/beijian99.top\/index.php?rest_route=\/wp\/v2\/media\/978"}],"wp:attachment":[{"href":"https:\/\/beijian99.top\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=603"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/beijian99.top\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=603"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/beijian99.top\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=603"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}