Главная
Study mode:
on
1
Introduction
2
What is BlakeToHash
3
The problem
4
Blake
5
Hash Interface
6
Go Benchmark Ecosystem
7
Go Testing
8
Benchmarks
9
WebView
10
Math Bits
11
G
12
Inlining
13
Inliner
14
Hard stops
15
Round function
16
inline function
17
G is too expensive
18
Get rid of function calls
19
Triple addition
20
Budget code
21
Dont chase this
22
Whats next
23
P prof
24
Assembly
25
Bounce Checking
26
SSA
27
Go Compiler
28
Linear code
29
Bounce checks
30
Hash state
31
Preventative hints
32
Eliminate bounds checks
33
Performance improvement
34
Eliminate allocations
35
Slices
36
Finalize
37
Pattern Matching
38
Sum
39
Some
40
Slice
41
Pvalues
42
Diminishing Returns
43
More Optimization
44
Worth it
Description:
Explore micro-optimization techniques for Go code in this conference talk from GopherCon 2018. Learn how to improve performance by writing more efficient Go, starting with a hash function implementation. Follow along as the speaker optimizes code from a direct RFC implementation to surpassing the standard library's performance. Discover the impact of API design on performance, avoid microbenchmarking pitfalls, and gain an introduction to profiling. Acquire practical tips for optimization, including algorithmic improvements, program tuning, and diving deep into performance analysis. Examine additional examples from standard libraries, particularly in cryptography, and other high-performance Go projects to further enhance your optimization skills.

Micro Optimizing Go Code

Gopher Academy
Add to list
0:00 / 0:00