【文件属性】:
文件名称:使用golang进行高性能编码-Golang开发
文件大小:1.25MB
文件格式:ZIP
更新时间:2021-05-26 14:36:16
Golang Learning Tutorial
high performance coding with golang(Go 语言高性能编程,Go 语言陷阱,Gotchas,Traps)
Go 语言高性能编程
目录
序言
关于本书
第一章 性能分析
benchmark 基准测试
pprof 性能分析
第二章 常用数据结构
字符串拼接性能及原理
切片(slice)性能及陷阱
for 和 range 的性能比较
反射(reflect)性能
第三章 并发编程
读写锁和互斥锁的性能比较
如何退出协程(超时场景)
第四章 编译优化
减小编译体积
附录 Go 语言陷阱
数组和切片
基础入门
Go 语言简明教程
Go Test 单元测试简明教程
Go Protobuf 简明教程
Go RPC & TLS 鉴权简明教程
Go Mock (gomock)简明教程
Go Mmap 文件内存映射简明教程
Go Context 并发编程简明教程
Go WebAssembly (Wasm) 简明教程
Go Gin 简明教程
进阶系列
七天用Go从零实现系列
Web框架Gee
分布
【文件预览】:
high-performance-go-master
----.gitignore(9B)
----README.md(4KB)
----charpter-2()
--------hpg-slice.md(12KB)
--------hpg-string-concat()
--------code()
--------hpg-slice()
--------hpg-range.md(8KB)
--------hpg-struct-alignment()
--------hpg-struct-alignment.md(8KB)
--------hpg-string-concat.md(9KB)
--------hpg-reflect.md(11KB)
--------hpg-empty-struct.md(3KB)
----charpter-4()
--------hpg-escape-analysis.md(10KB)
--------code()
--------hpg-reduce-size.md(5KB)
--------hpg-dead-code-elimination.md(9KB)
--------hpg-reduce-size()
----LICENSE(1KB)
----charpter-0()
--------high-performance-go.md(4KB)
--------high-performance-go()
----charpter-a1()
--------hpg-gotchas-array-slice.md(4KB)
--------code()
--------hpg-gotchas-array-slice()
----charpter-3()
--------hpg-sync-cond.md(7KB)
--------code()
--------hpg-exit-goroutine.md(7KB)
--------hpg-sync-pool.md(6KB)
--------hpg-timeout-goroutine.md(9KB)
--------hpg-concurrency-control.md(9KB)
--------hpg-sync-once.md(8KB)
--------hpg-mutex()
--------hpg-mutex.md(9KB)
----charpter-1()
--------hpg-benchmark.md(13KB)
--------hpg-benchmark()
--------hpg-pprof.md(14KB)
--------hpg-pprof()