{"id":13600568,"url":"https://github.com/geektutu/high-performance-go","last_synced_at":"2025-05-15T00:09:07.887Z","repository":{"id":37646309,"uuid":"315063189","full_name":"geektutu/high-performance-go","owner":"geektutu","description":"high performance coding with golang（Go 语言高性能编程，Go 语言陷阱，Gotchas，Traps）","archived":false,"fork":false,"pushed_at":"2022-11-03T07:29:09.000Z","size":2247,"stargazers_count":3841,"open_issues_count":3,"forks_count":422,"subscribers_count":75,"default_branch":"master","last_synced_at":"2025-04-13T21:33:59.224Z","etag":null,"topics":["effective-golang","go","golang","high-performance"],"latest_commit_sha":null,"homepage":"https://geektutu.com/post/high-performance-go.html","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/geektutu.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-11-22T15:00:37.000Z","updated_at":"2025-04-13T10:48:45.000Z","dependencies_parsed_at":"2023-01-21T12:45:12.831Z","dependency_job_id":null,"html_url":"https://github.com/geektutu/high-performance-go","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geektutu%2Fhigh-performance-go","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geektutu%2Fhigh-performance-go/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geektutu%2Fhigh-performance-go/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geektutu%2Fhigh-performance-go/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/geektutu","download_url":"https://codeload.github.com/geektutu/high-performance-go/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254249206,"owners_count":22039029,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["effective-golang","go","golang","high-performance"],"created_at":"2024-08-01T18:00:42.805Z","updated_at":"2025-05-15T00:09:03.104Z","avatar_url":"https://github.com/geektutu.png","language":"Go","readme":"# Go 语言高性能编程\n\n[![high performance with go](charpter-0/high-performance-go/high-performance-go.jpg)](https://geektutu.com/post/high-performance-go.html)\n\n## 订阅\n\n最新动态可以关注：知乎 [Go语言](https://www.zhihu.com/people/gzdaijie) 或微博 [极客兔兔](https://weibo.com/geektutu)\n\n订阅方式：**watch** [geektutu/blog](https://github.com/geektutu/blog) ，每篇文章都能收到邮件通知，或通过 [RSS](https://geektutu.com/feed.xml) 订阅。\n\n## 目录\n\n- 序言\n    - [关于本书](https://geektutu.com/post/high-performance-go.html)\n\n- 第一章 性能分析\n    - [benchmark 基准测试](https://geektutu.com/post/hpg-benchmark.html)\n    - [pprof 性能分析](https://geektutu.com/post/hpg-pprof.html)\n\n- 第二章 常用数据结构\n    - [字符串拼接性能及原理](https://geektutu.com/post/hpg-string-concat.html)\n    - [切片(slice)性能及陷阱](https://geektutu.com/post/hpg-slice.html)\n    - [for 和 range 的性能比较](https://geektutu.com/post/hpg-range.html)\n    - [反射(reflect)性能](https://geektutu.com/post/hpg-reflect.html)\n    - [使用空结构体节省内存](https://geektutu.com/post/hpg-empty-struct.html)\n    - [内存对齐对性能的影响](https://geektutu.com/post/hpg-struct-alignment.html)\n\n- 第三章 并发编程\n    - [读写锁和互斥锁的性能比较](https://geektutu.com/post/hpg-mutex.html)\n    - [如何退出协程(超时场景)](https://geektutu.com/post/hpg-timeout-goroutine.html)\n    - [如何退出协程(其他场景)](https://geektutu.com/post/hpg-exit-goroutine.html)\n    - [控制协程的并发数量](https://geektutu.com/post/hpg-concurrency-control.html)\n    - [sync.Pool 复用对象](https://geektutu.com/post/hpg-sync-pool.html)\n    - [sync.Once 如何提升性能](https://geektutu.com/post/hpg-sync-once.html)\n    - [sync.Cond 条件变量](https://geektutu.com/post/hpg-sync-cond.html)\n\n- 第四章 编译优化\n    - [减小编译体积](https://geektutu.com/post/hpg-reduce-size.html)\n    - [逃逸分析对性能的影响](https://geektutu.com/post/hpg-escape-analysis.html)\n    - [死码消除与调试模式](https://geektutu.com/post/hpg-dead-code-elimination.html)\n\n- 附录 Go 语言陷阱\n    - [数组和切片](https://geektutu.com/post/hpg-gotchas-array-slice.html)\n\n## 基础入门\n\n- [Go 语言简明教程](https://geektutu.com/post/quick-golang.html)\n- [Go Test 单元测试简明教程](https://geektutu.com/post/quick-go-test.html)\n- [Go Protobuf 简明教程](https://geektutu.com/post/quick-go-protobuf.html)\n- [Go RPC \u0026 TLS 鉴权简明教程](https://geektutu.com/post/quick-go-rpc.html)\n- [Go Mock (gomock)简明教程](https://geektutu.com/post/quick-gomock.html)\n- [Go Mmap 文件内存映射简明教程](https://geektutu.com/post/quick-go-mmap.html)\n- [Go Context 并发编程简明教程](https://geektutu.com/post/quick-go-context.html)\n- [Go WebAssembly (Wasm) 简明教程](https://geektutu.com/post/quick-go-wasm.html)\n- [Go Gin 简明教程](https://geektutu.com/post/quick-go-gin.html)\n\n## 进阶系列\n\n- [七天用Go从零实现系列](https://geektutu.com/post/gee.html)\n    - [Web框架Gee](https://geektutu.com/post/gee.html)\n    - [分布式缓存GeeCache](https://geektutu.com/post/geecache.html)\n    - [ORM框架GeeORM](https://geektutu.com/post/geeorm.html)\n    - [RPC框架GeeRPC](https://geektutu.com/post/geerpc.html)\n    - [项目地址](https://github.com/geektutu/7days-golang)\n- [Go 语言笔试面试题](https://geektutu.com/post/qa-golang.html)\n    - [基础语法](https://geektutu.com/post/qa-golang-1.html)\n    - [实现原理](https://geektutu.com/post/qa-golang-2.html)\n    - [并发编程](https://geektutu.com/post/qa-golang-3.html)\n    - [代码输出](https://geektutu.com/post/qa-golang-c1.html)\n","funding_links":[],"categories":["文档","Go","Documentation","Repositories"],"sub_categories":["组织","To Organize"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeektutu%2Fhigh-performance-go","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgeektutu%2Fhigh-performance-go","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeektutu%2Fhigh-performance-go/lists"}